[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Mon, 18 Oct 2004 23:56:20 -0400, "H. S." wrote:

> 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
---
I get at this line:
debug1: Next authentication method: publickey, password
---
> 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
---
Here I get 
debug1: Next auth method to try is password
user@server's password:
---
> debug1: No more authentication methods to try.
> Permission denied (publickey).
> 
> 
> What am I missing here? What should I look for?
> Thanks,
> ->HS
> 
I think is something in you configuration, but not sure
I will research if I get something, I'll let you know.!!

Regards.

--
Sergio Basurto J.

If I have seen further it is by standing on the 
shoulders of giants. (Isaac Newton)
--
--



Reply to: