Secure Shell
Re: pubkey works for user: why not root ? Apr 19 2009 01:33PM
Joseph Spenner (joseph85750 yahoo com)

--- On Sat, 4/18/09, sean darcy <seandarcy2 (at) gmail (dot) com [email concealed]> wrote:

> I can ssh for my laptop to the server
> as a user, but using root from
> same laptop to same server fails. root can login with
> password.
> debug2: key_type_from_name: unknown key type '-----BEGIN'
> debug2: key_type_from_name: unknown key type '-----END'
> debug1: identity file /root/.ssh/id_rsa type 1
> debug2: key_type_from_name: unknown key type '-----BEGIN'
> debug2: key_type_from_name: unknown key type '-----END'

I'd guess you have private and public keys mixed up. Verify you put the PUBLIC key on your target server. The BEGIN/END tags appear in the private key.

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus