Brian J. Murrell
2022-Jun-21 13:37 UTC
effect scp -O (use legacy SCP procotol) per host in .ssh/config?
I have some hosts that don't have SFTP in their SSH. While I can use 'scp -O' to not use the SFTP subsystem when copying to those hosts, I typically forget that they need that -O. Is there a .ssh/config option I can set to force scp with that host to use the legacy protocol? Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20220621/74b8134d/attachment.asc>
Christian Weisgerber
2022-Jun-21 20:17 UTC
effect scp -O (use legacy SCP procotol) per host in .ssh/config?
"Brian J. Murrell":> Is there a .ssh/config option I can set to force scp with that host to > use the legacy protocol?No, because scp doesn't read ~/.ssh/config. scp spawns ssh, which does, but that only affects ssh's operation. -- Christian "naddy" Weisgerber naddy at mips.inka.de