SSH ForceCommand

Bug #413066 reported by Volker Aßmann
6
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/sshd_config

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

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

Revision history for this message
Nick Barcet (nijaba) wrote :

Could you propose a rewrite so that it will fit on 2 lines (as per https://wiki.ubuntu.com/server-tips)?

Changed in ubuntu-server-tips:
status: New → Incomplete
Revision history for this message
Volker Aßmann (volka) wrote :

What about:

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

Nick Barcet (nijaba)
Changed in ubuntu-server-tips:
status: Incomplete → Confirmed
Dave Walker (davewalker)
Changed in ubuntu-server-tips:
assignee: nobody → Dave Walker (davewalker)
Dave Walker (davewalker)
Changed in ubuntu-server-tips:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.