Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-autossh-tunnel-server
Set up a persistent tunnel (using autossh) in Debian-like systems (server side)
https://github.com/oefenweb/ansible-autossh-tunnel-server
ansible autossh autossh-tunnel-server debian ssh tunnel ubuntu
Last synced: 2 months ago
JSON representation
Set up a persistent tunnel (using autossh) in Debian-like systems (server side)
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-autossh-tunnel-server
- Owner: Oefenweb
- License: mit
- Created: 2015-08-14T13:06:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:01:40.000Z (about 1 year ago)
- Last Synced: 2023-11-02T11:36:31.945Z (about 1 year ago)
- Topics: ansible, autossh, autossh-tunnel-server, debian, ssh, tunnel, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 87.9 KB
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## autossh-tunnel-server
[![CI](https://github.com/Oefenweb/ansible-autossh-tunnel-server/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-autossh-tunnel-server/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-autossh--tunnel--server-blue.svg)](https://galaxy.ansible.com/Oefenweb/autossh_tunnel_server)Set up a persistent tunnel (using `autossh`) in Debian-like systems (server side).
#### Requirements
None
#### Variables
* `autossh_tunnel_server_user`: [default: `autossh`]: The user that will accept the `autossh` connection
* `autossh_tunnel_server_group`: [default: `autossh`]: The primary group of the `autossh` user
* `autossh_tunnel_server_groups`: [default: `[ssh_users]`]: The secondary groups of the `autossh` user
* `autossh_tunnel_server_shell`: [default: `/bin/false`]: The shell of the `autossh` user* `autossh_tunnel_server_authorized_keys`: [default: `[]`]: Authorized key declarations
* `autossh_tunnel_server_authorized_keys.{n}.src`: [required]: The local path of the key
* `autossh_tunnel_server_authorized_keys.{n}.state`: [optional, default: `present`]: State## Dependencies
None
## Recommended
* `ansible-autossh-tunnel-client` ([see](https://github.com/Oefenweb/ansible-autossh-tunnel-client))
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.autossh-tunnel-server
vars:
autossh_tunnel_server_groups:
- ssh_users
autossh_tunnel_server_authorized_keys:
- src: ../../../files/autossh-tunnel/etc/autossh/id_rsa.pub
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-autossh-tunnel-server/issues)!