1
General Discussion / Edit ssh configs (to allow certificate signed ssh access)
« on: September 30, 2024, 04:33:08 pm »
Hi All,
I'm trying to setup certificate signed ssh access to an OPNsense user and am a bit stuck. Normally it is just a matter of adding the following lines to my sshd_config file and its good to go:
TrustedUserCAKeys /etc/ssh/ca_key.pem
PasswordAuthentication no
The trouble is, I cannot find the sshd_config file in OPNsense! I do see a sshd_config file under /usr/local/etc/ssh/sshd_config, but this appears to be auto generated and I assume will be overwritten at some point?
Does anyone know how I can set this up or have any suggestions to try? Thanks for your help!
I'm trying to setup certificate signed ssh access to an OPNsense user and am a bit stuck. Normally it is just a matter of adding the following lines to my sshd_config file and its good to go:
TrustedUserCAKeys /etc/ssh/ca_key.pem
PasswordAuthentication no
The trouble is, I cannot find the sshd_config file in OPNsense! I do see a sshd_config file under /usr/local/etc/ssh/sshd_config, but this appears to be auto generated and I assume will be overwritten at some point?
Does anyone know how I can set this up or have any suggestions to try? Thanks for your help!