Re: [Ssh-sftp-perl-users] Need help using passphrase with key pairs in Net::SFTP::Foreign
Brought to you by:
dbrobins
From: Salvador F. <sfa...@ya...> - 2010-10-28 11:14:09
|
----- Original Message ---- > From: Russ Brewer <us...@gm...> > To: Salvador Fandino <sfa...@ya...> > Sent: Thu, October 28, 2010 12:24:36 AM > Subject: Re: [Ssh-sftp-perl-users] Need help using passphrase with key pairs in >Net::SFTP::Foreign > > Salva, > > The attached output was generated with command: > > truss -f -o truss.out ./test_basic_passphrase.pl Hi, That confirms my suspicion: the tectia client is not sending the passphrase prompt to /dev/tty but to stderr and the module does not see it. Working around that from inside the module is not going to be easy and I don't have the time to solve it right now or for the next days. So, we are back at logging from the outside and using the "transport" feature to pass back the initialized connection to the module... but before exploring that way I see you are in a Solaris box and the native SSH client works flawless with Net::SFTP::Foreign, do you have any reason to not use that client instead? - Salva |