Manage a lot of open ssh sessions to servers with id's for hostname
Posted
by
kimausloos
on Server Fault
See other posts from Server Fault
or by kimausloos
Published on 2011-01-14T15:02:45Z
Indexed on
2011/01/14
15:55 UTC
Read the original article
Hit count: 187
Lately I'm working a lot with a few open ssh connections to multiple VPS servers. The hostnames of the servers all follow an ID approach and it's becoming very difficult to know on what machine I'm working with.
I was wondering if there is a way to put a name I define somewhere as the title of the terminal. So I would, for example, associate IP 123.123.123.123 with webserver-stg. When opening the connection to the IP, webserver-stg would automaticaly be displayed as the name of the session. Of course I'm not able to change code on the VPS servers, so the solution should be client-side.
© Server Fault or respective owner