Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 14 Jun 2001 21:19:04 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Calling SSH from Expect - URGENT Message-ID: <20010614211904.D1144@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from flognat@flognat.myip.org on Thu, Jun 14, 2001 at 08:48:22PM +0200 On Thu, Jun 14, 2001 at 08:48:22PM +0200, Andrew Markebo wrote: > Could it be that ssh doesn't use stdin or something for reading the > password.. Yeah, it explicitely opens /dev/tty and switches to echo off. BTW, I don't understand why you need expect for entering the passphrase. That's exactly the purpose of ssh-agent, ssh-add: $ ssh-agent bash bash-2.05$ ssh-add Enter passphrase ... bash-2.05$ ssh -l username -p 1010 hostname "ls -l" <...do whatever you want to do with ssh without the need to enter the passphrase again...> bash-2.05$ exit Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple