Skip to content
/ sshd Public

Space.sh module to setup and run ssh daemon (server)

License

Notifications You must be signed in to change notification settings

space-sh/sshd

Repository files navigation

SSHD module | build status

Handles ssh daemon (server).

/config/

Configure SSHD for user space

Make sure that SSHD is properly configured
to be using an authorized_keys file.

/run/

Run a local SSHD server.

Copy your pub key into the 'authorized_keys' file
to be able to connect to the server.

Functions

SSHD_DEP_INSTALL()

Check dependencies for this module.

Returns:

  • 0: dependencies were found
  • 1: failed to find dependencies

SSHD_CONFIG()

Configure the SSHD user config files

Returns:

  • 0: success
  • 1: error

SSHD_RUN()

Run ssh server

Parameters:

  • $1: host key file
  • $2: port number
  • $3: authorized key file
  • $4: configuration template file

Returns:

  • Non-zero on failure.

About

Space.sh module to setup and run ssh daemon (server)

Resources

License

Stars

Watchers

Forks

Languages