cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2658
Views
0
Helpful
6
Replies

ssh from a 4510 switch to another cisco switch

robertkwild
Spotlight
Spotlight

hi all,

simple question really how do i go about ssh into another cisco switch when im on a cisco switch

one of my ciscos i can just run this command and it works

ssh user@ip

and it works no problem

but on another switch it doesnt work, this is the error im getting

4510MCR01>ssh user@ip
% Unknown command or computer name, or unable to find computer address
4510MCR01>

thanks,

rob

 

6 Replies 6

luis_cordova
VIP Alumni
VIP Alumni

Hi @robertkwild 

 

Try this:


4510MCR01# ssh -l <user> <ip>


Regards

4510MCR01>ssh -l rwild 10.110.250.23
[Connection to 10.110.250.23 aborted: error status 0]
4510MCR01>

Does the software on this switch support SSH? What is the output of "sh ver"?

HTH

4510MCR01>sh ver
Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e -UNIVERSALK9-M), Version 03.10.02.E RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Thu 13-Sep-18 07:38 by prod_rel_team

 

Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.
(http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.

 

ROM: 15.0(1r)SG5
4510MCR01 uptime is 33 weeks, 6 days, 23 hours, 19 minutes
Uptime for this control processor is 33 weeks, 6 days, 23 hours, 21 minutes
System returned to ROM by power-on
System image file is "bootflash:cat4500e-universalk9.SPA.03.10.02.E.152-6.E2.bin"
Jawa Revision 7, Snowtrooper Revision 0x0.0x1C

Last reload reason: power-on

 

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.


License Information for 'WS-X45-SUP7-E'
License Level: ipbase Type: Permanent
Next reboot license Level: ipbase

cisco WS-C4510R+E (MPC8572) processor (revision 10) with 2097152K bytes of physical memory.
Processor board ID FOX1609GVNA
MPC8572 CPU at 1.5GHz, Supervisor 7
Last reset from PowerUp
6 Virtual Ethernet interfaces
192 Gigabit Ethernet interfaces
8 Ten Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.

Configuration register is 0x2102

4510MCR01>

it has got ssh

4510MCR01>ssh ?
-c Select encryption algorithm
-l Log in using this user name
-m Select HMAC algorithm
-o Specify options
-p Connect to this port
-v Specify SSH Protocol Version
-vrf Specify vrf name
WORD IP address or hostname of a remote system

but when i do this command it gets aborted

4510MCR01>ssh -l rwild 10.110.250.23
[Connection to 10.110.250.23 aborted: error status 0]
4510MCR01>

Is the encryption match on both switches? if it doesn't make them the same and try again.

You can also try and recreate the key in case something has gone wrong with it.

crypto key generate rsa xxx

 

HTH

Review Cisco Networking for a $25 gift card