From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 17:41:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C21D41065672 for ; Tue, 23 Sep 2008 17:41:09 +0000 (UTC) (envelope-from olaf_courtney@yahoo.com) Received: from web38801.mail.mud.yahoo.com (web38801.mail.mud.yahoo.com [209.191.125.92]) by mx1.freebsd.org (Postfix) with SMTP id 8CA5A8FC1C for ; Tue, 23 Sep 2008 17:41:09 +0000 (UTC) (envelope-from olaf_courtney@yahoo.com) Received: (qmail 27978 invoked by uid 60001); 23 Sep 2008 17:14:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Ryh9QNxChRNt8t5MVxfXazGkY2w2quwruHxiWJXohvKYyifyxcoIb/Pg9Hku5jvLmrU3sk1jCAsas8QA4nyxAw49E4/fVaKe6tD9Hbdi/AOyMckQzncKl+9VH6IW1+PBhHt6d1UrGqrSd21ntT6RGGwcZjk8GBIBX6spzH8digs=; X-YMail-OSG: Pmm52CsVM1mXYkUDravvrumsBtIWUHvVtMzp9xo7oaRZ0LCSs2ZNnG_xTa2BOpqit7yxLOAJL_YcDTTw8z.x54LvEEJNd1JpSllZYf8uRwgKaMx6CZx6r6YOJvtUWPVY.kn3glomXlqL_q4NQhAwdtBF7.MAFDzk_5W3ohdLiSDu2oeVNow- Received: from [208.25.216.194] by web38801.mail.mud.yahoo.com via HTTP; Tue, 23 Sep 2008 10:14:27 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Tue, 23 Sep 2008 10:14:27 -0700 (PDT) From: Olaf Courtney To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <11168.26599.qm@web38801.mail.mud.yahoo.com> X-Mailman-Approved-At: Tue, 23 Sep 2008 18:52:32 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Upgrade to rel 7.0 broke SSH 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: Tue, 23 Sep 2008 17:41:09 -0000 Hello and greetings from Newbyville, I recently upgraded from FreeBSD 6.3-RELEASE to 7.0-RELEASE-p4, and now SSH is broken. Other important services (chiefly SAMBA) are working properly. From the FreeBSD server I can successfull SSH and SFTP to the localhost (127.0.0.1). I can also SSH and SFTP to other locations on the network. However, I cannot SSH and SFTP into the FreeBSD server from the remote locations. Attempting to connect from a remote host returns "Connection closed by ". The bottom portion of the debug output is shown below. SSH_CONFIG and SSHD_CONFIG files show that everything is set to defaults. Also, there is nothing that pertains to OPENSSH in /etc/src.conf and /etc/make.conf. I saw one post that recommended going into the Kernel options. On this system, there are no options in /boot/loader.conf and /etc/sysctl.conf. I wouldn't know what to do with them anyways. The misc/compat6x libraries are installed as a bandaid. Here is the tail end of the output from ssh -vvv : ... debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-md5 debug1: kex: server->client aes128-cbc hmac-md5 none debug2: mac_setup: found hmac-md5 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 debug2: dh_gen_key: priv key bits set: 131/256 debug2: bits set: 496/1024 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug3: check_host_in_hostfile: filename /home/opc/.ssh/known_hosts debug3: key_read: type mismatch debug3: check_host_in_hostfile: match line 3 debug3: check_host_in_hostfile: filename /home/opc/.ssh/known_hosts debug3: key_read: type mismatch debug3: check_host_in_hostfile: match line 4 debug1: Host 'tdsamba' is known and matches the DSA host key. debug1: Found key in /home/opc/.ssh/known_hosts:3 debug2: bits set: 497/1024 debug1: ssh_dss_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/opc/.ssh/identity ((nil)) debug2: key: /home/opc/.ssh/id_rsa (0xb7fda658) debug2: key: /home/opc/.ssh/id_dsa (0xb8036ed0) Connection closed by 172.27.124.217 Any ideas? Thanks, opc