Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 00:30:05 -0500
From:      Ivan Georgiev <georgiev@vt.edu>
To:        freebsd-questions@freebsd.org
Subject:   CANNOT SSH to my computer
Message-ID:  <200411180030.05840.georgiev@vt.edu>
In-Reply-To: <200411172035.59370.dsyphers@u.washington.edu>
References:  <200411172035.59370.dsyphers@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I am running RELEASE-5-3 and tried to ssh to my machine (sshd is running). It 
asks me 3 times for my password and then quits. The output is shown below. 
However, if I try "ssh localhost" instead of the ip address (I am using a DSL 
connection) everyting is OK.


bash-2.05b$ ssh -v xxx.xxx.xxx.xxx
OpenSSH_3.8.1p1 FreeBSD-20040419, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /xxxx/.ssh/identity type -1
debug1: identity file /xxxx/.ssh/id_rsa type -1
debug1: identity file /xxxx/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 
FreeBSD-20040419
debug1: match: OpenSSH_3.8.1p1 FreeBSD-20040419 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419
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 'xxx.xxx.xxx.xxx' is known and matches the DSA host key.
debug1: Found key in /xxxx/.ssh/known_hosts:3
debug1: ssh_dss_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,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /xxxx/.ssh/identity
debug1: Trying private key: /xxxx/.ssh/id_rsa
debug1: Offering public key: /xxxx/.ssh/id_dsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentications that can continue: publickey,keyboard-interactive
Password:
debug1: Authentications that can continue: publickey,keyboard-interactive
Password:
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,keyboard-interactive).

The message from sshd is:

sshd[41578]: error: PAM: authentication error for XXXX from YYY.verizon.net



Thanks for any help,
Ivan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411180030.05840.georgiev>