X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fsshd%2Flocal.sh;h=8bb2f33b4616a2766727159d1767e703c9818ee3;hp=2abe7d1e82b77edfba44552ea1bb1cfd6d928f02;hb=6647e7fb851e2dbe5a5c7ec60358f7371bf17183;hpb=f40b9456a0359223ae8e5c4e2bcd0e6cd6d1ada8 diff --git a/etc/sv/sshd/local.sh b/etc/sv/sshd/local.sh index 2abe7d1..8bb2f33 100644 --- a/etc/sv/sshd/local.sh +++ b/etc/sv/sshd/local.sh @@ -1,6 +1,6 @@ "$tool"/local/apt-get-install openssh-server "$tool"/local/insserv-remove ssh -ssh-keygen -F "$local_fqdn" -f "$tool"/etc/openssh/known_hosts | +ssh-keygen -F "$local_fqdn" -f "$tool"/etc/ssh/known_hosts | ( while IFS= read -r line do case $line in (*" RSA") return 0; break;; esac done; return 1 ) ||