cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
672
Views
5
Helpful
6
Replies

SSH on term server issue

mjsully
Level 1
Level 1

We have a cisco router 2600 series that is setup as a terminal server to provide reverse telnet out of band console access to a variety of devices hanging off it. We have host names setup so that the admin only has to type the host name to get to the device he wants, for example: ip host ROUTER_A 2038 172.0.0.1 (typing ROUTER_A takes you to the router on the port 2038)

It worked fine when we used telnet to access the term server, now we set it up for ssh (v1) and when we type in the host name it doesn't know how to interpret it and generates an invalid input error. Does anyone know what is causing the issue and if its possible to get the router to interpret the hostname shortcuts?

6 Replies 6

pradeepde
Level 5
Level 5

It looks like 'rule dns-resolve each-request' should only be resolving 'proxy-corp-ny4.ms.com' for each incoming request, not the actual domain in the request.The rule dns-resolve each-request global configuration command was added. When this CLI command is enabled, the caching process on the Content Engine resolves the hostname each time that it processes the request and matches the pattern for the use-proxy rule action and the failover option in the use-proxy rule action.

lxcollin1
Level 1
Level 1

I have the same issue. Have you found a fix to this?

Hi,

I am using C2600 as my terminal server. I have both telnet and ssh running fine without any issue when doing reverse-telnet to other devices.

Not sure if you have to re-generate the ssh again.

BTW, what version you're running right now?

rgds,

AK

The problem, with my setup, is that I'm using ssh only on both the vty's and the async lines. It will not allow me to simply type the device name defined in an 'ip host' statement and connect. The reason is because it is attempting to connect to the device via telnet, not ssh. If I need to connect to a device I must manually enter...

"ssh –c 3des –l %username% -p %port number% %hostname%".

Any ideas???

Ok, now I see your problem.

For reverse telnet, you can use hostname you created under 'ip host'.

For ssh, I have never use it when initiate connection to a device via ssh as it just won't work. I used alias command as shortcut to the whole ssh command string. But I did not specify my username & password for security reason.

Rgds,

AK

AK,

Good call! I implemented using aliases and removed the "ip host" entries.