Quantcast
Channel: IEOC - INE's Online Community
Viewing all articles
Browse latest Browse all 10672

SSH port-forward Router Telnet sessions

$
0
0

Hi all,

 I have a work Ubuntu server running GNS3 for CCIE R&S study and a Mac at home. I can use my local Mac terminal program at home to telnet to each router console at work through an SSH tunnel with ssh local port forwarding:

ssh -L 2001:localhost:2001 <user>@<work-pc>

then

telnet localhost 2001

But with 10 or so routers running its not practical to create 10 ssh sessions. I am sure this can be done with a single ssh tunnel. I have tried to use ssh dynamic port forwarding and socks proxy but no luck yet. Can anyone explain how it can be done?

Kind Regards,

Nigel


Viewing all articles
Browse latest Browse all 10672

Trending Articles