Lines Matching refs:sshd_config
202 csih_error_recoverable "Check your ${SYSCONFDIR}/sshd_config file!"
211 # Create default sshd_config from skeleton files in /etc/defaults/etc or
213 if /usr/bin/cmp "${SYSCONFDIR}/sshd_config" "${SYSCONFDIR}/defaults/${SYSCONFDIR}/sshd_config" >/dev/null 2>&1
215 csih_inform "Updating ${SYSCONFDIR}/sshd_config file"
216 sshdconfig_tmp=${SYSCONFDIR}/sshd_config.$$
220 < ${SYSCONFDIR}/sshd_config \
222 if ! /usr/bin/mv "${sshdconfig_tmp}" ${SYSCONFDIR}/sshd_config
225 csih_warning "Check your ${SYSCONFDIR}/sshd_config file!"
230 echo >> ${SYSCONFDIR}/sshd_config
231 if ! echo "UsePrivilegeSeparation ${privsep_used}" >> ${SYSCONFDIR}/sshd_config
234 csih_warning "Check your ${SYSCONFDIR}/sshd_config file!"
377 for i in "${SYSCONFDIR}"/ssh_config "${SYSCONFDIR}"/sshd_config "${SYSCONFDIR}"/ssh_host_*key "${SYSCONFDIR}"/ssh_host_*key.pub
736 # handle sshd_config (and privsep)
737 csih_install_config "${SYSCONFDIR}/sshd_config" "${SYSCONFDIR}/defaults" || let ++warning_cnt
738 if ! /usr/bin/cmp "${SYSCONFDIR}/sshd_config" "${SYSCONFDIR}/defaults/${SYSCONFDIR}/sshd_config" >/dev/null 2>&1
740 /usr/bin/grep -q UsePrivilegeSeparation ${SYSCONFDIR}/sshd_config && privsep_configured=yes