cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1060
Views
0
Helpful
3
Replies

Reverse SSH ona terminal server

markc.williams
Level 1
Level 1

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 3

bstremp
Level 2
Level 2

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 .

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: