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