News for hackers. Stuff that matters.
Re:OpenSSH 9.0 by perbu on Friday April 08, 2022 @05:54AM (#30955157)
I'm pretty sure scp isn't a protocol. It is just a tool that relies on doing a request for execution over the regular ssh2 protocol.

I've written a few custom ssh servers and you don't really need to do anything to them to support scp.

sftp uses the sftp subsystem. scp just uses regular ssh requests and transports data over the ssh channels.

Re:OpenSSH 9.0 by yakubin on Friday April 08, 2022 @06:15AM (#30955259)
See <https://en.wikipedia.org/wiki/Secure_copy_protocol>

SFTP also transports data over SSH channels.

Re:OpenSSH 9.0 by perbu on Friday April 08, 2022 @09:14AM (#30956411)
I guess you can call it a (application) protocol. However, when implementing this I've not needed to anything to make scp works as opposed to anything else. Just supporting ssh executions requests and connecting the channels as you do with any remote invocation.