Wednesday, July 18, 2012

How to use SSH host names for tabs in the OS X Terminal




While the OS X Terminal is not a familiar operating environment for most Mac users, those who have had experience with Unix-based systems will find it to be an invaluable tool for managing their systems. One of the most common uses of the Terminal is to establish a remote log-in session on a system using the secure shell (SSH) command, and sometimes invoke multiple connections to the same system and different systems at the same time.


As a result of this, you might find you have many windows open at once to manage these connections in, though starting with Snow Leopard Apple added the ability to group Terminal sessions in tabs, which allows for better management of multiple Terminal windows and the various tasks you are performing.



The tab names will only show up as "ssh," regardless of any other specifics about the connection.


(Credit: Screenshot by Topher Kessler/CNET)

While convenient, tabs unfortunately have a drawback in that they obscure all Terminal windows except for the active tab, which in the case of SSH connections introduces an added difficulty when managing your tasks. While tabs are named after the active command being run, this doesn't help, as regardless of what server is being connected to with SSH, the tab will simply be named "ssh."


There are several... [Read more]




No comments:

Post a Comment