Safe Haskell | None |
---|
- setSshdConfig :: String -> Bool -> Property
- permitRootLogin :: Bool -> Property
- passwordAuthentication :: Bool -> Property
- hasAuthorizedKeys :: UserName -> IO Bool
- restartSshd :: Property
- randomHostKeys :: Property
- hostKey :: SshKeyType -> Property
- keyImported :: SshKeyType -> UserName -> Property
- knownHost :: [Host] -> HostName -> UserName -> Property
- authorizedKeys :: UserName -> Property
Documentation
setSshdConfig :: String -> Bool -> PropertySource
randomHostKeys :: PropertySource
Blows away existing host keys and make new ones. Useful for systems installed from an image that might reuse host keys. A flag file is used to only ever do this once.
hostKey :: SshKeyType -> PropertySource
Sets ssh host keys from the site's PrivData.
(Uses a null username for host keys.)
keyImported :: SshKeyType -> UserName -> PropertySource
Sets up a user with a ssh private key and public key pair from the site's PrivData.
knownHost :: [Host] -> HostName -> UserName -> PropertySource
Puts some host's ssh public key into the known_hosts file for a user.
authorizedKeys :: UserName -> PropertySource
Makes a user have authorized_keys from the PrivData