Enable SSH with DigiCert Certificate

  • 0
  • 1
  • Question
  • Updated 2 months ago
  • Answered
  • (Edited)
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?
Photo of Spa

Spa

  • 80 Points 75 badge 2x thumb

Posted 3 months ago

  • 0
  • 1
Photo of Spa

Spa

  • 80 Points 75 badge 2x thumb
Anyone have the answer for this please?
Photo of Ludovico Stevens

Ludovico Stevens, Employee

  • 430 Points 250 badge 2x thumb
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 admin
Now an SSH connection logs me in as admin, using my publickey, without having to enter any username/password.