I need to create a user which can SSH to a server, but can not run any commands or view anything, for the purposes of tunneling the connection without risk of revealing credentials. How do I do this? I looked on google but found no sources.Edit: Would it also be possible to show a certain message to the user upon login? Instead of the usual 'Last logged in from xxx at yyy'?
How to create user with only SSH permissions
ssh;account restrictions
Sleepshell http://www.mariovaldez.net/software/sleepshell/ orrbash http://en.wikipedia.org/wiki/Restricted_shellcould be you need.