summaryrefslogtreecommitdiff
path: root/cokiki.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-04-25 21:33:38 -0400
committerjoe <joe@jerkface.net>2016-04-25 21:33:38 -0400
commit187a12a4cadf8ea7dc9eee3002117af2265307e8 (patch)
treee02b3395fa92e90fda4024886616a4a2472ccbae /cokiki.hs
parentc48ab8e04524f784e580537dd0e1cf018371b5ea (diff)
Updated usage for cokiki.
Diffstat (limited to 'cokiki.hs')
-rw-r--r--cokiki.hs12
1 files changed, 9 insertions, 3 deletions
diff --git a/cokiki.hs b/cokiki.hs
index 1d57ca9..8874625 100644
--- a/cokiki.hs
+++ b/cokiki.hs
@@ -15,12 +15,18 @@ import System.Posix.User
15import CommandLine 15import CommandLine
16 16
17usage = unlines 17usage = unlines
18 [ "cokiki <command>" 18 [ "cokiki <command> [--chroot=ROOTDIR] [--homedir=HOMEDIR] [--passphrase-fd=FD]"
19 , "" 19 , ""
20 , "COMMANDS" 20 , "COMMANDS"
21 , ""
21 , " ssh-client" 22 , " ssh-client"
22 , " ssh-server" 23 , " 1) Modify system ssh configuration to respect /var/cache/kiki/ssh_known_hosts."
23 , " strongswan" 24 , " 2) Set kiki ssh-server key to /etc/ssh/ssh_host_rsa_key. If kiki already has"
25 , " an ssh-server key configured, it will be replaced."
26 , " 3) Refresh /var/cache/kiki/*"
27 , ""
28 , " ssh-server: TODO"
29 , " strongswan: TODO"
24 ] 30 ]
25 31
26ㄧchroot :: Args (FilePath -> FilePath) 32ㄧchroot :: Args (FilePath -> FilePath)