Hacker News new | ask | show | jobs
by djmdjm 2635 days ago
Unfortunately, you can't alias scp=sftp as the commandline syntax is different. I'd love someone to write a scp replacement that attempted the sftp protocol first and optionally fell back to scp if that didn't work.
2 comments

This. I've been using rsync for a long time just for the resume feature even without knowing about some of the other benefits. I tend to use the flags "-avzpP"
Not all ssh servers enable the sftp subsystem by default.