|
|
|
|
@ -1,5 +1,16 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
#====NEED TO AUTOMATE AUTH IN ADVANCE: |
|
|
|
|
#(check for and create if missing on server) |
|
|
|
|
#mkdir -p ~/.ssh |
|
|
|
|
#chmod 700 ~/.ssh |
|
|
|
|
#touch ~/.ssh/authorized_keys |
|
|
|
|
#chmod 600 ~/.ssh/authorized_keys |
|
|
|
|
#(run these on local) |
|
|
|
|
#ssh-keygen -t ed25519 |
|
|
|
|
#ssh-copy-id rdrew@newspapers2.islandarchives.ca |
|
|
|
|
# -------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
# --- CONFIGURATION (Edit these for new environments) --- |
|
|
|
|
SERVER="newspapers2.islandarchives.ca" |
|
|
|
|
THEME_DIR="/var/www/islandnewspapers2/web/themes/custom/olivesnews" |
|
|
|
|
|