Re: F-Secure SSH servers with EmulationType of col (General questions)
David,
Please try my code:
-----------------------------------------
ssh1 = New WeOnlyDo.Client.SSH
ssh1.Hostname = your_hostname
ssh1.Login = your_login
ssh1.Password = your_password
ssh1.Blocking = True
ssh1.Protocol = WeOnlyDo.Client.SSH.SupportedProtocols.SSHAuto
ssh1.AllocatePty = False
ssh1.Connect()
ssh1.WaitFor( regex:[$ #>]*$ )
ssh1.DataReady = 0
Console.Write(ssh1.Execute( dir + vbCrLf, ( regex:[$ #>]*$ )))
-----------------------------------------
As you can see I use for prompt regular expression: regex:[$ #>]*$
Let us know how it goes.
Drazen