You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to PowerShell/Win32-OpenSSH#62, Windows path C:\some\file.txt should be transformed to /C:/some/file.txt with the colon after the drive letter preserved.
This bug affects a host which is running OpenSSH on Windows platform with connection type set to SshConnectionType.SFTP_WINDOWS, so I suggest either
creating a new SSH connection type for Windows running OpenSSH and new SshSftpConnection subclass which would be the same as SshSftpWinSshdConnection but preserving the colon after the drive letter, or
creating a new SSH connection type for Windows running OpenSSH and patching SshSftpWinSshdConnection class to either preserve or ommit the colon based on connection type option (WinSSHD vs WinOpenSSH).
The text was updated successfully, but these errors were encountered:
xdom
changed the title
Wrong path transformation for host running WinSSHD
Wrong path transformation for host running OpenSSH on Windows
Feb 10, 2017
Please note that when using SFTP_CYGWIN file path is transformed to format /cygdrive/c/some/file.txt by SshSftpCygwinConnection class. This is undesired when OpenSSH on Windows is not running with Cygwin.
According to PowerShell/Win32-OpenSSH#62, Windows path
C:\some\file.txt
should be transformed to/C:/some/file.txt
with the colon after the drive letter preserved.This bug affects a host which is running OpenSSH on Windows platform with connection type set to
SshConnectionType.SFTP_WINDOWS
, so I suggest eitherSshSftpConnection
subclass which would be the same asSshSftpWinSshdConnection
but preserving the colon after the drive letter, orSshSftpWinSshdConnection
class to either preserve or ommit the colon based on connection type option (WinSSHD vs WinOpenSSH).The text was updated successfully, but these errors were encountered: