ssh-client: s/key/$key
GlobalKnownHostsFile was not installed, because key was not $key
Thanks Jan Stodola!
(cherry picked from commit 4ba44e899c
)
parent
20700e3dea
commit
509a3b2c33
|
@ -45,7 +45,7 @@ inst_sshenv()
|
|||
inst_simple /etc/ssh/ssh_config
|
||||
sed -i -e 's/\(^[[:space:]]*\)ProxyCommand/\1# ProxyCommand/' ${initdir}/etc/ssh/ssh_config
|
||||
while read key val; do
|
||||
[[ key != "GlobalKnownHostsFile" ]] && continue
|
||||
[[ $key != "GlobalKnownHostsFile" ]] && continue
|
||||
inst_simple "$val"
|
||||
break
|
||||
done < /etc/ssh/ssh_config
|
||||
|
|
Loading…
Reference in New Issue