← Back to team overview

ubuntu-server-tips team mailing list archive

[Bug 413066] Re: SSH ForceCommand

 

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.