Setting up an SSH Tunnel between CPRS & VistA

From VistApedia
Revision as of 13:52, 22 August 2009 by JohnLeoZ (talk | contribs)
Jump to: navigation, search

Begin by installing putty onto your Windows client machine. Download from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html You need the program Plink (a command-line interface to the PuTTY back ends).

Here is a shortcut that uses the program "plink.exe" to construct an encrypted path between the local machine (127.0.0.1) and a remote location (here it is 192.168.5.102). The remote machine at address 192.168.5.102 needs to be listening at port 9210, in this example, and has to be configured with a password (here it is "remotepw".

"C:\Program Files\PuTTY\plink.exe" -N -ssh -l remoteaccess -pw remotepw -L 9210:127.0.0.1:9210 192.168.5.102

translation:

   -N
   -ssh
   -l    user name on the remote system, here "remoteaccess"
   -pw   password for that user, here "remotepw"
   -L    local_port:address:remote_port remote_address


under construction, input welcome. --JL.Z 07:00, 21 Aug 2009 (PDT)