Xshell Forum

How to enter password in login script when ssh command expect it?

Last post: Tuesday, January 14, 2014 6:59 PM by Cam, 1 reply

 
Tuesday, January 14, 2014 3:55 PM

Deleted by poster

Tuesday, January 14, 2014 6:59 PM - Cam

Re: How to enter password in login script when ssh command expect it?

 
Did you try sending the connection code like this?

Sub Main

' *** Connect the session ***
xsh.Session.Open "ssh://username:password@IP"


End Sub