Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
The SSH job tries always to open an SFTP channel although this is not needed. If no SFTP server is reachable, then the SSH job ends with an error.
com.jcraft.jsch.JSchException: failed to send channel request at com.jcraft.jsch.Request.write(Request.java:65) at com.jcraft.jsch.RequestSftp.request(RequestSftp.java:47) at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:237) at com.jcraft.jsch.Channel.connect(Channel.java:152) at com.jcraft.jsch.Channel.connect(Channel.java:145) at com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft.createSftpClient(SOSVfsSFtpJCraft.java:995) at com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft.doAuthenticate(SOSVfsSFtpJCraft.java:806) at com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft.authenticate(SOSVfsSFtpJCraft.java:131) at sos.net.ssh.SOSSSHJobJSch.connect(SOSSSHJobJSch.java:306) at sos.net.ssh.SOSSSHJobJSch.execute(SOSSSHJobJSch.java:111)
Desired Behavior
The SSH job should not try to open an SFTP channel.