3 ms·
SFTP requires the subsystem to be enabled, and can be implemented either by an external binary or an internal OpenSSH implementation (some SSH servers do not im
by chasil 5y ago
SFTP requires the subsystem to be enabled, and can be implemented either by an external binary or an internal OpenSSH implementation (some SSH servers do not implement it internally).
SCP is always external, and merely needs to be found in the path. Because it's much more simple to configure, greater ubiquity is not surprising.
- throwawayboise 5y agoscp is effectively: cat foo | ssh user@remote 'cat > foo' That is why all the escaping is necessary.