mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Use ssh_config.d
This commit is contained in:
parent
c208582e75
commit
046d3c8dcf
1 changed files with 6 additions and 2 deletions
|
@ -18,5 +18,9 @@ echo 'export fdroidserver=$home_vagrant/fdroidserver' >> $bsenv
|
||||||
chmod 0644 $bsenv
|
chmod 0644 $bsenv
|
||||||
|
|
||||||
# make sure that SSH never hangs at a password or key prompt
|
# make sure that SSH never hangs at a password or key prompt
|
||||||
printf ' StrictHostKeyChecking yes\n' >> /etc/ssh/ssh_config
|
mkdir -p /etc/ssh/ssh_config.d/
|
||||||
printf ' BatchMode yes\n' >> /etc/ssh/ssh_config
|
cat << EOF >> /etc/ssh/ssh_config.d/fdroid
|
||||||
|
Host *
|
||||||
|
StrictHostKeyChecking yes
|
||||||
|
BatchMode yes
|
||||||
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue