{% extends 'base.html' %} {% block title %}Add New SSH Key{% endblock %} {% block content %}

Add a New SSH Key to an Existing Capsul

{% endblock %} {% block subcontent %}

We don't offer this feature in the capsul.org web console, and we never will.

Why? See the FAQ on recovery:

Can you recover my passwords/insert new keys?

Can we? Technically yes. Will we? No, never. It would violate the trust that our users have in us. We have no interest in touching client VMs after they're running. We promise to keep your machines running smoothly. If you lose access to your VM, that's on you.

If we built this feature, that would represent an additional security risk: anyone who can log into your capsul account or somehow exploit the capsul web application would be able to then log into your Capsul(s).

None of the big name cloud service providers offer this feature out of the box either, presumably for similar reasons.

So if you want to add a new key to the list of authorized ssh public keys on your capsul, you will have to do it manually: Just edit the ~/.ssh/authorized_keys file on your capsul. You would paste in each additional ssh public key as a new line in that file.

ℹ️ INFO: The tilde ~ here represents the user's home directory, so /home/cyberian/.ssh/authorized_keys for the default user on your capsul.
{% endblock %} {% block pagesource %}/templates/about-ssh.html{% endblock %}