diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-08-31 17:32:23 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-08-31 17:32:23 -0400 |
| commit | f38a1d0c0d8e482198e3f2a29ac92702715a755a (patch) | |
| tree | 0e09fa4ca7b4c6f1756bf8fe92b8ad2008a851cd | |
| parent | b769419aafe2331d512e8ae02f5ba925bd5f7185 (diff) | |
propellor spin
| -rw-r--r-- | joeyconfig.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs index 39ddaffd..ae3e6ab1 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -466,11 +466,13 @@ keysafe = host "keysafe.joeyh.name" $ props & Apt.serviceInstalledRunning "swapspace" & Cron.runPropellor (Cron.Times "30 * * * *") & Apt.installed ["openssh-server", "etckeeper", "sudo"] - & Ssh.noPasswords & User.hasSomePassword (User "root") & User.accountFor (User "joey") & User.hasSomePassword (User "joey") & Sudo.enabledFor (User "joey") + & Ssh.randomHostKeys + & User "joey" `Ssh.authorizedKeysFrom` (User "joey", darkstar) + & Ssh.noPasswords iabak :: Host iabak = host "iabak.archiveteam.org" $ props |
