Re: SSH towards Cisco - WeOnlyDo Discussion board

Re: SSH towards Cisco (General questions)

by wodDamir, Thursday, March 17, 2011, 18:49 (4998 days ago) @ dirk

Dirk,

In case of SSH, there's no need to even use exit part. When Command property is used, the component connects, executes the specified command and disconnects once it receives command output. This mechanism is implemented in SSH by default.

You can also use ExitStatus to check if there was an error in command execution. You can find more info on ExitStatus here: http://www.weonlydo.com/SSH/Help/wodSSH-ExitStatus.html

As for Send or Execute/WaitFor, you're right. You would need to wait for prompt execute a command and get it's response.

Hope this helps.

Regards,
Damba


Complete thread: