Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 08-24-2021, 03:40 PM
shannonphillips shannonphillips is offline
Registered User
Join Date: Oct 2017
Posts: 5
SSH packet loss timeout

I have 3k+ remote firewalls I need to login daily and grab data from. I have a well establish DB recordset and Do while loop which works great, except under one scenario:
If the remote location is currently experiencing ISP issues, the Crt.Session.Connect command will not timeout for high packet loss and will keep trying to communicate. Hence I have babysit the screen and wait for it too hang, than manually disconnect session.

"sample code"
cmd = "/SSH2 /L " & ADLgn & " /PASSWORD " & ADPW & " /ACCEPTHOSTKEYS " & vIP
Err.Number = Crt.Session.Connect (cmd,15) "sample /code"

I cannot fix the ISP issues, there a way in Secure Crt 8 or 9 to Force a timeout regardless of tcp traffic so I can continue through my loop?
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 04:08 AM.