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

ssh from IOS to another ssh device

kwanm63my
Level 1
Level 1

Trying to figure out if a router/6509 L3 running ssh image can ssh to another cisco/catayst device or even another third party ssh enable device. on my 6509, I already generate the rsa key, I tried to ssh to my other 6509 ( also with rsa keys generated ) . on the receiving 6509 , I have already configured

line vty 0 4

password xxx

transport input telnet ssh

transport output telnet ssh

then on the other end. i did a

ssh -v 2 -c 3des 10.101.4.4

I get a password prompt, but it's not my enable secret passord or my line vty password...my switch is running tacacs and does autheticate via my ACS server first... What is the password prompt coming from ??

if I do it from a putty client, I have no issues...

Thanks

3 Replies 3

Did you try specifying the user id with the "-l" option

ssh -v 2 -c 3des -l user1 10.101.4.4

andrew.prince
Level 10
Level 10

You need to specify the login name - otherwise the ssh session will send the username that you logged into the switch you are jumping from.

ssh -l <> <>

HTH>

kwanm63my
Level 1
Level 1

thanks for the responses, that -l option helped.

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: