summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/ssh_keys_generate.yaml
blob: 659fd93928e15f0733f5412119de28e30d197e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# SSH keys generated using cloud-init
#
required_features:
  - ubuntu_user
cloud_config: |
  #cloud-config
  ssh_genkeytypes:
  - ecdsa
  - ed25519
  authkey_hash: sha512
collect_scripts:
  auth_keys_root: |
    #!/bin/bash
    cat /root/.ssh/authorized_keys
  auth_keys_ubuntu: |
    #!/bin/bash
    cat /home/ubuntu/ssh/authorized_keys
  dsa_public: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_dsa_key.pub
  dsa_private: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_dsa_key
  rsa_public: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_rsa_key.pub
  rsa_private: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_rsa_key
  ecdsa_public: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_ecdsa_key.pub
  ecdsa_private: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_ecdsa_key
  ed25519_public: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_ed25519_key.pub
  ed25519_private: |
    #!/bin/bash
    cat /etc/ssh/ssh_host_ed25519_key

# vi: ts=4 expandtab