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 | |
# If you keep getting permission denied or something do the following: | |
# - sudo nano /etc/ssh/sshd_config | |
# - Uncomment and ensure the following lines are present: | |
# PubkeyAuthentication yes | |
# AuthorizedKeysFile .ssh/authorized_keys | |
# - sudo systemctl restart ssh.service | |
# To Remove (reverse) the user/repo setup |
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 | |
clear | |
#color the output of echo | |
COLOR='\033[1;32m' | |
RED='\033[0;31m' | |
WHITE='\033[1;37m' | |
NC='\033[0m' # No Color |