mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-04-04 23:26:00 -04:00
Use ssh_config.d
This commit is contained in:
committed by
Hans-Christoph Steiner
parent
c208582e75
commit
046d3c8dcf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user