putty tunnels from system tray

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: -L 25: -L 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)

Dette indlæg blev udgivet i Knowledge Base, Old Base, Programmering. Bogmærk permalinket.

Skriv et svar