| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <cygwin AT cygwin DOT com> |
| 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: | <A33B09832F4CD411974400508BCF8F2B03438591 AT uswsmx18 DOT merck DOT com> <m3k82ezymh DOT fsf AT localhost DOT localdomain> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
| In-Reply-To: | <m3k82ezymh.fsf@localhost.localdomain>; 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |