diff options
Diffstat (limited to 'autossh/systemd/system')
-rw-r--r-- | autossh/systemd/system/autossh@.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autossh/systemd/system/autossh@.service b/autossh/systemd/system/autossh@.service index 2f4d5f3..f549e16 100644 --- a/autossh/systemd/system/autossh@.service +++ b/autossh/systemd/system/autossh@.service @@ -10,8 +10,8 @@ # * Create locked-down user # adduser --system --group --force-badname $CLIENT # * Accept connections from $CLIENT (copy pubkey from above): -# su - olav.jones.dk -c "mkdir -p ~/.ssh" -# su - olav.jones.dk -c "echo '$PUBKEY' > ~/.ssh/authorized_keys" +# su - $CLIENT -c "mkdir -p ~/.ssh" +# su - $CLIENT -c "echo '$PUBKEY' > ~/.ssh/authorized_keys" # # On $CLIENT # * Test (and approve) connection to $SERVER: @@ -24,7 +24,7 @@ # # On $SERVER # * Locate port: -# lsof -nai TCP -a -u olav.jones.dk +# lsof -nai TCP -a -u $CLIENT # * Connect: # ssh -p $PORT 127.0.0.1 |