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 did some research on how to enable a pair-coding environment remotely so someone else on their MacOx/Linux box could view my screen (I code using vim + the rails plugin).

I read Evan Light's blog on his set up here, but I don't have an open source router:

So the SSH is tricky since I don't have a sticky IP.

What is an easy way to do it?

share|improve this question

Your home router likely has the ability to forward ports, so the ddwrt router should not be necessary, just a nice to have.

First step would be to sign up for some dynamic dns service. They will map a domain name to whatever your current public facing IP address is. These are are often subdomains like log into your router first and look around, it's possible it may already support one.

If not, you can still update the service from any of your home computers using downloadable clients or scripts like wget or perl. The update process will be explained by the dynamic dns service.

Once updated, your friends should be able to reach your dynamically assigned ip address using the example domain. This domain should point to whatever says your public facing ip address is.

By the way, you can also just send your friends that public facing IP address and skip the dynamic dns stuff if you want. Just remember that it can change so your friends would have to update their settings.

Either way, you will need to forward the SSH port to your computer's private ip address, and of course make sure you have an ssh server running on your local computer.

It's also possible that your ISP may block port 22, so keep that in mind. If so, you could (and really should anyway) forward a higher port number instead.. ie: Forward port 2222 in your router to your private ip address. This will help keep the autobots from trying to guess your ssh login.

When it is all said and done you should be able to ssh -P 2222 or just ssh if you go with the default ssh port.

Also, your home computer will now be subjected to the interwebs and all of its cooties.. Keep your system patched, updated and firewalls on.

Hope this helps!

share|improve this answer

You must log in to answer this question.

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