Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 1.18 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.18 KB

OpenSSH server for a sshuttle bastion host

Snap Package

This snap provides an SSH server for use as a sshuttle VPN endpoint.

It also includes the Python3 interpreter. to be able to run the server side scripts for sshuttle.

Installing

The snap can be installed from the store via

    sudo snap install sshuttle-bastion --edge

Get it from the Snap Store

Configuration

The service is started by default on port 2222, and accessible via key authentication, using the (snap-confined) root user. To allow access, authorized keys must be configured.

Here's the full list of available config options:

  • ssh.loglevel [INFO]: loglevel for the ssh daemon. Logs are sent to stdout and accessible through journalctl.
  • ssh.port: [2222]: service port.
  • ssh.authorizedkeys: content of the authorized_keys file for the root user.

Settings can be applied via:

    sudo snap set sshuttle-bastion <key>=<value>