Compare commits
2 commits
260993c261
...
be9750131a
Author | SHA1 | Date | |
---|---|---|---|
be9750131a | |||
d29d99c2a1 |
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ function initConfig -V dir -d "Fetches the configuration by prompting the user t
|
||||||
echo "$(tput setaf 3)==== WARNING ====$(tput sgr0)"
|
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 "For a seamless experience, please make sure that you are able to establish an unattended ssh connection using key authentication."
|
||||||
echo
|
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 "$(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"
|
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: "
|
read -P "Press enter once you're done: "
|
||||||
|
|
Loading…
Reference in a new issue