in reply to Net::SSH::Perl (RSA)
That sort of rings a bell. I know the tutorials I've seen for using keys auth, say to use a null password. The error you see above seems to indicate that it won't query for a password, then it fails. Did you create your keys with a null password?host: Trying pubkey authentication with key file '/home/me/.ssh/id_rsa +.pub' host: Will not query passphrase for '/home/me/.ssh/id_rsa.pub' in batc +h mode. Loading private key failed.
ssh-keygen -b 1024 -f identity -P '' -t dsa This ssh-keygen command creates a 1,024-bit (-b 1024) key pair called identity (-f identity) using the DSA algorithm (-t dsa). The private key is created with a null-passphrase (-P ''), which is important for automating the login process.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH::Perl (RSA)
by GaijinPunch (Pilgrim) on Mar 03, 2007 at 00:19 UTC |