Bug 2486

Summary: allow ForceCommand none or similar
Product: Portable OpenSSH Reporter: Christoph Anton Mitterer <calestyo>
Component: sshdAssignee: Damien Miller <djm>
Status: CLOSED FIXED    
Severity: enhancement CC: djm, dtucker
Priority: P5    
Version: -current   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 2451    
Attachments:
Description Flags
accept "none" to ForceCommand and ChrootDirectory dtucker: ok+

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