Lines Matching refs:ssh
103 # If we're using openssh and the /etc/ssh directory has no pre-generated keys,
104 # we should configure openssh to use the configuration file /etc/ssh/sshd_config_readonly
105 # and the keys under /var/run/ssh.
109 if [ -d ${IMAGE_ROOTFS}/etc/ssh ]; then
110 if [ -e ${IMAGE_ROOTFS}/etc/ssh/ssh_host_rsa_key ]; then
111 echo "SYSCONFDIR=\${SYSCONFDIR:-/etc/ssh}" >> ${IMAGE_ROOTFS}/etc/default/ssh
112 echo "SSHD_OPTS=" >> ${IMAGE_ROOTFS}/etc/default/ssh
114 echo "SYSCONFDIR=\${SYSCONFDIR:-/var/run/ssh}" >> ${IMAGE_ROOTFS}/etc/default/ssh
115 echo "SSHD_OPTS='-f /etc/ssh/sshd_config_readonly'" >> ${IMAGE_ROOTFS}/etc/default/ssh
163 if [ -e ${IMAGE_ROOTFS}${sysconfdir}/ssh/$config ]; then
164 …space:]]*PermitEmptyPasswords.*/PermitEmptyPasswords yes/' ${IMAGE_ROOTFS}${sysconfdir}/ssh/$config
191 if [ -e ${IMAGE_ROOTFS}${sysconfdir}/ssh/$config ]; then
192 …sed -i 's/^[#[:space:]]*PermitRootLogin.*/PermitRootLogin yes/' ${IMAGE_ROOTFS}${sysconfdir}/ssh/$…