Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can use TeamViewer to get into this remote host.

It has sshd running.

I would like to ssh to it. But it gives the system's IP as 192.168.xx.yy.

How do I ssh into it?

share|improve this question
Is the remote host on the LAN? Or over the Internet? – paradd0x Jun 21 '11 at 14:54
over the internet – sureshvv Jun 21 '11 at 15:03
You can ssh into it by the external IP address. If the computer is behind a router, setup port forwarding for port 22. – paradd0x Jun 21 '11 at 15:06
up vote 9 down vote accepted

There are some possibilities to do this.


For a very easy way to make a VPN try Hamachi. Theres a Linux beta version. The advantage is that the VPN is set up VERY VERY easily. Just follow what the program has to say

If you want something more complex (heh.) but not tied to LogMeIn try an OpenVPN

This will not be very good though if you need to access it from multiple places, since you'd need to set up the VPN software for every one of them.

If this is the case, there is:

Port forwarding

Refer to for tutorials on how to make the router of the destination PC forward the SSH port (22). This is very different on every router so I can't describe it universally.

Reversed SSH

I found a tutorial here which explains how to do reversed SSH connections (from the SSH server to the client). It only applies to you if your client is accessible from the outside world but your server isn't.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .