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
Make sure you are able to repro it on the latest version
Search the existing issues.
Steps to reproduce
With the current version of OpenSSH 9.5p1, I am unable to use SCP to or from a UNC path on a remote Windows machine. I was able to recreate this completely using a single computer (named dev01 in the expected behavior and actual behavior) using a shared folder on the local machine.
Create a test folder (C:\Test) with a subfolder (scp_test). Inside the subfolder, create one or more files.
In PS, run scp -r C:\Test\scp_test1 ${env:COMPUTERNAME}:\\${env:COMPUTERNAME}\Test\scp_test2
More information:
Using OpenSSH 8.9 works and 9.1 does not, so I assume this is because of the implementation change from SCP to SFTP.
Adding -O to force legacy SCP causes this command in OpenSSH 9.1 and OpenSSH 9.5 to function as expected. I assume this is not ideal and that using the SFTP implementation would be preferred.
I have tested on multiple systems with varying degrees of security implementation, and the failure mode is uniform.
Prerequisites
Steps to reproduce
With the current version of OpenSSH 9.5p1, I am unable to use SCP to or from a UNC path on a remote Windows machine. I was able to recreate this completely using a single computer (named dev01 in the expected behavior and actual behavior) using a shared folder on the local machine.
C:\Test
) with a subfolder (scp_test
). Inside the subfolder, create one or more files.scp -r C:\Test\scp_test1 ${env:COMPUTERNAME}:\\${env:COMPUTERNAME}\Test\scp_test2
More information:
-O
to force legacy SCP causes this command in OpenSSH 9.1 and OpenSSH 9.5 to function as expected. I assume this is not ideal and that using the SFTP implementation would be preferred.Expected behavior
Actual behavior
Error details
No response
Environment data
Version
9.5p1
Visuals
No response
The text was updated successfully, but these errors were encountered: