rc.conf has
sshd_enable="YES"
sysrc -a shows sshd_enable is set to YES.
[gautam@ghost ~]$ sysrc -a
devfs_system_ruleset: devfsrules_common
hostname: ghost
ifconfig_re0: DHCP
keymap: us.iso
kldload_nvidia: nvidia-modeset nvidia
ntpd_enable: YES
ntpd_sync_on_start: YES
rc_debug: YES
root_rw_mount: NO
sendmail_enable: NONE
sendmail_msp_queue_enable: NO
sendmail_outbound_enable: NO
sendmail_submit_enable: NO
sshd_enable: YES
zfs_enable: YES
However sshd service is not starting up on system boot.
In utter desperation I have resorted to checking and staring it from a cron job...
This is pathetic.
Have set rc_debug ="YES" and am getting no help.
What am I missing?
sshd not starting up on system boot
Re: sshd not starting up on system boot
We use OpenRC so service is started differently.
Code: Select all
sudo rc-update add sshd default
Re: sshd not starting up on system boot
Thanks. Much appreciated.
What is the best way to start smbd and nmbd at boot?
What is the best way to start smbd and nmbd at boot?
Re: sshd not starting up on system boot
Same command but with your service instead of sshd.