SSH ForceCommand
Bug #413066 reported by
Volker Aßmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Tips |
Fix Committed
|
Undecided
|
Dave Walker |
Bug Description
Tip: to restrict ssh logins to execute a certain command only, use the ForceCommand directive in /etc/ssh/
Example:
Match User *,!root
ForceCommand svnserve -t
will restrict all users but root to only execute the Subversion svnserve daemon.
Changed in ubuntu-server-tips: | |
status: | Incomplete → Confirmed |
Changed in ubuntu-server-tips: | |
assignee: | nobody → Dave Walker (davewalker) |
Changed in ubuntu-server-tips: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Could you propose a rewrite so that it will fit on 2 lines (as per https:/ /wiki.ubuntu. com/server- tips)?