ssh passwordless login

Daniel Carrillo daniel.carrillo at gmail.com
Tue Dec 15 18:11:55 UTC 2009


2009/12/15 Cameron Simpson <cs at zip.com.au>

> On 15Dec2009 09:22, Charan <charan314 at gmail.com> wrote:
> | I did the ssh -vvv
> | Please see the attachment.
> [...]
> | ssh -vvv svc-oracle at bisquioant1289
> | OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
> | debug1: Reading configuration data /etc/ssh/ssh_config
> | debug1: Applying options for *
> | debug2: ssh_connect: needpriv 0
> | debug1: Connecting to bisquioant1289 [bisquioant1289] port 22.
> | debug1: Connection established.
> | debug3: Not a RSA1 key file /export/home/charan/.ssh/identity.
> | debug2: key_type_from_name: unknown key type '-----BEGIN'
> | debug3: key_read: missing keytype
> | debug3: key_read: missing whitespace
> [...]
>
> Your private key is not in ssh's expected format. What did you use to
> generate it?
>
> I also suspect you might have stored a public key in the private key
> file:-( Have a look at the /export/home/charan/.ssh/identity file;
> does the "-----BEGIN" line describe the content?
>

In order to avoid errors, you can upload the public key to the remote server
using ssh-copy-id command.

To upload "at hand": http://sial.org/howto/openssh/publickey-auth/

Kind Regards.



More information about the redhat-list mailing list