I try to clone one project from heroku, while I run into several issues, help me, thanks very much.
Firstly, I try
$ heroku git:clone myapp && git clone [email protected]:myapp.git
both outputs following messages
Cloning from app 'myapp'... Cloning into myapp...
ssh: connect to host heroku.com port 22: Bad file number
So, I am using one ssh config file
Host heroku.com Hostname heroku.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa
Port 443
Then using the same command
$ heroku git:clone myapp && git clone [email protected]:myapp.git
both with new output messages
Cloning from app 'myapp'... Cloning into myapp... ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I am collaborator of the project and I have added the public key into my account, and I have installed heroku-toolbelt.