Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/


The 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)


And.... Ansible uses those aliases too, making it trivial to maintain *NIX server that are behind firewalls and/or vpns.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: