paulked
09-19-2019, 06:24 AM
Hi
I use Plink to make a secure shell connection to our website to enable me to access our database.
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
How can I detect if the tunnel is open so I don't have more than one connection at a time?
I use Plink to make a secure shell connection to our website to enable me to access our database.
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
How can I detect if the tunnel is open so I don't have more than one connection at a time?