4 ms·
One of the biggest 'ah-ha' moments I had with SSH was that I could create my own hosts with certain properties. For example, if I wanted a backup server with a
by mjschultz 16y ago
One of the biggest 'ah-ha' moments I had with SSH was that I could create my own hosts with certain properties. For example, if I wanted a backup server with a special user and key I could add it to my ~/.ssh/config file
Host backup-server
HostName backup.example.com
User backup
IdentityFile ~/.ssh/backup_dsa
Then just have a shell script run
$ ssh backup-server
It ended up working really well.
Also, control sockets.
- mcantor 16y agoThat gives you tab completion, too!