Forum Discussion
Hamish
Mar 31, 2011Cirrocumulus
Ahh... Offloaded scp?
Hmm... I've never done any offloaded scp before. You'd have to interpret the scp protocol yourself, then re-encrypt... I don't think it'll be easy. But a worthy challenge none the less.
sftp is just ssh as well.. You'll probably have the same problems.
because they're both port 22, you'd also need to detect NON scp/sftp and disable processing (Otherwise you're just slowing up ssh interactive access for no good reason).
ftps probably has more possibilities. It's just ftp over SSL/TLS. So you can decrypt, and the ftp protocol is well understood. However you do then have to contend with data connections as well as the command connection, so it may actually become more complex than the single stream scp option.
H