dokku: Error uploading to git remote

Hi I have succssfully deployed Dokku, but I can’t seem to deploy using the git remote dokku dokku@domain.... command. It either return a Enter password field or it tells me the git repository doesn’t have the rights to do so.

I tried to cat id_rsa.pub | ssh... but what should I input for ssh. Because if I were to do a ssh dokku@<hostname> it would fail as well because there isn’t such a user. I am running on an Azure Ubuntu VM.

Please advise.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 55 (26 by maintainers)

Most upvoted comments

You’ll need to pipe the contents of the public key side of the ssh key you’ll be using for deployments into sshcommand, not ssh.

Example

echo "contents of public key" | sshcommand acl-add dokku deploy