Networking General
Posts
Solved!
Go to Solution1 Rookie
•
46 Posts
0
1623
February 8th, 2022 22:00
Why can't I SSH my PowerConnect 6224
Hi,
I can only access the switch by WebGui.
When I make SSH connection it doesn't connect.
Thanks.
Responses(1)
15
0
2
8
0
2
22
0
2
27
0
1
86
0
2
No Events found!
DELL-Erman O
Moderator
Moderator
•
2.4K Posts
0
February 9th, 2022 04:00
Hi, please check below, reference link https://dell.to/3rC42CF;
Also I'm adding CLI guide if you need it "Dell PowerConnect 6200 Series System CLI Reference Guide" https://dell.to/3HQh5pG
Step 1: Create user
Use the following command to create a specific username with a password and privilege level of 15. The different privilege levels are: Level 0 – No access, Level 1 – Guest access, and Level 15 – Admin access. console# config Console(config)#username password level <0,1,15>
Step 2: Create an enable password
The following commands are to create a password that is used to access the higher privilege levels. Once this is set, after entering enable in the console, It will prompt for a password. console(config)#aaa authentication enable enable console(config)#enable password
Step 3: Set Login method
The following command sets the login method to use local user credentials on the switch.
console(config)#aaa authentication login local
Step 4: Create certificate/keys
The following commands are to create the required certificate and keys. console(config)# crypto certificate 1 generate console(config-cert)#key-generate console(config-crypto-cert)# exit console(config)# crypto key generate rsa console(config)# crypto key generate dsa Console(config)#ip ssh pubkey-auth
Step 5: Enable SSH
The following command is to enable access to the switch through SSH.
console(config)# ip ssh server
Step 6: Enable HTTPS
The following command will enable access to the switch through HTTPS.
console(config)# ip https server
Step 7: Disable Telnet
Before disabling Telnet, make sure you can connect through SSH. Then run this command to disable Telnet access.
console(config)#ip telnet server disable
Step 8: Disable HTTP
Before disabling HTTP, make sure you can connect through HTTPS. Then run this command to disable HTTP access.
console(config)#no ip http server
Step 9: Saving config
Once this is done make sure to test everything out. Making sure you cannot Telnet or HTTP to the switch. If everything is good then save your running config. console(config)#Copy running-config startup-config
Hope that helps!