4 ms·
One interesting bit is that ssh aliases also work for scp. For example I have ssh keys setup on a VPS and to copy a file I can type scp vps:~/www/back<tab>
by lucb1e 12y ago
One interesting bit is that ssh aliases also work for scp. For example I have ssh keys setup on a VPS and to copy a file I can type
scp vps:~/www/back<tab>
and it'll autocomplete to
scp vps:/home/vhosting/c/vhost12345/www/backup-2014-07-02.tar.gz
Or if there are multiple matches for file or directory names, it'll list them like bash normally would. This seamless integration is so awesome, I can highly recommend ssh keys (and cygwin for Windows users).
- notfoss 12y agoSSH aliases work for SFTP as well.