4 ms·
This is excellent advice. The best part is that you can use the same $ALIAS for tools built on SSH, including scp and rsync, like this: scp $ALIAS:/var/log
by yen223 13y ago
This is excellent advice. The best part is that you can use the same $ALIAS for tools built on SSH, including scp and rsync, like this:
scp $ALIAS:/var/log/mylogs/logfile ~/backups/logs/
- mverwijs 13y agoAnd.... Ansible uses those aliases too, making it trivial to maintain *NIX server that are behind firewalls and/or vpns.
- sampo 13y agoThe aliases also work when mounting filesystems over the network in the File Browser. Nautilus / Connect to Server / Server Address: work/home/user (here 'work' is the alias for the work computer)