# Create a tunnel-only ssh user
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
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