From a2e2eed8f3d9b7b8a2b4149cba69063e6e8ab132 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 29 May 2022 11:22:20 +0200 Subject: avoid password-authentication for ssh --- bin/local-build-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/local-build-package') diff --git a/bin/local-build-package b/bin/local-build-package index 97cc998..e0b02dc 100755 --- a/bin/local-build-package +++ b/bin/local-build-package @@ -231,7 +231,7 @@ if ${bootstrap}; then esac scp -P "${bootstrap_port}" -rC "${tmp_dir}/"*"-${arch}.pkg.tar.zst" "${tmp_dir}/"*"-${arch}.pkg.tar.zst.sig" "${bootstrap_host}:${bootstrap_dir}/${staging_repo}/." - ssh -p "${bootstrap_port}" "${bootstrap_host}" bash -l -c "'cd ${bootstrap_dir}/${staging_repo} && repo-add -n bootstrap-${staging_repo}.db.tar.gz *-${arch}.pkg.tar.zst'" + ssh -o PasswordAuthentication=No -p "${bootstrap_port}" "${bootstrap_host}" bash -l -c "'cd ${bootstrap_dir}/${staging_repo} && repo-add -n bootstrap-${staging_repo}.db.tar.gz *-${arch}.pkg.tar.zst'" fi # do not delete build reports, why might actually to want to have a look for things -- cgit v1.2.3-54-g00ecf