dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout : iodined tunnel IP sur DNS.
[lhc/ateliers.git]
/
etc
/
sv
/
sshd
/
local.sh
diff --git
a/etc/sv/sshd/local.sh
b/etc/sv/sshd/local.sh
index
2abe7d1
..
8bb2f33
100644
(file)
--- 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
"$tool"/local/apt-get-install openssh-server
"$tool"/local/insserv-remove ssh
-ssh-keygen -F "$local_fqdn" -f "$tool"/etc/
open
ssh/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 ) ||
( while IFS= read -r line
do case $line in (*" RSA") return 0; break;; esac
done; return 1 ) ||