Wired Intelligent Edge

 View Only
  • 1.  ArubaOS Remove ssh public key

    Posted Apr 15, 2023 06:24 AM

    Hi,
    i am just in the preparations to deploy ssh public keys and i found it impossible to remove keys once deployed. Platforms would be 2930, 2540 ArubaOS based.

    Deploy by tftp or ip ssh public-key manager is easy. I fail to find a way to remove the keys from the command line.

    Thats the config statement when "include-credentials" is set:

    ip ssh public-key manager 'ssh-rsa \
    AAAAB3NzaC1yc2EAAAABIwAAAIEAt3g97cGfOA9DnAKF6h8RlFDppPtyKfjlyvG4f+gTTYAk\
    JVxeC8aCab4rSlhxNKho6r7OoZRj408J0/rr0INtbA4FnepQBZlvWwrV3vZRafVMq6rwXF3h\
    h22d8iDv+g2HTDiGIlgANwaRlQP56gM9C8sF7gGw4PyaU7qG8+AAn3U= \
    "Florian Lohoff <f@zz.de>"'

    Flo



  • 2.  RE: ArubaOS Remove ssh public key

    Posted Dec 27, 2023 04:19 PM

    I also have this problem, how do you remove the keys? The documentation only says you can have a maximum of 10.




  • 3.  RE: ArubaOS Remove ssh public key

    Posted Dec 28, 2023 01:50 PM
    Edited by Zac67 Dec 28, 2023 02:03 PM

    The clients' public keys are uploaded to the switch via TFTP or SFTP. Just remove the unwanted public key(s) from the key file and upload it again, overwriting the switch's local file. If you don't want any public keys, upload an empty file.

    Either

    copy tftp pub-key-file <ip-address> <filename>

    or

    SFTP to /ssh/mgr_keys/authorized_keys