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

cisco catalyst 9300 is pingable but not reachable trough SSH

VincentVDP
Level 1
Level 1

Hello Everyone ,

 

I have a brand new switch and i configured it with the standard config of my company.

The switch has an IP address and I can ping it but when I'm trying to connect with SSH.

I get an error message in Putty (Network error: Connection refused)

3 Replies 3

Hi

 SSH need to be enabled and confured before using it.

Start by create a new user name and passwork:

username "cisco" passowrd cisco@123  (example)

Then create a domain

ip domain-name cisco.com (example)

aaa new model

crypto key generate rsa

use 2048 key size.

 

Full guide here:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-8/configuration_guide/sec/b_168_sec_9300_cg/configuring_secure_shell__ssh.pdf 

balaji.bandi
Hall of Fame
Hall of Fame

Try Telnet is that works ?  or else you need to get on to console do below checks.

 

show ip ssh   --> give you information is the ssh running

show run | s line  --> give you information is the ssh allowed in VTY Lines

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

The first thing you need to check is to make sure the image you are running support SSH. So, issue "sh ver" and at the very bottom, you should see something like this  "CAT9K_IOSXE". Do you see the 9k? If yes, your image supports ssh, if not it does not. If it does then just follow the link Flavio posted.

HTH

Review Cisco Networking for a $25 gift card