Re: Question about SSH ActiveX Control (General questions)
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:
- Question about SSH ActiveX Control - Josh, 2007-12-13, 23:46
- Re: Question about SSH ActiveX Control - woddrazen, 2007-12-14, 00:23
- Re: Question about SSH ActiveX Control - Josh, 2008-03-03, 17:33
- Re: Question about SSH ActiveX Control - wodDamir, 2008-03-03, 17:51
- Re: Question about SSH ActiveX Control - Josh, 2008-03-03, 18:41
- Re: Question about SSH ActiveX Control - wodDamir, 2008-03-03, 17:51
- Re: Question about SSH ActiveX Control - Josh, 2008-03-03, 17:33
- Re: Question about SSH ActiveX Control - woddrazen, 2007-12-14, 00:23