Re: Multiple connections (General questions)
Hi, Thanks.
I'm using the blocking mode. Here is what I use on the connecting:
<code>
Form1.ssh.Protocol = SSHAuto
Form1.ssh.Timeout = 60
Form1.ssh.Blocking = True
Form1.ssh.Connect
</code>
Later, I use waitfor and execute methods, and it seems to stuck in the waitfor method.
<code>
Form1.ssh.WaitFor( regex:[$ #>] $ )
Form1.ssh.Execute( /usr/bin/ls & path & vbCrLf, regex:[$ #>] $ , 30)
</code>
Can you tell me if you reuse the connection? And if yes - how do you do it?
Thanks again