Jūs esate

How to set default username for SSH hosts

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

Komentarai

1000 jeux de casino dispo
<a href="http://casinoflashexx.com/">casino kahnawake machine a sous</a> [url=http://casinoflashexx.com/]casino de montreal[/url]
casino en ligne pour le quebec

Puslapiai

Komentuoti