Wireless Access

 View Only
  • 1.  Aruba 3810 public key install

    Posted Mar 11, 2026 12:18 PM

    Has anyone been able to get their public key to attach to their username in the Aruba 3810? Every time i tried i kept getting "invalid key" despite using the exact same public key I have in my other switches. Also, for some weird reason the switch will accept "ssh-rsa" as a username but not my actual username when i input "Ip ssh public-key manager username <my username>"



    -------------------------------------------


  • 2.  RE: Aruba 3810 public key install

    Posted Mar 11, 2026 12:21 PM

    Are your other switches also AOS-S/PVOS switches (same operating system)?

    Is the 3810 on the same firmware version?



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 3.  RE: Aruba 3810 public key install

    Posted Mar 16, 2026 08:35 AM

    My other switches are 8320s so a different OS and command structure.

    -------------------------------------------



  • 4.  RE: Aruba 3810 public key install

    Posted Mar 16, 2026 08:52 AM

    update: They command took but says "invalid key" here is an example output. See below



    ip ssh public-key manager "ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" username johndoe

    -------------------------------------------



  • 5.  RE: Aruba 3810 public key install

    Posted Mar 18, 2026 08:00 AM

    I've personally never successfully installed a user's public key on a AOS-S device, but found if the key is not accepted, you should make sure the key is of type RSA (which your key seems to be) and if it doesn't work try a 2048 bit key. The following command is at least accepted in my switch:

    sw00(config)# ip ssh public-key manager username admin "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9p1kI14UO1JhxEEBoXfaOz6Ret2BYRBrw7+IeQ2pkKd9SeCZmUQwnv+/LCy8NnQNAIar4QhTvckyGpVnfuHh3xoUgpGZKJF4a/5Ge88+jmMYBo/jo0uyri0MLsra3Lnmj55QlZ93MsbpLZW7Zf6yrUZ+MJWccgkwwH/u16h2kpq7C1Q7HYClRJsHmebnr36L66B5GX/5WKoPI2IWKJuhTDMzs+jkk6t2oYWZd3in/kGUdn2RSRlks0mzEi9i1urtoZzGeojYMTX4YFjzeI2CgXDj8X0ZD9R8DoGlWs/J4TTz20lujqYiWcuFsHygNRPNMUOYnvkOQKs
    NonNTg/84D hermantest@ubuntu-server"

    I swapped the key and the username, but that may not be needed. Also I think there should be a name a the end of the key-line, so "ssh-rsa <key> <name/id>". Hope this works for you as well.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your HPE Aruba Networking partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact HPE Aruba Networking TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or HPE Aruba Networking.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------