"Fossies" - the Fresh Open Source Software Archive

Member "horizon-16.0.0/openstack_dashboard/dashboards/project/key_pairs/templates/key_pairs/_import.html" (16 Oct 2019, 853 Bytes) of package /linux/misc/openstack/horizon-16.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {% extends "horizon/common/_modal_form.html" %}
    2 {% load i18n %}
    3 
    4 {% block modal-body-right %}
    5   <p>{% trans "Key Pairs are how you login to your instance after it is launched." %}</p>
    6   <p>{% trans "Choose a key pair name you will recognise and paste your SSH public key into the space provided." %}</p>
    7   <p>{% trans "SSH key pairs can be generated with the ssh-keygen command:" %}</p>
    8   <p><pre>ssh-keygen -t rsa -f cloud.key</pre></p>
    9   <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>
   10   <p>{% trans "After launching an instance, you login using the private key (the username might be different depending on the image you launched):" %}</p>
   11   <p><pre>ssh -i cloud.key &lt;username&gt;@&lt;instance_ip&gt;</pre></p>
   12 {% endblock %}