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
Complete thread:
- Multiple connections - TG, 2008-07-08, 07:30
- Re: Multiple connections - wodDamir, 2008-07-08, 09:16
- Re: Multiple connections - TG, 2008-07-08, 14:42
- Re: Multiple connections - wodDamir, 2008-07-08, 14:45
- Re: Multiple connections - TG, 2008-07-08, 14:42
- Re: Multiple connections - wodDamir, 2008-07-08, 09:16