← Back to team overview

ubuntu-server-tips team mailing list archive

[Bug 413066] Re: SSH ForceCommand

 

** Changed in: ubuntu-server-tips
       Status: Incomplete => Confirmed

-- 
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: Confirmed

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.