Persistent SSH Tunnels: Difference between revisions

Jump to navigation Jump to search
m
m (Added category)
Line 8: Line 8:
''Note:  This user does not have a password assigned or a shell.  This will prevent user logins to the system.''
''Note:  This user does not have a password assigned or a shell.  This will prevent user logins to the system.''
<pre>
<pre>
useradd -m -s /bin/false autossh
useradd -m -s /bin/false autossh   # note: you may need to use /usr/sbin/bash on some systems
</pre>
</pre>
Now switch to the user and generate an SSH key:
Now switch to the user and generate an SSH key:

Navigation menu