Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scp windows #207

Open
dezren39 opened this issue Jan 2, 2024 · 1 comment
Open

scp windows #207

dezren39 opened this issue Jan 2, 2024 · 1 comment

Comments

@dezren39
Copy link
Contributor

dezren39 commented Jan 2, 2024

so scp with windows for server and client works, but there are some specific interesting things that may need changes to be 'seamless'.

Use the legacy SCP protocol for file transfers instead of
the SFTP protocol.  Forcing the use of the SCP protocol
may be necessary for servers that do not implement SFTP,
for backwards-compatibility for particular filename
wildcard patterns and for expanding paths with a ‘~’
prefix for older SFTP servers.

system info

 scoop which scp 
C:\WINDOWS\System32\OpenSSH\scp.exe
 scoop which ssh 
C:\WINDOWS\System32\OpenSSH\ssh.exe
 ssh -V
OpenSSH_for_Windows_9.2p1, LibreSSL 3.6.2
 ((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
9.2.3.1
 ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
Windows 10 Pro
@caarlos0
Copy link
Member

SFTP was added to the SCP example, and it seems to work fine on my windows vm... could you try again?

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants