我正在使用flightplan.js和数字海洋并遵循此video,但后来我收到此错误:
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/ad78ad3f4a7594e09f3542d82fb76731 -az --rsh="ssh -p22" ./ deploy@162.243.118.234:/tmp/rendeznode-1455004290008
localhost ● ok
✈ Local task finished after 17 s
✈ Connecting to '162.243.118.234'
● Error connecting to '162.243.118.234': All configured authentication methods failed
rendezvousNode $ ls
答案 0 :(得分:0)
您需要将SSH私钥添加到ssh-agent并将密码短语存储在钥匙串中。
$ ssh-add ~/.ssh/id_rsa