Reply to comment

PuTTY Port Forwarding

Nice article. I've been using PuTTY for a couple of years now to SSH into a CentOS box from a Windows box and have pretty much arrived at the same configuration as yourself.

My favourite trick is to tunnel ports 80 (3000 for Webrick for Ruby on Rails development), and 5432 for pgAdmin administration of PostgreSQL, through SSH so that Apache/Webrick and PostgreSQL appear as localhost ports on my Windows box. Great for remote development without exposing any ports other than 22 on the remote CentOS box.

The above is easy to do...


Source port: 5432 (or 80, 3000 etc)
Destination port: my.remote.ip.address:5432 (or 80, 3000 etc)

Click Add.

Easy and works like a dream!




Please refrain from adding URLs to unrelated or commercial websites. This site is moderated and comments with inappropriate links are rejected. Thank you for your understanding.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options