SSH won't let me connet says "Permission denied (publickey)."

From: H. S. (greatexcalibur_at_yahoo.com)
Date: 10/19/04

  • Next message: Jules Dubois: "Re: mozilla-firefox error"
    To: debian-user@lists.debian.org
    Date: Mon, 18 Oct 2004 23:56:20 -0400
    
    

    I recently installed Unstable on a laptop. It is a DHCP client (being
    given a fixed IP address (192.168.0.15). I am running Testing on the
    router (and a dhcp server) which uses ADSL modem to connect to the internet.

    On my internal LAN, I am able to connect from the laptop to the router
    using SSH as a normal user. But I am not able to connect to the laptop
    from the router. SSH works properly on all other computers (I am able to
    connect to another one running Unstable). Here is what I get if I try
    connecting to the laptop(which is updated):
    $> ssh ice -v
    OpenSSH_3.8.1p1 Debian 1:3.8.1p1-8.sarge.1, OpenSSL 0.9.7d 17 Mar 2004
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Connecting to ice [192.168.0.15] port 22.
    debug1: Connection established.
    debug1: identity file /home/myusername/.ssh/identity type -1
    debug1: identity file /home/myusername/.ssh/id_rsa type -1
    debug1: identity file /home/myusername/.ssh/id_dsa type -1
    debug1: Remote protocol version 2.0, remote software version
    OpenSSH_3.8.1p1 Debian 1:3.8.1p1-8.sarge.1
    debug1: match: OpenSSH_3.8.1p1 Debian 1:3.8.1p1-8.sarge.1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian
    1:3.8.1p1-8.sarge.1
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-cbc hmac-md5 none
    debug1: kex: client->server aes128-cbc hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host 'ice' is known and matches the RSA host key.
    debug1: Found key in /home/myusername/.ssh/known_hosts:1
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey
    debug1: Next authentication method: publickey
    debug1: Trying private key: /home/myusername/.ssh/identity
    debug1: Trying private key: /home/myusername/.ssh/id_rsa
    debug1: Trying private key: /home/myusername/.ssh/id_dsa
    debug1: No more authentication methods to try.
    Permission denied (publickey).

    What am I missing here? What should I look for?
    Thanks,
    ->HS

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Jules Dubois: "Re: mozilla-firefox error"

    Relevant Pages

    • Re: SSH through wireless router
      ... >> debug1: Server will not fork when running in debugging mode. ... I list simply the laptop that I would like to use as ... listed the router instead of langhans? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • SSH wont let me connet says "Permission denied (publickey)."
      ... I recently installed Unstable on a laptop. ... I am running Testing on the ... router which uses ADSL modem to connect to the internet. ... debug1: Connecting to ice port 22. ...
      (alt.os.linux)
    • Re: SSH wont let me connet says "Permission denied (publickey)."
      ... > router which uses ADSL modem to ... > debug1: Connection established. ... debug1: Next authentication method: publickey, ... > debug1: Trying private key: ...
      (Debian-User)
    • Re: SSH wont let me connet says "Permission denied (publickey)."
      ... SSH works properly on all other computers (I am able to ... > connecting to the laptop: ... Could you run the sshd with the -d option on your router? ... > debug1: No more authentication methods to try. ...
      (Debian-User)
    • Re: SSH through wireless router
      ... debug1: inetd sockets after dupping: 3, ... Yes, if I got those files wrong, I'd be in serious trouble. ... I list simply the laptop that I would like to use as ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)