Use ssh_config.d

This commit is contained in:
Jochen Sprickerhof 2021-10-30 20:58:42 +02:00 committed by Hans-Christoph Steiner
parent c208582e75
commit 046d3c8dcf

View file

@ -18,5 +18,9 @@ echo 'export fdroidserver=$home_vagrant/fdroidserver' >> $bsenv
chmod 0644 $bsenv
# make sure that SSH never hangs at a password or key prompt
printf ' StrictHostKeyChecking yes\n' >> /etc/ssh/ssh_config
printf ' BatchMode yes\n' >> /etc/ssh/ssh_config
mkdir -p /etc/ssh/ssh_config.d/
cat << EOF >> /etc/ssh/ssh_config.d/fdroid
Host *
StrictHostKeyChecking yes
BatchMode yes
EOF