Error while SSH(ing)
Werner Schram
wrschram at gmail.com
Sat Jan 16 17:13:30 UTC 2010
On 01/14/2010 06:11 PM, Anthony Gardner wrote:
> I'm not sure what you're suggesting that but it didn't work. Could you
> explain?
>
> Anyway, I've enclosed the verbose output if anyone is interested.
>
> $ ssh -vvv -p 22000 remote_user at SomeIpAddress
>
<snip>
> debug1: Authentications that can continue: publickey
> debug3: start over, passed a different list publickey
> debug3: preferred
> gssapi-keyex,gssapi-with-mic,gssapi,publickey,keyboard-interactive,password
> debug3: authmethod_lookup publickey
> debug3: remaining preferred: keyboard-interactive,password
> debug3: authmethod_is_enabled publickey
> debug1: Next authentication method: publickey
> debug1: Offering public key: /home/ants/.ssh/id_rsa
> debug3: send_pubkey_test
> debug2: we sent a publickey packet, wait for reply
> debug1: Authentications that can continue: publickey
> debug1: Trying private key: /home/ants/.ssh/identity
> debug3: no such identity: /home/ants/.ssh/identity
> debug1: Trying private key: /home/ants/.ssh/id_dsa
> debug3: no such identity: /home/ants/.ssh/id_dsa
> debug2: we did not send a packet, disable method
> debug1: No more authentication methods to try.
> Permission denied (publickey).
>
The host you are trying to reach, has password authentication disabled,
and your public key (/home/ants/.ssh/id_rsa.pub) is not known by the
destination host. So you should be able to solve your problem by
enabling password authentication on the destination host, or paste your
public key to the end of the /home/ants/authorized_keys file (on the
destination host).
Werner
More information about the ubuntu-users
mailing list