You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to have ttyd launch on startup and restart automatically on error, you can create and enable a service file running its binary. Say we've downloaded a binary from the releases page and moved it to /opt (so its full path is now /opt/ttyd). paste the following content into /etc/systemd/system/ttyd.service:
MAKE SURE YOU DON'T RUN ANY COMMAND OTHER THAN login AS ROOT, AND THAT YOUR ROOT ACCOUNT HAS A PASSWORD. IF YOU CHOOSE TO RUN A DIFFERENT COMMAND, USE ANY NON-ROOT USER.