ssh-client: s/key/$key

GlobalKnownHostsFile was not installed, because key was not $key

Thanks Jan Stodola!

(cherry picked from commit 4ba44e899c)
Harald Hoyer 2015-01-12 14:20:42 +01:00
parent 20700e3dea
commit 509a3b2c33
1 changed files with 1 additions and 1 deletions

View File

@ -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