Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 4.33 average. Display Modes
Old 05-22-2012, 09:07 PM   #1
solipsism
MVP
 
Join Date: Nov 2005
Posts: 1,949
Unusual SSH Tunneling issue to Cisco equipment

I am trying to setup my Cisco lab to be accessible remotely. My Cisco lab is all connected to a Mac via it's USB port where I use Telnet to connect to the other devices. Unfortunately I only have an AirPort Express as my home router so I can't connect directly to a switch port.

How can I setup SSH so I can tunnel into my Mac and connect to my lab?

Note: I have VNC connected but I'd like to use as little bandwidth and data as possible so this method, while effective, is not as ideal for my specific needs.
solipsism is offline   Reply With Quote
Old 05-26-2012, 11:31 AM   #2
solipsism
MVP
 
Join Date: Nov 2005
Posts: 1,949
Solution: Setup SSH on iMac so i can access the machine directly via Terminal on my MBP or via Prompt on my iDevices.

After I SSH into the iMac all I had to do was use the screen cu.usbserial (found in /dev) command to get access to the console port per my physical USB-to-Serial(DB9)-to-Console connection.

To exit the screen service hit Control+A then Z. To access it again type screen -r in Terminal.

Last edited by solipsism; 05-26-2012 at 12:20 PM.
solipsism is offline   Reply With Quote
Old 05-26-2012, 12:36 PM   #3
solipsism
MVP
 
Join Date: Nov 2005
Posts: 1,949
More Screen commands:

Use screen -ls to see the name.of.sessions you have running. Then you can kill a specific session that is listed by typing screen -X -S name.of.session kill or quit them all by typing screen -X quit. After that you can then use the screen /dev/cu.usbserial command.

Last edited by solipsism; 05-26-2012 at 12:38 PM.
solipsism is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.