I'm getting this error: WARNING: All keys were skipped because they already exist on the remote system. with Flight Plan

February 9, 2016 1.9k views
DigitalOcean Node.js

I'm using flightplan.js and following this video, https://www.youtube.com/watch?v=XxRuW1pfGTI

But I get the following error:

rendezvousNode $ fly production 
✈ Running default:production
✈ Executing local task
localhost Copy files to remote hosts
localhost $ git ls-files
localhost ● ok
localhost $ rsync --files-from /var/folders/vf/38fsn66x58z04p9jkhkwbspm0000gn/T/4d0f74b86207e9a991820d952a8d25f3 -az --rsh="ssh -p22" ./ deploy@162.243.109.67:/tmp/rendezvous-1454984501830
localhost ● ok
✈ Local task finished after 41 s
✈ Connecting to '162.243.109.67'
● Error connecting to '162.243.109.67': All configured authentication methods failed
rendezvousNode $ ssh-copy-id deploy@162.243.109.67
/usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed

/usr/local/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.

What does this mean?

1 Answer

This error can usually be resolved either by

1.) Making sure that ~/.ssh for the user you are connecting as is owned by that user and the user has full permissions.

2.) Ensuring that PubkeyAuthentication yes is set in /etc/ssh/sshd_config and not commented out.

Have another answer? Share your knowledge.