Re: Recieving data from ssh login to Mikrotik hos (General questions)
Hi Johnnyboy,,
Could you try with this code.
Did you recive something in debug mode?
-------------
Set ssh1 = New wodSSHCom
ssh1.HostName = your.hostname
ssh1.Protocol = SSHAuto
ssh1.Blocking = True
ssh1.Login = admin
ssh1.Password = xxxxxx
ssh1.Prompt = regex:[[a-z]+@[a-zA-z]+][a-zA-z0-9 ]+> $
ssh1.Connect
ssh1.Send ( /system clock print & vbCrLf)
Debug.Print ssh1.Receive
ssh1.Disconnect
------
Let me know how it goes.
Regards,
Drazen











