style changes and introducing /add-ssh-key-to-existing-capsul
This commit is contained in:
48
capsulflask/templates/add-ssh-key-to-existing-capsul.html
Normal file
48
capsulflask/templates/add-ssh-key-to-existing-capsul.html
Normal file
@ -0,0 +1,48 @@
|
||||
{% 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 %}
|
||||
|
Reference in New Issue
Block a user