Skip to content

Instantly share code, notes, and snippets.

@vemacs
Created February 8, 2017 03:50
Embed
What would you like to do?
# systemd unit file
# place in /etc/systemd/system
# systemctl enable gotty.service
# systemctl start gotty.service
[Unit]
Description=Gotty Web Terminal
After=network.target
[Service]
User=gotty
Group=gotty
Environment=TERM=xterm-256color
ExecStart=/home/gotty/gotty -a 127.0.0.1 -p "4200" -w ssh root@localhost
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment