What use is an sshd that doesn't support SCP? I think to most people that is a core feature, I'd be surprised if it wasn't a requirement for git for example.
It sounds like it's small enough perhaps for a direct port to a safe language like rust, that would be interesting (to me at least).
To be fair, OpenSSH's sshd doesn't have support for scp either. scp invokes ssh to connect to the target host and launches another scp instance there to talk to. There's no reason that wouldn't work with TinySSH too.
Rsync stats a bunch of files on both sides. There are plenty of cases where reading is much more expensive than writing at the destination---imagine Glacier, maybe.
Comments
What use is an sshd that doesn't support SCP? I think to most people that is a core feature, I'd be surprised if it wasn't a requirement for git for example.
It sounds like it's small enough perhaps for a direct port to a safe language like rust, that would be interesting (to me at least).
To be fair, OpenSSH's sshd doesn't have support for scp either. scp invokes ssh to connect to the target host and launches another scp instance there to talk to. There's no reason that wouldn't work with TinySSH too.
Use this as a poor man's scp:
tar c path/to/files | ssh host tar x
Git doesn't require scp.
This should work perfectly well with rsync -e ssh. Which is what you should use anyway.
Rsync stats a bunch of files on both sides. There are plenty of cases where reading is much more expensive than writing at the destination---imagine Glacier, maybe.
Sure but I don't think you can scp to Glacier either.