mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
.pub, duh
This commit is contained in:
parent
34ab470b8d
commit
905651ea71
@ -34,7 +34,7 @@ PIHOLE_BIN='/usr/local/bin/pihole' # default PH binary directory
|
||||
# Add replacement variables to gravity-sync.conf
|
||||
|
||||
SSH_PORT='22' # default SSH port
|
||||
SSH_PKIF='.ssh/id_rsa.pub' # default local SSH key
|
||||
SSH_PKIF='.ssh/id_rsa' # default local SSH key
|
||||
|
||||
##############################################
|
||||
### DO NOT CHANGE ANYTHING BELOW THIS LINE ###
|
||||
@ -500,7 +500,7 @@ function config_generate {
|
||||
|
||||
echo -e "========================================================"
|
||||
echo -e "========================================================"
|
||||
ssh-copy-id -f -i $HOME/${SSH_PKIF} ${REMOTE_USER}@${REMOTE_HOST}
|
||||
ssh-copy-id -f -i $HOME/${SSH_PKIF}.pub ${REMOTE_USER}@${REMOTE_HOST}
|
||||
echo -e "========================================================"
|
||||
echo -e "========================================================"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user