-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
so scp with windows for server and client works, but there are some specific interesting things that may need changes to be 'seamless'.
- i get
protocol error: expected control recordon download, this sounds like it is server side somewhere- for my simple test cases so far, the download still succeeds.
- upload didn't show this error and it uploaded fine. i had a slight delay in seeing the upload appear in the mounted folder but that might have been a graphical ui bug on my machine
- for any conn to work, i need to specify
-Oon the client (subsystem request failed on channel 0,scp: connection closed PowerShell/Win32-OpenSSH#1945 (comment)) which is (https://man7.org/linux/man-pages/man1/scp.1.html)
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.
- edit: found Scp example requires -O flag with openssh 9.0 #40 linking
- it sounds like legacy -O mode isn't a preferred default (https://bugreports.qt.io/browse/QTQAINFRA-4974?focusedCommentId=660149&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel) but may need server side changes to allow the new protocol? (https://documentation.help/PuTTY/faq-pscp-protocol.html)
- it may help to allow subsytem powershell for scp on the server config? (subsystem request failed on channel 0 PowerShell/Win32-OpenSSH#1269)
- is the scp middleware for all scp clients, or for scp protocol? should i be asking about an sftp middleware instead? or should this scp middleware be able to handle that?
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
Metadata
Metadata
Assignees
Labels
No labels