Skip to content
Snippets Groups Projects
Commit 7e8d6f7d authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

Junos system/login: add support for ECDSA keys

parent a9075ce6
No related branches found
No related tags found
No related merge requests found
Pipeline #85752 passed
...@@ -46,6 +46,10 @@ replace: login { ...@@ -46,6 +46,10 @@ replace: login {
ssh-dsa "{{ dsa_key }}"; ssh-dsa "{{ dsa_key }}";
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if login_user.authentication.ssh_ecdsa is defined %} {% for ecdsa_key in login_user.authentication.ssh_ecdsa %}
ssh-ecdsa "{{ ecdsa_key }}";
{% endfor %}
{% endif %}
{% if login_user.authentication.ssh_rsa is defined %} {% for rsa_key in login_user.authentication.ssh_rsa %} {% if login_user.authentication.ssh_rsa is defined %} {% for rsa_key in login_user.authentication.ssh_rsa %}
ssh-rsa "{{ rsa_key }}"; ssh-rsa "{{ rsa_key }}";
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment