Error 30007 in ASP (wodSSH / wodSSH.NET)
Hi, I use do-loop to excute those code in asp.
But it often response err code 30007.
I think those code is no problem in once exection.
How to handle err 30007 ? Why it happens ?
On Error Resume Next
set ssh = CreateObject( WeOnlyDo.wodSSHCom.1 )
ssh.Login = name
ssh.Password = pwd
ssh.Hostname = IP_ary
ssh.Blocking = 1
ssh.Protocol = 3
ssh.Port = 22
ssh.Timeout = 30
ssh.Connect
ssh.WaitFor regex:[$ #>] $ ,30
ssh.DataReady = 0
resp = ssh.Execute(cmds & vbLf, regex:[$ #>] $ ,30)
ssh.Disconnect
set ssh = nothing