From owner-freebsd-questions@FreeBSD.ORG Wed Sep 27 12:39:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CA4CC16A416 for ; Wed, 27 Sep 2006 12:39:23 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4892543D5C for ; Wed, 27 Sep 2006 12:39:22 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail3.panix.com (Postfix) with ESMTP id 38BF713A847 for ; Wed, 27 Sep 2006 08:39:22 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id 74E26CFC501 for ; Wed, 27 Sep 2006 08:39:22 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GSYh7-0001oy-00 for ; Wed, 27 Sep 2006 08:39:21 -0400 Date: Wed, 27 Sep 2006 08:39:21 -0400 From: stan To: Free BSD Questions list Message-ID: <20060927123921.GA6760@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 08:32:28 up 163 days, 9:35, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Replace worksation, now can't ssh to older machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 12:39:24 -0000 My trusty lon suffering FreeBSD workstation at work died (hardware), and I am in the process of replacig it. The current iss I have is that I have several older HP-UX achines that I need to be able to ssh to. I can't remeber exactly how I set these machines up (it was years agao), but they seem to have some restrictions as to what machines can ssh to them. I can't sem to get the new FreeBSD machine to be accepted by them. The are running: OpenSSH_2.5.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f I added the id_rsa.pub and identity.pub lines to the ~/.ssh/authorized_keys file on one of the HP-UX machines, but when Itry to conect with verbose mode urned on, I get: ssh -v phse6 OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to phse6.meadwestvaco.com [170.85.106.131] port 22. debug1: Connection established. debug1: identity file /home/stan/.ssh/identity type 0 debug1: identity file /home/stan/.ssh/id_rsa type 1 debug1: identity file /home/stan/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_2.5.1p1 debug1: match: OpenSSH_2.5.1p1 pat OpenSSH_2.5.0p1*,OpenSSH_2.5.1p1* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client 3des-cbc hmac-md5 none debug1: kex: client->server 3des-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD(2048) 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 'phse6.meadwestvaco.com' is known and matches the DSA host key. debug1: Found key in /home/stan/.ssh/known_hosts:195 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: Offering public key: /home/stan/.ssh/id_rsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Trying private key: /home/stan/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,keyboard-interactive debug1: No more authentication methods to try. Permission denied (publickey,keyboard-interactive). Any sugestionsas to what to check next? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)