Sha256: 5d4fbf7f3e4d952ea33eecf84420de5327ff69f3aaedeea773c31ba6d00e3110

Contents?: true

Size: 525 Bytes

Versions: 53

Compression:

Stored size: 525 Bytes

Contents

# # Generate User Ssh Key
- generate_keys:
  - exec_in: |
      mkdir -p /home/$$user_name/.ssh
      ssh-keygen -t rsa -C "$$user_name@$$network_hostname" -N "" -f home/$$user_name/.ssh/id_rsa
      #fix permissions
      chmod 700 /home/$$user_name/.ssh
      chmod 644 /home/$$user_name/.ssh/id_rsa.pub
      chmod 600 /home/$$user_name/.ssh/id_rsa
  - exec_in: chown -R $$user_name:$$user_group home/$$user_name/.ssh
- save_public_key:
  - in2local:
    - /home/$$user_name/.ssh/id_rsa.pub
    - $$generated_rsa_pub_dir

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
kameleon-builder-2.10.11 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.10 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.9 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.8 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.7 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.6 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.5 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.4 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.3 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.2 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.10.1 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.9.4 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.9.2 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.9.1 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.9.0 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.8.3 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.8.2 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.8.1 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.7.8 contrib/steps/setup/generate_user_ssh_key.yaml
kameleon-builder-2.7.7 contrib/steps/setup/generate_user_ssh_key.yaml