home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set empty passphrase for server ssh keys.
[config]
/
buster
/
setup_scripts
/
init_user_login.sh
diff --git
a/buster/setup_scripts/init_user_login.sh
b/buster/setup_scripts/init_user_login.sh
index 6abb766f7df7a2bdeb6edb1cbef1ee4e3e8b44f2..7f3536a6e5bdaaafb607ebc18342c4603dd80e49 100755
(executable)
--- a/
buster/setup_scripts/init_user_login.sh
+++ b/
buster/setup_scripts/init_user_login.sh
@@
-15,8
+15,12
@@
if [ $# -eq 0 ]; then
fi
server="$1"
fi
server="$1"
+# So we're only asked once …
+eval $(ssh-agent)
+ssh-add
+
# This will be used to log-in as root from plom account.
# This will be used to log-in as root from plom account.
-echo 'Asking for root password.'
+echo 'Asking for
new
root password.'
ssh root@"${server}" "passwd"
# Set up plom's ~/.ssh/authorized_keys from root's.
ssh root@"${server}" "passwd"
# Set up plom's ~/.ssh/authorized_keys from root's.