What about:

Tip: to restrict ssh logins to certain commands, have a look at the
ForceCommand directive (see "man sshd_config").

-- 
SSH ForceCommand
https://bugs.launchpad.net/bugs/413066
You received this bug notification because you are a member of Ubuntu
Server Tips, which is subscribed to Ubuntu Server Tips.

Status in Ubuntu Server Tips: Incomplete

Bug description:
Tip: to restrict ssh logins to execute a certain command only, use the 
ForceCommand directive in /etc/ssh/sshd_config

Example:
Match User *,!root
ForceCommand svnserve -t

will restrict all users but root to only execute the Subversion svnserve daemon.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-server-tips
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-server-tips
More help   : https://help.launchpad.net/ListHelp

Reply via email to