Error:
heroku git:clone -a myapp
Cloning from app 'myapp'...
Cloning into 'myapp'...
The authenticity of host 'heroku.com (50.19.85.154)' can't be established.
RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'heroku.com,50.19.85.154' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Solution:
terminal:~ heroku keys:add
Could not find an existing public key.
Would you like to generate one? [Yn] y
Generating new SSH public key.
Uploading SSH public key /Users/terminal/.ssh/id_rsa.pub... done
termina:~ heroku git:clone -a myapp
Cloning from app 'myapp'...
Cloning into 'myapp'...
Fetching repository, done.
remote: Counting objects: 2405, done.
remote: Compressing objects: 100% (1323/1323), done.
Receiving objects: 12% (305/2405), 3.27 MiB | 12.00 KiB/s
.
.
.
.
No comments:
Post a Comment