Skip to content

Instantly share code, notes, and snippets.

View therealmitchconnors's full-sized avatar
💭
💥 cramming for my demo

Mitch Connors therealmitchconnors

💭
💥 cramming for my demo
View GitHub Profile
@suma
suma / _etc_init.d_autosshd
Last active August 25, 2020 07:38
Autossh init script(Ubuntu) for reverse ssh tunneling
#! /bin/sh
### BEGIN INIT INFO
# Provides: autosshd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: autosshd initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.