In Linux, you can simplify some of your SSH commands using an SSH config file. For example, create a file named
config in your
~/.ssh directory with something like the following:
User bar user
This will allow you to ssh into the specified hosts using short commands such as
ssh foo and
More complex options are listed on the man page.