Hi
I use Plink to make a secure shell connection to our website to enable me to access our database.
How can I detect if the tunnel is open so I don't have more than one connection at a time?Sub PlinkConnect() Dim Prog As String, Arg As String Prog = "C:\Program Files\Putty\plink.exe" Arg = " -ssh Fringe -pw *********" Call Shell(Prog & Arg, vbMinimizedFocus) Application.Wait (Now + TimeValue("00:00:05")) SendKeys "{ENTER}", True End Sub