This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "====== Starting SSH Agent =======\n\n"; | |
eval "$(ssh-agent)"; | |
echo -e "====== Continue with the default, just hit enter =========\n\n"; | |
ssh-keygen -t rsa -b 4096 | |
echo -e "======= Generating SSH Key is done and saved at ~/.ssh/id_rsa ==========\n\n"; | |
cat ~/.ssh/id_rsa.pub | |
echo -e "\n"; | |
echo -e "====== Copy the content of public key and paste into your Repo ============\n\n" |