teamviewer-like tool for ssh?

Claudiu picture Claudiu · Mar 28, 2011 · Viewed 54.2k times · Source

I want to access my home computer from work through SSH, but the problem is my home computer is behind a NAT router (which I don't have access to). Because my work computer has a CentOS installed and is behind a proxy, I couldn't use TeamViwer (TV is ported on Linux with wine, and apparently proxy settings won't work).

Does anyone has knowledge of a program that would suit my needs?

Thanks, Claudiu

Answer

valentt picture valentt · Sep 10, 2015

I have been looking for same thing and have found two tools!

  • tmate - instant terminal sharing
  • GoTTY - Share your terminal as a web application

tmate: When you start tmate in your terminal it will create a ssh link that you can share with another party that you wish to allow connecting to your terminal session. Another party just needs to have ssh installed.

Works through NATs without a problem, no 3rd party tool is needed.

tmate ssh links look like this:

ssh [email protected]

Just install tmate on your system, there are packages in official repositories for almost all major distros (Fedora, Debian, Arch, Ubuntu...)

Also, tmate is open-source and allows you to set up and use your own server if you later decide to avoid using any 3rd-party service.

GoTTY: Share any terminal app you wish and the other party doesn't even need to have ssh, but you need to sort out port forwarding if you are behind a firewall and NAT.