Re: SSH towards Cisco (General questions)
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
Well that's not how I see it working.
I'm using teh .COMMAND property but the component is not disconnecting at all from the remote Cisco.
Do you want me to use one of the examples and then send you some output to show this? (if so what output and what example to use)?
Complete thread:
- SSH towards Cisco - dirk, 2011-03-17, 16:47
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 17:06
- Re: SSH towards Cisco - dirk, 2011-03-17, 18:21
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 18:27
- Re: SSH towards Cisco - dirk, 2011-03-17, 18:43
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 18:49
- Re: SSH towards Cisco - dirk, 2011-03-17, 18:53
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 20:36
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 20:57
- Re: SSH towards Cisco - dirk, 2011-03-17, 21:20
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 22:46
- Re: SSH towards Cisco - dirk, 2011-03-18, 07:05
- Re: SSH towards Cisco - dirk, 2011-03-18, 08:53
- Re: SSH towards Cisco - wodDamir, 2011-03-18, 10:41
- Re: SSH towards Cisco - dirk, 2011-03-18, 10:47
- Re: SSH towards Cisco - wodDamir, 2011-03-18, 10:51
- Re: SSH towards Cisco - dirk, 2011-03-18, 11:20
- Re: SSH towards Cisco - wodDamir, 2011-03-18, 15:14
- Re: SSH towards Cisco - dirk, 2011-03-18, 16:49
- Re: SSH towards Cisco - dirk, 2011-03-18, 17:07
- Re: SSH towards Cisco - woddrazen, 2011-03-18, 17:09
- Re: SSH towards Cisco - dirk, 2011-03-18, 17:13
- Re: SSH towards Cisco - dirk, 2011-03-18, 20:31
- Re: SSH towards Cisco - dirk, 2011-03-18, 17:13
- Re: SSH towards Cisco - woddrazen, 2011-03-18, 17:09
- Re: SSH towards Cisco - dirk, 2011-03-18, 17:07
- Re: SSH towards Cisco - dirk, 2011-03-18, 16:49
- Re: SSH towards Cisco - wodDamir, 2011-03-18, 15:14
- Re: SSH towards Cisco - dirk, 2011-03-18, 11:20
- Re: SSH towards Cisco - wodDamir, 2011-03-18, 10:51
- Re: SSH towards Cisco - dirk, 2011-03-18, 10:47
- Re: SSH towards Cisco - wodDamir, 2011-03-18, 10:41
- Re: SSH towards Cisco - dirk, 2011-03-18, 08:53
- Re: SSH towards Cisco - dirk, 2011-03-18, 07:05
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 22:46
- Re: SSH towards Cisco - dirk, 2011-03-17, 21:20
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 20:57
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 20:36
- Re: SSH towards Cisco - dirk, 2011-03-17, 18:53
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 18:49
- Re: SSH towards Cisco - dirk, 2011-03-17, 18:43
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 18:27
- Re: SSH towards Cisco - dirk, 2011-03-17, 18:21
- Re: SSH towards Cisco - wodDamir, 2011-03-17, 17:06