1

I keep trying to push to launchpad (or even connect via SSH), I keep getting an error:

Launchpad user 'tay' doesn't have a registered SSH key
Permission denied (publickey).

Thing is, I DO have a registered SSH key on launchpad. How do I fix this?

1 Answers1

0
  1. You need a RSA key i.e. your private key should be ~/.ssh/id_rsa. I had a problem because my key was DSA i.e. id_dsa. You can generate it with: ssh-keygen -t rsa -b 4096 -C "youremail@example.com"
  2. Ho to your Launchpad account and edit SSH key https://launchpad.net/~yourusername/+editsshkeys
  3. Add contends of ~/.ssh/id_rsa.pub here
  4. You can try to connect with ssh: ssh -v yourusername@git.launchpad.net and if connection was successful it returned exit status code -1