Handles ssh daemon (server).
Configure SSHD for user space
Make sure that SSHD is properly configured
to be using an authorized_keys file.
Run a local SSHD server.
Copy your pub key into the 'authorized_keys' file
to be able to connect to the server.
Check dependencies for this module.
- 0: dependencies were found
- 1: failed to find dependencies
Configure the SSHD user config files
- 0: success
- 1: error
Run ssh server
- $1: host key file
- $2: port number
- $3: authorized key file
- $4: configuration template file
- Non-zero on failure.