2 ms·
# Ensure .d directories exist sudo mkdir -p /etc/ssh/sshd_config.d sudo mkdir -p /etc/ssh/ssh_config.d Note that this was added in OpenSSH 8.2, release
by throw0101b 3y ago
# Ensure .d directories exist
sudo mkdir -p /etc/ssh/sshd_config.d
sudo mkdir -p /etc/ssh/ssh_config.d
Note that this was added in OpenSSH 8.2, released 2020-02-14:
* https://bugzilla.mindrot.org/show_bug.cgi?id=2468 https://bugzilla.mindrot.org/show_bug.cgi?id=2468
* https://www.openssh.com/txt/release-8.2 https://www.openssh.com/txt/release-8.2
If you have an older version this will not work.
- keepamovin 3y agoCool. Might be good to add a workaround in that case, maybe appending to the actual user local client config, and global daemon config with grep for a comment block to check if it's already been added.