# 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: 11/4/2019, 1:37:35 PM