Bug 2382

Summary: option to disable pid file with sshd
Product: Portable OpenSSH Reporter: Igor Bukanov <igor>
Component: DocumentationAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm, dtucker
Priority: P5    
Version: 6.8p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2360    
Attachments:
Description Flags
Document "none" for PidFile XAuthLocation TrustedUserCAKeys and RevokedKeys djm: ok+

Description Igor Bukanov 2015-04-15 21:43:44 AEST
It would be nice to allow to specify PidFile none or similar in sshd_config to prevent sshd from creating the pid file. Insistence on the pid file complicates running sshd with read-only file system which is possible with containers.
Comment 1 Darren Tucker 2015-04-16 09:56:16 AEST
This was recently added: https://anongit.mindrot.org/openssh.git/commit/?id=161cf419f412446635013ac49e8c660cadc36080

You can now say "PidFile none" in sshd_config but it looks like we need to also update the man page.
Comment 2 Darren Tucker 2015-04-16 10:13:51 AEST
Created attachment 2589 [details]
Document "none" for PidFile XAuthLocation TrustedUserCAKeys and RevokedKeys
Comment 3 Darren Tucker 2015-04-17 09:27:04 AEST
Thanks all.  I have committed the change (minor tweaks) and it will be in the 6.9 release.
Comment 4 Damien Miller 2016-08-02 10:41:49 AEST
Close all resolved bugs after 7.3p1 release