summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/ssh_keys_generate.yaml
blob: 0a7adf62e66bf4210102b0ed8cc4ddda27b5465a (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
#
# SSH keys generated using cloud-init
#
required_features:
  - ubuntu_user
cloud_config: |
  #cloud-config
  ssh_genkeytypes:
  - ecdsa
  - ed25519
  authkey_hash: sha512
collect_scripts:
  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