Prevent certain groups/users from running commands, but give them an ssh terminal
I need to prevent a group of users (ssh-tun) from executing any commands. They still need to have ssh access so that they can use an ssh tunnel, but without being able to do anything to my ec2 box. Any suggestions or solutions would be much appreciated!
Thank you in advance!