From 1538a33f0c39008cbd70a979d98d02a6da513313 Mon Sep 17 00:00:00 2001 From: JOduMonT Date: Sun, 13 Aug 2017 10:44:59 +0700 Subject: [PATCH] typo + sshkey forget the s a permission + add sskey --- user_data | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user_data b/user_data index f1aa577..701c8c9 100644 --- a/user_data +++ b/user_data @@ -1,5 +1,8 @@ #cloud-config +ssh_authorized_keys: + - "PUT YOUR SSH KEY PUBLIC HERE" + write_files: - path: /etc/ssh/sshd_config permissions: 0600 @@ -26,7 +29,7 @@ write_files: 255.255.255.255 broadcasthost ::1 localhost - path: /etc/environment - permission: 0644 + permissions: 0644 owner: root content: | NAMECHEAP_URL="namecheap.com" -- GitLab