If you often connect in SSH on your servers, from a Linux, Windows or macOS machine, through a terminal, you may have to do a mental exercise each time to find the IP or the name or the port to connect to.

But that time is over thanks to Sshs, a terminal interface that simply lists the contents of your ~/.ssh/config file so you can connect to it easily.

To install it on macOS:

brew install sshs

To install it on Windows with Chocolatey:

choco install sshs

And for Linux, there are Arch packages and of course the sources ( Check out the Github ).

Then to manage the list of your machines, it happens as I said in the file ~/.ssh/config of which here is an example:

Host *
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_rsa

Host "Mon serveurr"
  HostName server1.example.com
  User root
  Port 22

Host "Via le proxy""
  HostName server2.example.com
  User someone
  Port 22
  ProxyCommand ssh -W %h:%p proxy.example.com

The rest of the settings you can use can be found here.

If you liked this article, please subscribe to our reddit community to discuss it. You can also find us on Twitter and Facebook.

5/5 - (1 vote)

Tagged in:

, ,

About the Author

SAKHRI Mohamed

Founder & Editor

Passionate about the web, new technologies and IT, I share on easy-tutorials.com tutorials, tips, advice, online tools and software for Windows, Mac and Linux.

View All Articles