0

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'?

1 Answers1

1

Sleepshell http://www.mariovaldez.net/software/sleepshell/ or rbash http://en.wikipedia.org/wiki/Restricted_shell could be you need.

KaP
  • 452
  • 1
  • 4
  • 17