Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Reverse SSH ona terminal server

We are rolling out new terminal servers (2811s) and on the new terminal servers we want to configure reverse SSH.

On the old terminal servers we only had reverse telnet configured. And we would map the port to an IP using the ip alias command Eg ip alias 10.1.1.1 2067.

These would help out with management as we could then add this IP address to our DNS server and we wouldn't have to remember what port was needed when using out-of-band management when trying to console to a device.

With reverse SSH this isnt possible as the port needs to be specified when logging on to the router.

Has anyone successfully used reverse ssh with "ip alias"?

I could use the IP host command (ip host name port-num ip), but this would mean i would have to use a cisco device as a golden source.

3 REPLIES
New Member

Re: Reverse SSH ona terminal server

The ip address you use in the reverse telnet, is not used for the ip address of the remote device.Try this cinfiguration ip host sw12a-con ,ip alias .

New Member

Re: Reverse SSH ona terminal server

I like to use:

alias exec 1 1.1.1.1 2001

alias exec 2 1.1.1.1 2002

alias exec 3 1.1.1.1 2003

alias exec 4 1.1.1.1 2004

alias exec 5 1.1.1.1 2005

alias exec 6 1.1.1.1 2006

alias exec 7 1.1.1.1 2007

alias exec 8 1.1.1.1 2008

New Member

Re: Reverse SSH ona terminal server

CSCO10408957... how would i use the below command to reverse ssh into a box.

Would i try and reverse ssh from the same box where this command is configured?

alias exec 6 1.1.1.1 2006

630
Views
0
Helpful
3
Replies
CreatePlease login to create content