multiple lines/sites from router - WeOnlyDo Discussion board

multiple lines/sites from router (wodSSH / wodSSH.NET)

by Tobias, Wednesday, December 28, 2005, 13:58 (6702 days ago)

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

by wodSupport, Wednesday, December 28, 2005, 13:59 (6702 days ago) @ Tobias

Tobias,

I think you can just do

Ssh1.send( )

(one space between quotes).

Would that help?

Re: multiple lines/sites from router

by Tobias, Wednesday, December 28, 2005, 14:03 (6702 days ago) @ wodSupport

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

by Scott Blomfield, Friday, December 30, 2005, 21:16 (6700 days ago) @ Tobias

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.