Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Feb 2002 20:23:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Feb 2002 20:22:42 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:7952 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Sat, 9 Feb 2002 20:22:38 -0500 Message-ID: <3C65CB5B.126C3AD5@mandrakesoft.com> Date: Sat, 09 Feb 2002 20:22:35 -0500 From: Jeff Garzik Organization: MandrakeSoft X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-pre8 i686) X-Accept-Language: en MIME-Version: 1.0 To: David Lang CC: Herbert Xu , Larry McVoy , linux-kernel@vger.kernel.org Subject: Re: ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbuscompile in -pre4)) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org David Lang wrote: > how does this work when running something from cron? (I think that's the > type of thing Larry is trying to do) A simple mutation of this: > > For those with multiple peer shells and no X-parented ssh-agent, you > > will need to run ssh-agent ONCE, like so: > > > > ssh-agent > ~/tmp/ssh-agent.out > > > > and then for each shell, you need to run: > > > > eval `cat ~/tmp/ssh-agent.out` Run ssh-agent and ssh-add once per reboot, such as from /usr/local/bin/login-bkpull. >From the cron script, run the eval line shown. No passwords are prompted for. Jeff -- Jeff Garzik | "I went through my candy like hot oatmeal Building 1024 | through an internally-buttered weasel." MandrakeSoft | - goats.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/