Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-558

SSH job should not try to open an SFTP channel

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.12.10
    • 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.

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              oh Oliver Haufe
              Aditi Dubey Aditi Dubey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: