Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


putty tunnels from system tray

Author:black - Sun Oct 9 23:18:50 2005

This is how to connect some ssh forwarded ports without having any unused putty windows in the taskbar.

First download and install putty and configure pageant to start with windows.
(use the installer package, not the standalone putty.exe)
Make som keyfiles for authentication.

Now, the tunnel can be established by using plink, that comes with putty.
plink.exe -ssh -batch -l black -L 2401:10.0.3.129:2401 -L 25:10.0.3.129:25 -L 143:10.0.3.129:143 -N munin.btworld.dk

Now this nice little program, will send all output from the ssh session to stdout, which we can catch with our own little C# program, that minimizes to tray.

(code for C# program will be uploaded when I'm done)
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk