May 27

ssh has a great config file for the client that is rarely used by most folks, but can make life a lot easier with just some minor knowledge.  For example, here is a .ssh/config file from my home directory that says anytime I connect to this website, connect as a user other then my default and alias that host to be “www” instead of cyborgworkshop.org .

Host www
HostName cyborgworkshop.org
User Remote_User

now if I just run

ssh www

it’s the same as running

ssh Remote_User@cyborgworshop.org

It doesn’t stop there though, you can specify key files to use, encryption and compression, etc. Man ssh_config for more shtuff!

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.