Take the below configuration, edit in your username for both entries, and copy it into ~/.ssh/config
on your local machine.
When you want to access sibu, try:
ssh sibu
And when you want to access sand, try:
ssh sand
That's you! SSHing into sand no longer requires hacking around with sibu manually. Easy.
It can get easier yet: you can get slippery delicious passwordless access, too.
Enter cat ~/.ssh/id_rsa.pub
— if nothing gets printed, run ssh_keygen
, and hit enter at any prompts.
Run cat ~/.ssh/id_rsa.pub
and copy it.
Run ssh sibu
and then nano ~/.ssh/authorized_keys
(or whatever your editor of choice is). Paste onto a new line. Save.
You should now have passwordless access to both sibu and sand!