Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 06:53:02 -0600
From:      Dan Busarow <>
To:        Jaime Kikpole <>
Cc:        "" <>
Subject:   Re: SFTP doesn't work from a specific client
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> On May 19, 2015, at 6:41 AM, 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
> May 19 08:24:56 its1 sshd[38792]: error: Received disconnect from <IP
> 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?

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.


# The default requires explicit activation of protocol 1
#Protocol 2


> --=20
> Jaime Kikpole
> Network Administrator
> Cairo-Durham Central School District
> Technical Support:
> --=20
> This electronic message and any attachment(s) may contain confidential =
> 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 =
> addressed to you in error, you are hereby notified that you may not =
> forward, disclose or use any part of this message or any =
> Please notify the sender immediately by return email or telephone and=20=

> permanently delete this message and attachment(s) from your system.
> _______________________________________________
> mailing list
> To unsubscribe, send any mail to =

Want to link to this message? Use this URL: <>