dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit bcf99a51e9c84f5062003fc33ec8c84c69f0afd2
parent c8dccb07b1dbc0f76fddcd2feef2fa6214011b9a
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Wed, 28 Aug 2024 18:18:53 -0500

systemd: added autossh for VNC and SSH

Diffstat:
A.config/systemd/user/autossh.service | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.config/systemd/user/autossh.service b/.config/systemd/user/autossh.service @@ -0,0 +1,7 @@ +[Unit] +Description=AutoSSH for VNC and SSH +After=network.target + +[Service] +Environment="AUTOSSH_GATETIME=0" +ExecStart=/usr/bin/autossh -M 0 -NC -L 5900:localhost:5900 -L 2222:localhost:2222 pcardenasb.com