From owner-freebsd-questions@FreeBSD.ORG Tue May 19 12:58:47 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B218790 for ; Tue, 19 May 2015 12:58:47 +0000 (UTC) Received: from alisocreek.buildingonline.net (alisocreek.buildingonline.net [204.109.62.198]) by mx1.freebsd.org (Postfix) with ESMTP id C8D8F16E4 for ; Tue, 19 May 2015 12:58:45 +0000 (UTC) Received: by alisocreek.buildingonline.net (Postfix, from userid 58) id E0D0BBC9F28; Tue, 19 May 2015 05:53:10 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alisocreek.buildingonline.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from [192.168.1.249] (busarow2 [69.51.79.5]) (Authenticated sender: dan@dpcsys.com) by alisocreek.buildingonline.net (Postfix) with ESMTPA id 47BA7BC9950; Tue, 19 May 2015 05:53:03 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: SFTP doesn't work from a specific client From: Dan Busarow In-Reply-To: Date: Tue, 19 May 2015 06:53:02 -0600 Cc: "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6C5D9AED-5CEB-45D8-B4EA-3398E3840A59@fishcreekventures.com> References: To: Jaime Kikpole X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 12:58:47 -0000 > On May 19, 2015, at 6:41 AM, Jaime Kikpole = wrote: >=20 > I have a system that pushes out data files via SFTP to a FreeBSD > system each night. I'm in the process of replacing that FreeBSD > system (its really old & still runs 8.x.) My issue is that the data > source can't connect via SFTP, but other systems can. When it tries, > this appears in /var/log/auth.log: >=20 > May 19 08:24:56 its1 sshd[38792]: error: PAM: authentication error for > from > May 19 08:24:56 its1 sshd[38792]: error: Received disconnect from ADDRESS>: 3: com.jcraft.jsch.JSchException: Auth cancel [preauth] >=20 > When I test it from the system that pushes out the data, it prompts me > to accept an SSH key and then tells me that it failed to connect. > Unfortunately, its a GUI and has basically no diagnostic data to work > from. >=20 > I get the same results when I try to make the data source do SFTP > conenctions to other systems, including some that are 10.1-RELEASE-p9 > and some that are 10.1-RELEASE-p10. The weird thing is that I can use > command line SFTP from any other location (including other FreeBSD > systems and even a MacOS 10.9 system at home) to connect to these > FreeBSD systems and everything works. I can connect, authenticate, > and even ls and cd around the file system. >=20 > This feels like the data sending software is expecting something that > isn't setup on the FreeBSD 10.1 systems, but is setup on the FreeBSD > 8.x system. I just don't know what. >=20 > Any thoughts on how to diagnose this? >=20 No ideas for diagnosis. But my guess would be that your failing system is using SSH protocol 1 = and your 10.1 system does not have protocol 1 enabled. sshd_config # The default requires explicit activation of protocol 1 #Protocol 2 Dan >=20 > --=20 > Jaime Kikpole > Network Administrator > Cairo-Durham Central School District >=20 > Technical Support: > help@cairodurham.org > go.cairodurham.org/techtips >=20 > --=20 > This electronic message and any attachment(s) may contain confidential = or=20 > legally privileged information protected by law from further = disclosure and=20 > is intended only for the individual or entity identified above as the=20= > addressee. If you are not the addressee (or the employee or agency=20 > responsible to deliver it to the addressee), or if this message has = been=20 > addressed to you in error, you are hereby notified that you may not = copy,=20 > forward, disclose or use any part of this message or any = attachment(s).=20 > Please notify the sender immediately by return email or telephone and=20= > permanently delete this message and attachment(s) from your system. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"