From owner-freebsd-questions@FreeBSD.ORG Tue May 19 12:41:55 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 1D3F5415 for ; Tue, 19 May 2015 12:41:55 +0000 (UTC) Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E663C154E for ; Tue, 19 May 2015 12:41:54 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so31828533igb.1 for ; Tue, 19 May 2015 05:41:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=Endj4rh+C5se3DFjzHbfyGHv/yEU1EjDf1zaBGG0v04=; b=U3d2i6c+FeLtHgDAUIOL/UqWvhjcqTQy0mFVhreHJ7Vu809Yq74JxZ1XQcf63lIiko 9PlpZzivVTYHR1x7FgkNTscEbeiYceXHBkL1BCdn12L7MpGUSABW/xeItliW8QUjYn4R PFcKxKTielPhj3AnPZTW2DM91WXkzSAKHEsO7/p/+S2CSfzcxhoHld4kl1zrnnWxTqsk kqscHpRbkNyhYpccGaSj8Rx76YQdGGUDgcCFvmqYVb143WfzDT7vSRZlNZ41fkprO5ET oule4mC7XJXwM9JVxkD5Yux5ZRayThPKYSgSiMUAL5Trs1lakhBUkIeFWwkS9wIoLb57 5Wcg== X-Gm-Message-State: ALoCoQnyRN4N0hwdh/wDV8b9oqSGexJve/FVdFTiGAoojKhUzNMaJ2+ThKsLP7XDfMubn384DHG9kXR5RstZ5O0C1nzwPzBSUXJCCtaYejD0GND43Ob3ZVnxwad+Ksf7ia+KpU7S5GWx X-Received: by 10.107.10.79 with SMTP id u76mr35667340ioi.79.1432039308555; Tue, 19 May 2015 05:41:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.59.148 with HTTP; Tue, 19 May 2015 05:41:27 -0700 (PDT) From: Jaime Kikpole Date: Tue, 19 May 2015 08:41:27 -0400 Message-ID: Subject: SFTP doesn't work from a specific client To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=US-ASCII 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:41:55 -0000 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 : 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? -- Jaime Kikpole Network Administrator Cairo-Durham Central School District Technical Support: help@cairodurham.org go.cairodurham.org/techtips -- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system.