Bug 2486 - allow ForceCommand none or similar
Summary: allow ForceCommand none or similar
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: All All
: P5 enhancement
Assignee: Damien Miller
URL:
Keywords:
Depends on:
Blocks: V_7_2
  Show dependency treegraph
 
Reported: 2015-11-02 09:33 AEDT by Christoph Anton Mitterer
Modified: 2021-04-23 15:03 AEST (History)
2 users (show)

See Also:


Attachments
accept "none" to ForceCommand and ChrootDirectory (1.73 KB, patch)
2015-11-13 13:53 AEDT, Damien Miller
dtucker: ok+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2015-11-02 09:33:01 AEDT
Hi.

As ForceCommand can be used in Match blocks, it would be nice to have something like a special parameter "none", which allows one to unset a forced command from a higher scope.

Cheers,
Chris.
Comment 1 Damien Miller 2015-11-13 13:53:50 AEDT
Created attachment 2751 [details]
accept "none" to ForceCommand and ChrootDirectory
Comment 2 Damien Miller 2015-11-13 15:38:24 AEDT
Applied - this will be in OpenSSH 7.2
Comment 3 Damien Miller 2021-04-23 15:03:57 AEST
closing resolved bugs as of 8.6p1 release