Lines Matching refs:sshd_config
21 # HostKey keywords in sshd_config may be preceded or
33 $SSHDIR/sshd_config | grep "$keypath" > /dev/null 2>&1
51 $SSHDIR/sshd_config | grep "$keypath" > /dev/null 2>&1
59 # Makes sure, that /etc/ssh/sshd_config does not contain single line
62 # This used to be part of default SunSSH sshd_config and instructed SunSSH
68 fbackup="$SSHDIR/sshd_config.pre_listenaddress_fix"
70 # Historically default sshd_config was shipped with 'ListenAddress ::',\n\
79 expl4log="Historically default sshd_config was shipped with \
85 $SSHDIR/sshd_config, the file will not be modified. Please, check your \
90 # only modify sshd_config, if ssh implementation is OpenSSH
95 # comment '# IPv4 & IPv6' indicates an old default sshd_config
96 grep -q '^# IPv4 & IPv6$' $SSHDIR/sshd_config || return 0;
99 cp $SSHDIR/sshd_config $fbackup
102 listen_address=$(grep -i '^[ \t]*ListenAddress' $SSHDIR/sshd_config)
116 sshd_config=$(nawk "$awk_prog" $SSHDIR/sshd_config)
122 echo "$sshd_config" > $SSHDIR/sshd_config
160 # Make sure, that /etc/ssh/sshd_config does not contain single line