Re: SSH towards Cisco - WeOnlyDo Discussion board

Re: SSH towards Cisco (General questions)

by dirk, Thursday, March 17, 2011, 18:21 (4811 days ago) @ wodDamir

Hi Dirk,

You say it doesn't work. What exactly happens?

Do you receive anything?

How do you execute this? Can you please be more specific?

Regards,
Damba

Well the IOS itself doesn't accept that syntax (separate the commands by ;) so I need a way from within the component to detect that all is done.
Currently I do
ssh.login =
ssh.password=
ssh.command=
ssh.connect

and via the ssh_received event I get the data back.
However as I currently don't know that it's the end I keep waiting until <timeout> and don't know after that timeout IF I got all or if I only got part of the normal output.


Complete thread: