How to Configure SSH on Dell Power-Connect
Although not dealing with Cisco directly Dell switches are around in network closets and with my limited experience with them I thought this would be a perfect blog post to show the differences between Dell and Cisco. I like to think of Dell CLI like a dumb downed version of the Cisco CLI so I had some time to play around with a Dell 6248P switch and wanted to figure out how to get SSH working in the thing. Couple searches around the web and some guess and check methods I was able to get SSH working and disable telnet sessions from connecting to the switch. Compared to a Cisco switch dell has few commands when configuring SSH. This switch was configured with an IP address and user name and passwords before I touched it but I don't think would too hard to figure out. :)
So if you never touched a Dell switch like I have but worked with Cisco CLI you'll find that it is similar which is nice feature, I used telnet to remote into the switch which is insecure and sends information in plain text, which is why we are moving to SSH. So after typing the username and password I was prompted a familiar sign. I typed enable to get into privilege EXEC mode.
EdgeSW0D>enable
EdgeSW0D#show crypto key mypubkey
RSA Key is not Generated yet !
DSA Key is not Generated yet !
EdgeSW0D#configure
EdgeSW0D(config)#crypto key generate dsa
DSA key generation started, this may take a few minutes................
DSA key generation complete.
EdgeSW0D(config)#ip ssh server
SSH could not be enabled.
EdgeSW0D(config)#crypto key generate rsa
RSA key generation started, this may take a few minutes.....
RSA key generation complete.
EdgeSW0D(config)#ip ssh server
EdgeSW0D#show sessions
Connection Host Address Port
---------- --------------- --------------- ------
0 172.27.227.67 172.27.227.67 Telnet
1 172.27.227.67 172.27.227.67 SSH
EdgeSW0D#configure
EdgeSW0D(config)#ip telnet server disable
Related articles
- What do you mean privilege escalation is not HIGH RISK? (pauldotcom.com)
- 9 Awesome SSH Tricks (tychoish.com)
- Simple Two-Factor SSH Authentication (moocode.com)
- imabonehead: Symkat - SSH: Tips And Tricks You Need (symkat.com)