05-06-2022 02:55 AM
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)
05-06-2022 03:01 AM - edited 05-06-2022 03:03 AM
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:
05-06-2022 03:21 AM
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
05-06-2022 07:13 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide