https://github.com/albertodonato/sshuttle-bastion-snap
Snap with OpenSSH server for use as sshuttle bastion host
https://github.com/albertodonato/sshuttle-bastion-snap
snap ssh-server sshd sshuttle vpn vpn-server
Last synced: 7 months ago
JSON representation
Snap with OpenSSH server for use as sshuttle bastion host
- Host: GitHub
- URL: https://github.com/albertodonato/sshuttle-bastion-snap
- Owner: albertodonato
- License: apache-2.0
- Archived: true
- Created: 2019-11-22T23:56:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T18:27:39.000Z (almost 5 years ago)
- Last Synced: 2024-10-24T06:28:44.907Z (12 months ago)
- Topics: snap, ssh-server, sshd, sshuttle, vpn, vpn-server
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# OpenSSH server for a sshuttle bastion host
[](https://snapcraft.io/sshuttle-bastion)
This snap provides an SSH server for use as a [sshuttle](https://github.com/sshuttle/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
```bash
sudo snap install sshuttle-bastion --edge
```[](https://snapcraft.io/sshuttle-bastion)
## 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:
```bash
sudo snap set sshuttle-bastion =
```