I'm considering adding a provisioner for a new gpu provider (Paperspace). They are missing an API for adding SSH public keys, which instead need to be added through their cloud console. I wanted to hear the team's thoughts on alternative ways to add SSH public keys to Paperspace cloud console.
Andrew Aikawa (asaiacai)
Asked on Jan 25, 2024
There are a few alternative ways to add SSH public keys to Paperspace cloud console:
Use cloud-init
to add the public key to the remote cluster. Many Ubuntu-based images support running a cloud-init
setup when booting. Check if Paperspace's node creation API supports this functionality.
Check if there are any HTTP packages being sent when uploading the key to the console. It might be possible to directly send the necessary HTTP package through our code.