One day I got tired of entering ssh mycoolusername@my.awesome.server.com Because my username is the same on all the servers. So, what I did – I’ve created a file and added a default username for the servers: $ cat ~/.ssh/config CanonicalizeHostname yes Host *.my.awesome.server.com User mycoolusername So, I can now connect to is.it.really.my.awesome.server.com by using: ssh is.it.really.my.awesome.server.com |
Be First to Comment