SSHD module: Run

Run a local SSHD server.

Example

First generate the server host key:

space -m sshd /config/

Default SSHD server start:

space -m sshd /run/

SSHD server start on port 22 and customized file paths:

space -m sshd /run/ -- "/home/janitor/ssh_host_rsa_key" "22" "/home/janitor/authorized_keys"

Exit status code is expected to be 0 on success.

Edit this page