Page 1 of 1

Unable to connect with Java/JRuby client

Posted: Mon Aug 21, 2017 7:55 pm
by dhunsing
I have a ruby app built in to a Java jar file. When the app connects via sftp the connection is immediately terminated by the server (CoreFTP server 589.38, but same happens with older versions, running on Windows Server 2008 R2).

Using any other sftp server on the Windows box works (e.g. cerberus).

Connecting via command line (ubuntu) to coreftp from the machine running the jar file works.

Client SSH: SSH-2.0-Ruby/Net::SSH_4.1.0

I can send along a wireshark packet capture if necessary.

Posted: Tue Aug 22, 2017 11:34 pm
by cp
if you have a client side log available (similar to sftp -v in Ubuntu), provide that log.

Chances are it is key authentication being sent by your program when it doesn't need to, or it could be unsupported ciphers.