scp
AWS EC2へのフォルダーが必要です。私のサーバーは Ubuntu 13.10 Server Edition を実行しています。次のコマンドを使用しています: tylerschade@ubuntu:~/.ssh$ scp -vr {key_file}{file} ubuntu@{ip}:~/{file to go into}
. 多くのロギングで応答し、問題を次の行に分離しました。
debug1: Trying private key: /home/tylerschade/.ssh/id_rsa
debug1: Trying private key: /home/tylerschade/.ssh/id_dsa
debug1: Trying private key: /home/tylerschade/.ssh/id_ecdsa
debug1: No more authentication methods to try.
Permission denied (publickey).
lost connection
私は何を間違っていますか?私は同様の問題を見てきましたが、私のものは違うと思います。