A quick and dirty Python script to install SSH public keys onto Procurve switches.
For more information, visit: https://joshuamarvel.com/automate-procurve-client-public-key-ssh-authentication-setup/
Prerequisites: Pexpect only runs on Linux so this script can only be run from Linux based systems.
Install Pip and Pexpect:
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install pexpect