From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 05:30:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 159DB16A4CE for ; Thu, 18 Nov 2004 05:30:08 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C51543D4C for ; Thu, 18 Nov 2004 05:30:07 +0000 (GMT) (envelope-from georgiev@vt.edu) Received: from bburg.bg ([151.199.126.93]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041118053006.CQUI16742.out012.verizon.net@bburg.bg> for ; Wed, 17 Nov 2004 23:30:06 -0600 From: Ivan Georgiev To: freebsd-questions@freebsd.org User-Agent: KMail/1.7.1 References: <200411172035.59370.dsyphers@u.washington.edu> In-Reply-To: <200411172035.59370.dsyphers@u.washington.edu> MIME-Version: 1.0 Content-Disposition: inline Date: Thu, 18 Nov 2004 00:30:05 -0500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411180030.05840.georgiev@vt.edu> X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [151.199.126.93] at Wed, 17 Nov 2004 23:30:06 -0600 Subject: CANNOT SSH to my computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 05:30:08 -0000 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