multiple lines/sites from router (wodSSH / wodSSH.NET)
Hi,
i try to login to an cisco router, which works fine (using visual basic code).
then i try to check the routers intefaces using the send-command (ssh1.send show interfaces & vbLF) expecting a lot of lines to come, but there are only some.
if i use putty (putty.exe) to get these informations, i must interact to receive all lines (i have got to push the space-bar indeed).
how could i push the space-bar using wodSSH to receive all the lines from the routers output??
Regards,
Tobias
Re: multiple lines/sites from router
Tobias,
I think you can just do
Ssh1.send( )
(one space between quotes).
Would that help?
Re: multiple lines/sites from router
Hi,
thanks for your very fast help!!
YES, thats it!!
I made the mistake to send ssh1.send( & vbLf) instead of what you suggested (ssh1.send ( )).
Bye,Tobias
Re: multiple lines/sites from router
Hi,
thanks for your very fast help!!
YES, thats it!!
I made the mistake to send ssh1.send( & vbLf) instead of what you suggested (ssh1.send ( )).
Bye,Tobias
Better to send a command before you send show interfaces to disable the need to press space for the next page. That command is terminal length 0 . This way the cisco router will not send just a few lines and wait for you to press space.