GnuWater  

Home

Gnotide

Gnomesh

Nowcasting

Other Small Sotware

Personal Information

ssh port forwarding

Ssh port forwarding is a very useful way to combine secure connections trough ssh, and flexibility to use several tools from a remote server, like VNC or something else.

Linux

For linux machines, there is a concise article that explains easily what to do:

http://magazine.redhat.com/2007/11/06/ssh-port-forwarding/

Windows

This setup for Winscp is copied from http://winscp.net/forum/viewtopic.php?t=5576, from a post of diegotolentino and small translation from portuguese parts of the code

------------------------------------------

I'm create a Custom commands to solve my problem with port forward the result is like

http://www.bitvise.com/port-forwarding

the script require plink.exe
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

FAQ:
1. Open the winscp.exe
2. Select the "Advanced Options"
3. Go "Preferences > Commands"
4. Click "Add ..."
5. In "Description: " put "Map Port"
5. In "Description: Custom command:"plink -l !U -pw !P -load "WinSCP temporary session" -L !?Local Address:?127.0.0.1!:!?Local Port:?22!:!?Remote Address:?127.0.0.1!:!?Remote Port:?22!" (without ")
6. Click "Local command"
7. Click "OK"
8. See new button win Tab[/url]

--------------------------------------------------------------------------------------------

 

  e-mail: jmfernan (at) gnuwater.com || internal e-mail