Re: [Ssh-sftp-perl-users] Help using Net::SSH::Perl with automatic authentication
Brought to you by:
dbrobins
From: Eduardo R. A. <er...@gm...> - 2011-12-12 16:41:20
|
Well, actually I want no user interaction at all so disabling batch mode will prompt me for a passphrase, fail and then prompt me for a password. I want a completely automated authentication like when I do ssh from an xterm, since all machines have the keys I'm not getting prompted for a passphrase and/or password but when using Net::SSH::Perl I'm only able to login with a password. Thanks, Eduardo 2011/12/12 Salvador Fandino <sfa...@ya...> > > > ------------------------------ > *From:* Eduardo Ramírez Acosta <er...@gm...> > *To:* Steve Phillips <st...@fo...> > *Cc:* ssh...@li... > *Sent:* Monday, December 12, 2011 5:20 PM > *Subject:* Re: [Ssh-sftp-perl-users] Help using Net::SSH::Perl with > automatic authentication > > ... > > machine: Trying pubkey authentication with key file > '(home)/.ssh2/id_rsa_2048_a' > machine: Will not query passphrase for '(home)/.ssh2/id_rsa_2048_a' in > batch mode. > > > > Disable batch mode calling the constructor with... > > interactive => 1 > > > -- ɐʇsoɔɐ zǝɹıɯɐɹ opɹɐnpǝ "Mas tú, Jehová, eres escudo alrededor de mí; Mi gloria, y el que levanta mi cabeza." Salmo 3:3 |