Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54394

Publish Over SSH plugin jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to change to remote directory [D:]] Error

      Firstly I have used Bitvise ssh server and with configuration in screenshot . I could connect very well. But I changed my ssh server to OpenSSH and started to get this error.

      When I connect with putty I can read-write all directories . I think there is no issue about user permission. When I leave blank remote directory my built artifact go to /user/myuser . 

      But if I specify a remote directory , I got error about "Failed to change to remote directory"

       

      I already tried

      • D:
      • D:\
      • D:/

      in remote directory
       

          [JENKINS-54394] Publish Over SSH plugin jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to change to remote directory [D:]] Error

          Erhan Karabulut created issue -
          Erhan Karabulut made changes -
          Attachment New: screenshot-1.png [ 45028 ]
          Erhan Karabulut made changes -
          Description New: Firstly I have used Bitvise ssh server and with configuration in screenshot . I could connect very well. But I changed my ssh server to OpenSSH and started to get this error.

          When I connect with putty I can read-write all directories . I think there is no issue about user permission. When I leave blank remote directory my built artifact go to /user/myuser . 

          But if I specify a remote directory , I got error about 
          Erhan Karabulut made changes -
          Description Original: Firstly I have used Bitvise ssh server and with configuration in screenshot . I could connect very well. But I changed my ssh server to OpenSSH and started to get this error.

          When I connect with putty I can read-write all directories . I think there is no issue about user permission. When I leave blank remote directory my built artifact go to /user/myuser . 

          But if I specify a remote directory , I got error about 
          New: Firstly I have used Bitvise ssh server and with configuration in screenshot . I could connect very well. But I changed my ssh server to OpenSSH and started to get this error.

          When I connect with putty I can read-write all directories . I think there is no issue about user permission. When I leave blank remote directory my built artifact go to /user/myuser . 

          But if I specify a remote directory , I got error about "Failed to change to remote directory"
           
          Erhan Karabulut made changes -
          Description Original: Firstly I have used Bitvise ssh server and with configuration in screenshot . I could connect very well. But I changed my ssh server to OpenSSH and started to get this error.

          When I connect with putty I can read-write all directories . I think there is no issue about user permission. When I leave blank remote directory my built artifact go to /user/myuser . 

          But if I specify a remote directory , I got error about "Failed to change to remote directory"
           
          New: Firstly I have used Bitvise ssh server and with configuration in screenshot . I could connect very well. But I changed my ssh server to OpenSSH and started to get this error.

          When I connect with putty I can read-write all directories . I think there is no issue about user permission. When I leave blank remote directory my built artifact go to /user/myuser . 

          But if I specify a remote directory , I got error about "Failed to change to remote directory"

           

          I already tried
           * D:
           * D:\
           * D:/

          in remote directory
            

          Alex Earl added a comment -

          Is OpenSSH running as a native windows application, or through something like Cygwin?

          Alex Earl added a comment - Is OpenSSH running as a native windows application, or through something like Cygwin?

          like windows service

          Erhan Karabulut added a comment - like windows service

          Alex Earl added a comment -

          Is this the OpenSSH that you can enable in Windows 10? I am just trying to determine how I can test this.

          Alex Earl added a comment - Is this the OpenSSH that you can enable in Windows 10? I am just trying to determine how I can test this.

          I am using openssh on windows server 2012 , I download x64 version openssh and install my machine 

          Erhan Karabulut added a comment - I am using openssh on windows server 2012 , I download x64 version openssh and install my machine 

          Alex Earl added a comment -

          Where did you download it from?

          Alex Earl added a comment - Where did you download it from?

            slide_o_mix Alex Earl
            erhankarabulut Erhan Karabulut
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: