Re: Question about SSH ActiveX Control - WeOnlyDo Discussion board

Re: Question about SSH ActiveX Control (General questions)

by woddrazen, Friday, December 14, 2007, 00:23 (6189 days ago) @ Josh

Hi Josh,


Maybe this will help:
[code]
Set ssh1 = New wodTelnetDLXCom

ssh1.HostName = ylour_hostname
ssh1.Blocking = True
ssh1.Login = your_login
ssh1.Password = your_password
'ssh1.StripANSI = True
ssh1.Connect

ssh1.WaitFor ( User: )
ssh1.Send secondary login + vbCrLf
ssh1.WaitFor ( Password: )
ssh1.Send secondary pw + vbCrLf

Debug.Print ssh1.Receive
Debug.Print ssh1.Receive
Debug.Print ssh1.Receive
[/code]

If problem persist please change vbCrLf with vbLf. Also you can try to add one space after User: (ssh1.WaitFor ( User: )) and Password: (ssh1.WaitFor ( Password: )) under WaitFor Method lines.

Let us know how it goes.


Regards,
Drazen


Complete thread: