cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
63321
Views
0
Helpful
1
Replies

Logging into A Cisco switch from another switch or router

Cisco10956
Level 1
Level 1

I have SSH enabled on switches and routers.

If I am already in a router how can I login to a switch from my router.?

Two ways I would like to know.

1. Login from a router to a switch.

2.Login from a switch to switch.

each have SSH

Please give an example.

1 Accepted Solution

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

Use can use the same method for both the switch and the router:

ssh 10.10.10.1 

10.10.10.1 is the IP address of the device you want to connect to.

If the destination device is not configured with the same user name as the source than you can add the use name to the string.  In this case the destination device is configured with username "test"

You also need to provide the password.

ssh -l test 10.10.10.1

HTH 

View solution in original post

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Use can use the same method for both the switch and the router:

ssh 10.10.10.1 

10.10.10.1 is the IP address of the device you want to connect to.

If the destination device is not configured with the same user name as the source than you can add the use name to the string.  In this case the destination device is configured with username "test"

You also need to provide the password.

ssh -l test 10.10.10.1

HTH 

Review Cisco Networking for a $25 gift card