I'm working on a Solaris 11.3 i86pc machine. Solaris ships an ancient version of OpenSSH and SunSSH, and they can only use RSA. I am trying to update OpenSSH.
I built and installed a modern version in /opt/ssh
. I'm now trying to tell Solaris to use it. The problem is, I have not found where Solaris starts the OpenSSH daemon. I expect there's a config file or script that calls sshd
but I have not been able to locate it.
Where does Solaris start the sshd daemon?
It does not appear to be started from a rc.*
file (per Startup script not executing after reboot on Solaris):
# /usr/gnu/bin/grep -IR sshd /etc/rc*
#
And I can't get my grep
of /etc
to complete:
# /usr/gnu/bin/grep -IR --exclude-dir=dev sshd /etc
/etc/ssh/sshd_config:# Configuration file for sshd(1m) (see also sshd_config(4))
/etc/ssh/sshd_config:# This file is used for the SunSSH and the OpenSSH versions of the sshd(1m)
...
/etc/ssh/sshd_config:# Are root logins permitted using sshd.
/etc/ssh/sshd_config:# Note that sshd uses pam_authenticate(3PAM) so the root (or any other) user
<hang here>
sshd
man page says a patched version of OpenSSL 1.2.12. I know it can only do RSA, and not Ecdsa or Ed25519. Lack of Ecdsa and Ec25519 support is why I want to upgrade.