X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "H.S." Subject: how to make ssh-agent automatically Date: Wed, 30 Nov 2005 17:56:21 -0500 Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I yesterday installed a bare minimum Cygwin (via internet) on to a laptop running Windows XP. The purpose of the Cygwin installation is to backup data on to a Linux computer using rsync and ssh. I was wondering, to allow for passwordless login via ssh I have to run ssh-agent and ssh-add commands. I have put ssh-agent in .bashrc in Cygwin user's home and "kill $SSH_AGENT_PID" in .bash_logout. But how do I deal with ssh-add? In other words, what do I need to do so that a user doesn't need to do ssh-add each time he logins into his account in Windows XP (ssh-agent and ssh-add run automatically)? There is no X server installed, no Gnome, no KDM, no fvwm. All help is appreciated. thanks, ->HS -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/