そこで、Amazon EC2 インスタンスをセットアップしました。そしてgitをインストールしました..
sudo yum install git
次に、github で ssh キーをセットアップします。レポを /var/www/html フォルダーに複製しようとすると、このエラーが発生します..
fatal: could not create work tree dir 'example.com'.: Permission denied
そして、ルートとして実行すると...
Cloning into 'example.com'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
しかし、github の公開鍵が ~/.ssh/id_rsa.pub キーと一致することを確認しました。私がここで見逃しているものはありますか?