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

SSH router to router

I have the line ports on a couple of routers to allow for SSH only access which works just fine when I SSH from a PC. The routers have a crypto key generated and ACS is the tacacs server for authentication. The routers also have a local username/password for when the ACS is not available.

However once I'm SSH'd into one of the routers I'd like to be able to SSH from that router to another router.

What do I need to do to be able to do that?

Here is the config I have right now:

username xxxxxx password 7 xxxxxxxxx

aaa new-model

aaa authentication login default group tacacs+ local

aaa authentication login vty line

aaa authentication login console line

aaa authentication enable default group tacacs+ enable

aaa accounting exec default start-stop group tacacs+

aaa accounting commands 15 default start-stop group tacacs+

aaa accounting connection default start-stop group tacacs+

ip ssh time-out 60

ip ssh authentication-retries 2

ip ssh version 2

line vty 0 4

password xxx

transport input ssh

line vty 5 15

password xxx

transport input ssh

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: SSH router to router

Jim

I am not sure that you need to do anything else. It may depend on the version of code but the IOS that I am running supports both SSH server (SSH to the router) and SSH client (SSH from the router to somewhere else).

lab_1841>ssh 10.26.0.1

Password:

router>

HTH

Rick

3 REPLIES
Hall of Fame Super Silver

Re: SSH router to router

Jim

I am not sure that you need to do anything else. It may depend on the version of code but the IOS that I am running supports both SSH server (SSH to the router) and SSH client (SSH from the router to somewhere else).

lab_1841>ssh 10.26.0.1

Password:

router>

HTH

Rick

New Member

Re: SSH router to router

How simple is that! I tested it and it worked great. For some reason I was trying 'telnet xxx.xxx.xxx.xxx 22' instead of actually using the ssh command.

Thanks!

Hall of Fame Super Silver

Re: SSH router to router

Jim

I love it when things are simple and they "just work".

Thank you for using the rating system to indicate that your question was resolved (and thanks for the rating). It makes the forum more useful when people can read about a question and can know that they will read responses that successfully resolved the question. I encourage you to continue your participation in the forum.

HTH

Rick

518
Views
5
Helpful
3
Replies