13 lines
853 B
HTML
13 lines
853 B
HTML
{% extends "horizon/common/_modal_form.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block modal-body-right %}
|
|
<p>{% trans "Key Pairs are how you login to your instance after it is launched." %}</p>
|
|
<p>{% trans "Choose a key pair name you will recognise and paste your SSH public key into the space provided." %}</p>
|
|
<p>{% trans "SSH key pairs can be generated with the ssh-keygen command:" %}</p>
|
|
<p><pre>ssh-keygen -t rsa -f cloud.key</pre></p>
|
|
<p>{% trans "This generates a pair of keys: a key you keep private (cloud.key) and a public key (cloud.key.pub). Paste the contents of the public key file here." %}</p>
|
|
<p>{% trans "After launching an instance, you login using the private key (the username might be different depending on the image you launched):" %}</p>
|
|
<p><pre>ssh -i cloud.key <username>@<instance_ip></pre></p>
|
|
{% endblock %}
|