diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-16 09:46:54 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-16 09:46:54 +0200 |
commit | b101b05edddf8c4d0bc7893f0d0128c9f9a31b71 (patch) | |
tree | df6491eaa449925922b96cb6ec425768998358e2 /autossh/systemd | |
parent | 30cb89e8017b2a9c8a0adf3665fbcfe91ea558fe (diff) |
Tidy comments: Consistently generalize hostnames.
Diffstat (limited to 'autossh/systemd')
-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 |