From owner-freebsd-questions@FreeBSD.ORG Tue May 19 20:01:48 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 20F14438 for ; Tue, 19 May 2015 20:01:48 +0000 (UTC) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6A601DF5 for ; Tue, 19 May 2015 20:01:47 +0000 (UTC) Received: from [24.134.157.7] (helo=workstation) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1YunMW-0007Xk-D4; Tue, 19 May 2015 21:39:36 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "freebsd-questions@freebsd.org" , "Jaime Kikpole" Subject: Re: SFTP doesn't work from a specific client References: Date: Tue, 19 May 2015 21:39:39 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.5/20486/Tue May 19 18:38:33 2015) 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 20:01:48 -0000 Am .05.2015, 14:41 Uhr, schrieb Jaime Kikpole : > 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: > > 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] > > 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. > > 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. > > 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. > > Any thoughts on how to diagnose this? > > Turn up logging verbosity in /etc/ssh/sshd_config LogLevel Gives the verbosity level that is used when logging messages from sshd(8). The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. The default is INFO. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. Logging with a DEBUG level violates the privacy of users and is not recommended. Regards, Michael -- Erstellt mit Operas E-Mail-Modul: http://www.opera.com/mail/