{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block modal-body-right %}

{% trans "Key Pairs are how you login to your instance after it is launched." %}

{% trans "Choose a key pair name you will recognise and paste your SSH public key into the space provided." %}

{% trans "SSH key pairs can be generated with the ssh-keygen command:" %}

ssh-keygen -t rsa -f cloud.key

{% 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." %}

{% trans "After launching an instance, you login using the private key (the username might be different depending on the image you launched):" %}

ssh -i cloud.key <username>@<instance_ip>

{% endblock %}