Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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'd like to connect from my work to my home PC/Laptop through Cygwin's SSHD. I have DD-WRT installed on my router and i'm not really sure on how to configure it to allow me to get in.

It works nicely from LAN but not WAN. Putty just hungs.

Any suggestions?


share|improve this question
up vote 0 down vote accepted

You need to configure DD-WRT on your home router to port forward incoming connections from the Internet side, to port 22 on your home PC.

If you want to SSH to multiple devices behind your router, you'll need to pick different ports to forward (e.g. port 34000 to port 22 on your PC, port 34001 to port 22 on your laptop, etc.)

You should be aware that as soon as you open a port in this way, it'll start getting scanned and bots will try logging in through it, so make sure you have strong passwords or use SSH key based authentication.

You should, if possible, on the DD-WRT config lock the port forwarding down to a single source IP address (i.e. your work's public IP address).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.