bon utilisateur

This commit is contained in:
Iwan Clément
2019-05-03 17:30:58 +02:00
parent 7ebd2479ad
commit 0eb04c6278

View File

@@ -4,7 +4,7 @@ Description=Setup a secure tunnel to {{ANS_ADDR_TARGET}}
After=network.target
[Service]
User=${ANS_TARGET_USER}
User=${ANS_REMOTE_USER}
EnvironmentFile=/etc/default/secure-tunnel
ExecStart=/usr/bin/ssh -p ${REMOTE_PORT} -NT -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -R ${RTARGET_PORT}:localhost:22 ${ANS_TARGET_USER}@${TARGET}