Compare commits

..

2 commits

View file

@ -60,9 +60,6 @@ function initConfig -V dir -d "Fetches the configuration by prompting the user t
echo "$(tput setaf 3)==== WARNING ====$(tput sgr0)"
echo "For a seamless experience, please make sure that you are able to establish an unattended ssh connection using key authentication."
echo
echo "Your public key is:"
sudo cat "$VALHALLA_BACKUP_SERVER_KEY.pub"
echo
echo "$(tput bold)This command should succeed without user interaction:$(tput sgr0)"
echo "sudo ssh -o PasswordAuthentication=no -i $(string escape -- "$VALHALLA_BACKUP_SERVER_KEY") $sshArgs $VALHALLA_BACKUP_SERVER true"
read -P "Press enter once you're done: "