We have around sixteen X450G2-24p-10G4 switches which are stacked. We
have four switches in each stack which is now accessible via http and telnet. I would like to disable http and telnet and enable SSH and upload DigiCert certificate. Could someone please provide me the steps how to do this?
If you mean you want to use SSH publickey authentication, then I used these commands:
Slot-1 Stack.11 #% create sshd2 user-key ludo-pub AAAAB3NzaC1yc2EAAAABJQAAAQEArbM+nlBOOwU5l+Lyg12uNrxLFwbINY8hFzvizl3FAofxq1mnrVxwEK4GBVrC0gt+MDATOelxMfyg4TVLwR5hUOeA8nmAhzZN4fYzouLGrV4LgRp5s31G2ToJSSymUCIEikZSjsShv7ChVydB52mEq5vrPDYRLdojeBOOUipgdU4MuUUxqD38cUEHbzRlOuvKKDbXjRWfSEaadSv6o6o5JEQYN1diGE8Zq9kuOAc2l/KcXrPsYR2Q8AiXvVNvD77tbofxESPOEc1aGpatZ5Q+yf90b2jJsg1R/ooiCnLoQ4ekmCWNS0UwE2jOXpHXi1SHDUd8SbR+wKEr41CuwgyjMQ==* Slot-1 Stack.12 #% create sshd2 key-file user-key ludo-pub* Slot-1 Stack.13 #% configure sshd2 user-key ludo-pub add user adminNow an SSH connection logs me in as admin, using my publickey, without having to enter any username/password.