capsul-flask/capsulflask/templates/add-ssh-key-to-existing-capsul.html

49 lines
1.7 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends 'base.html' %}
{% block title %}Add New SSH Key{% endblock %}
{% block content %}
<div class="row full-margin"><h1>Add a New SSH Key to an Existing Capsul</h1></div>
{% endblock %}
{% block subcontent %}
<div class="long-form">
<p>
We don't offer this feature in the capsul.org web console, and we never will.
</p>
<p>
Why? See the <a href="/faq#recovery">FAQ on recovery</a>:
</p>
<blockquote>
Can you recover my passwords/insert new keys?
<p>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.</p>
</blockquote>
<p>
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).
</p>
<p>
None of the big name cloud service providers offer this feature out of the box either, presumably for similar reasons.
</p>
<p>
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 <span class="code">
~/.ssh/authorized_keys
</span> file on your capsul. You would paste in each additional ssh public key as a new line in that file.
</p>
<blockquote>
<b> INFO:</b> The tilde <span class="code">~</span> here represents the user's home directory, so
<span class="code">/home/cyberian/.ssh/authorized_keys</span> for the default user on your capsul.
</blockquote>
</div>
{% endblock %}
{% block pagesource %}/templates/about-ssh.html{% endblock %}