diff options
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) |