From: Josh Hurtado Date: 2011-05-28T04:01:53+09:00 Subject: Re: Net::Telnet into Net::SSH Thanks Brian. Let me clarify what I want. So I am running my script from my box (making up IPs) at 192.168.0.254 The I am sshing into my jump box at 192.168.1.1 192.168.0.254 -> 192.168.1.1 Then want to use that box to establish various telnet sessions to cisco routers and grab the running config (going to list out some make believe cisco router IPs): 192.168.0.254 -> 192.168.1.1 -> 192.168.2.100 (grab config) 192.168.0.254 -> 192.168.1.1 -> 192.168.2.101 (grab config) 192.168.0.254 -> 192.168.1.1 -> 192.168.2.102 (grab config) I want to use NET:SSH to establish the connection on one box, then see if I could run NET::TELNET objects within that session for each router. The reason: the NET:TELNET already is built and I don't want ot have to build a new class from scratch to handle the logins. I will try the port forwarding before (with a NET::SSH) object and didn't seem to work, but I will try rewriting my config. Thanks for taking the time to respond. -- Posted via http://www.ruby-forum.com/.