Not able to connect to SFTP using jcraft JSch
I am trying to connect to SFTP location via ssh jump-host proxy using jcraft version 0.1.52. But getting "connection is closed by foreign host" exception in my code. I have spent a good enough time looking at documentation but not able to figure out what the problem is 2016-11-18 14:53:14,091 44977 [main] ERROR c.w.v.r.ftp.JschSftpConnect - - com.jcraft.jsch.JSchException: connection is closed by foreign host at com.jcraft.jsch.Session.connect(Session.java:269) at com.jcraft.jsch.Session.connect(Session.java:183) at com.x.y.ftp.JschSftpConnect.connect(JschSftpConnect.java:77) at sun.reflect.Na
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.