Often it’s useful to have multiple connections to the same server.
If you find yourself making multiple consecutive connections to the same server then enablepersistent connections.
If currently you type a password when making an SSH connection, you can make connecting much more pleasant by setting up SSH keys.
$ ssh-copy-id firstname.lastname@example.org
Hostname Aliases and Usernames
You can also define hostname aliases in SSH config, though this can involve listing each hostname. If your username on a remote server is different from your local username, specify this in your SSH config as well.
Host host1 host2 host3