Skip to content

Commit

Permalink
fix(networking): Fix info message
Browse files Browse the repository at this point in the history
  • Loading branch information
ar13pit authored and MatthijsBurgh committed Oct 28, 2020
1 parent d01f6b8 commit 7319ff2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions networking/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ else

if [[ $REPLY =~ ^[Nn]$ ]]
then
tue-install-info "Generating new ssh key as length < 4096, you might need to copy the new key to the robots, GitHub, etc."
tue-install-info "Did not update the ssh key '$ssh_key' to the recommended length."
break
fi
echo -e "\033[1mPlease answer with 'y' or 'n' to continue\033[0m"
Expand All @@ -81,7 +81,6 @@ then
yes | ssh-keygen -t rsa -b 4096 -N "" -f "$ssh_key"
rm -r ${ssh_controlmasters_dir:?}/* 2>/dev/null # close all connections, to prevent any possible weird behaviour
ssh-add # Start using the new key

fi

# Enable persistent connection multiplexing
Expand Down

0 comments on commit 7319ff2

Please sign in to comment.