View Single Post
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#6
Not quite what you're looking for, but a good substitute is to store the options in .ssh/config, something like

Code:
Host host1
HostName some.host.org
User my_login_at_host_1
Port 6969
....
Host host2
User my_login_at_host_2
Port 6970
....
ie. the options for each host are after the Host keyword, then you simply type, e.g. "ssh host1" to connect to some.host.org at port 6969 logging in as user my_login_at_host_1.
If you have a desktop linux installed you can see the list of options with "man ssh_config", otherwise just google ssh_config.
 

The Following User Says Thank You to luca For This Useful Post: