X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Finit_user_login.sh;h=820b5abf60ca191d02ed8f1457e7043a26dd1681;hb=8bf1d4cc6f8c2b230d8739d71be2ecced093463f;hp=aa8a03f6b090c076f6bbec57fda41bfeec004174;hpb=8ed8e5a07a978a10b67c377ad577176a2bcf333b;p=config diff --git a/bookworm/setup_scripts/init_user_login.sh b/bookworm/setup_scripts/init_user_login.sh index aa8a03f..820b5ab 100755 --- a/bookworm/setup_scripts/init_user_login.sh +++ b/bookworm/setup_scripts/init_user_login.sh @@ -18,6 +18,9 @@ local_path_sshd_config="${linkable_files_dir}${system_path_sshd_config}" expect_n_args 1 "(server)" "$@" server="$1" +# If we already knew that host … +ssh-keygen -f "/home/plom/.ssh/known_hosts" -R "${server}" + # So we're only asked once … eval $(ssh-agent) ssh-add