# Create a tunnel-only ssh user

source

useradd sshtunnel -m -d /home/sshtunnel -s /bin/rbash

echo 'PATH=""' >> .profile

chmod 555 /home/sshtunnel/
cd /home/sshtunnel/
chmod 444 .bash_logout .bashrc .profile
Last Updated: 9/22/2020, 2:16:31 AM