Typing less with SSH
March 4, 2010
For me as a Linuxw user I always had to type long lines to start my SSHw sessions. It’s no rocket science, you know, but for he who types thousands of characters each day, each character save is golden.
We usally start our SSH sessions by typing the following command string:
ssh user@domain.tld
I’ve tried to shorten this by adding the domain and its TLDw to my hosts file with a shorter alias like
hname hostname.tld
But obviously that crashed against Apachew Vhostw capability, the request never make it to the other end.
I personally have SSH keys on some of my servers to avoid typing passwords, that is good to prevent against MITMw attacks and keyloggers, but I still have to type the string mentioned lines above.
Then, with 3 lines in a SSH’s configuration file on my home directory (yes, you don’t need to alter the server’s SSH configuration file and yes, you can do that on your shared hosting’s shell account).
Read the full article