Actual Tools / Articles / Use Actual Window Manager to hide SSH tunnels to system tray
Use Actual Window Manager to Hide SSH Tunnels
If you use SSH tunnels to allow access through a firewall, or just to encrypt your communication, you might get sick of the proliferation of tasks littering your bar.
It is very easy, however, to use Actual Window Manager to automatically clear these up.
This example uses the PuTTY SSH client, but the procedure would be similar with most SSH clients.
First allow your client to automatically connect to its server to initiate the tunnel. This is optional, but will allow you to run the tunnel from a shortcut, and make Actual Window Manager automatically hide it - no need for manual intervention.
Once you have your PuTTY session connecting automatically, create a shortcut to the session, pointing to putty.exe -load '<session name>'.
Now, instruct Actual Window Manager to minimize this window to the tray. With an instance of your SSH tunnel running, open Actual Window Manager.
Now, when you open a new instance of your SSH tunnel, it will automatically put itself into the system tray when minimised or deactivated, instead of cluttering the task list.
By the way, deactivation simply means you have focused another window. When this happens, the tunnel will stay for the delay you specified, and then shrink into your system tray where it can be further hidden by WindowsR.
If you want these options to be applied only to the program when it is used as a tunnel (as opposed to normal interactive sessions) then the procedure is more complicated.
With PuTTY, the windows caption is not updated immediately when the program starts. This means that Actual Window Manager cannot distinguish between normal and tunnel sessions from windows caption only. Instead, simply make a copy of the putty.exe file, to something like _putty.exe. Then, add a rule in Actual Window Manager for windows with program _putty.exe, and specify the same minimising characteristics as above.
In this way, you can also have Actual Window Manager to automatically minimize the session upon opening - this option can be also found in the Minimizing property sheet. Simply select At startup function.
Enjoy your space.
Learn other 39 functions of Actual Window Manager or download the application for free and experiment yourself!
See the following links that will be your guides in getting acquainted with Actual Window Manager:
Check out our articles. You can find other ways for using the features presented by Actual Window Manager which are sure to make your work easier!