diff options
author | joe <joe@jerkface.net> | 2016-04-25 21:33:38 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2016-04-25 21:33:38 -0400 |
commit | 187a12a4cadf8ea7dc9eee3002117af2265307e8 (patch) | |
tree | e02b3395fa92e90fda4024886616a4a2472ccbae /cokiki.hs | |
parent | c48ab8e04524f784e580537dd0e1cf018371b5ea (diff) |
Updated usage for cokiki.
Diffstat (limited to 'cokiki.hs')
-rw-r--r-- | cokiki.hs | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -15,12 +15,18 @@ import System.Posix.User | |||
15 | import CommandLine | 15 | import CommandLine |
16 | 16 | ||
17 | usage = unlines | 17 | usage = 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) |