[aur-general] Uploading (git clone) fails
All, I built gnu-cflow and was going to upload it to aur. I created a new ecdsa key, added the contents of the public key to my aur profile, copied the new key to ~/.ssh/cflow.pub on my machine and then attempt to an upload with: git clone ssh://aur@aur.archlinux.org/cflow.git Cloning into 'cflow'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. What am I doing wrong? -- David C. Rankin, J.D.,P.E.
On Wed, 09 Sep 2015 11:55:35 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
All,
I built gnu-cflow and was going to upload it to aur. I created a new ecdsa key, added the contents of the public key to my aur profile, copied the new key to ~/.ssh/cflow.pub on my machine and then attempt to an upload with:
git clone ssh://aur@aur.archlinux.org/cflow.git Cloning into 'cflow'... Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
What am I doing wrong?
You need the private key on your local machine, not the public key. AUR gets the public key, you get the private key. You'll also need to do `ssh-add ~/.ssh/your-private-key` to add it to your keyring. ~Celti
On 09/09/2015 12:15 PM, Patrick Burroughs (Celti) wrote:
You need the private key on your local machine, not the public key. AUR gets the public key, you get the private key. You'll also need to do `ssh-add ~/.ssh/your-private-key` to add it to your keyring.
~Celti
I had it configured correctly to use the new key. However, since it wasn't the primary key for the box, it wasn't transmitted for authentication. I just changed my aur profile key to the primary key and it worked without having to mess with the agent nonsense. -- David C. Rankin, J.D.,P.E.
On 09-09-2015 19:45, David C. Rankin wrote:
I had it configured correctly to use the new key. However, since it wasn't the primary key for the box, it wasn't transmitted for authentication. I just changed my aur profile key to the primary key and it worked without having to mess with the agent nonsense.
Or you could configure the proper keys in ~/.ssh/config -- Mauro Santos
I had it configured correctly to use the new key. However, since it wasn't the primary key for the box, it wasn't transmitted for authentication. I just changed my aur profile key to the primary key and it worked without having to mess with the agent nonsense.
Might not be a good idea to use your primary key for AUR. You should leave yourself the flexibility to selectively revoke. Easy to do in ~/.ssh/config. See https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_package...
On 09/09/15 06:08 PM, David Kaylor wrote:
I had it configured correctly to use the new key. However, since it wasn't the primary key for the box, it wasn't transmitted for authentication. I just changed my aur profile key to the primary key and it worked without having to mess with the agent nonsense.
Might not be a good idea to use your primary key for AUR. You should leave yourself the flexibility to selectively revoke. Easy to do in ~/.ssh/config.
See https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_package...
Not going to accomplish anything if they're kept together with the same permissions for reading them.
Em 09-09-2015 15:45, David C. Rankin escreveu:
I just changed my aur profile key to the primary key and it worked without having to mess with the agent nonsense.
You should be using a agent. Having a ssh key with no password (or a weak password) is worse than using an agent. You could (like I do) use keepass + keeagent and have it open and register all of your ssh keys with your ssh-agent, and you would only need to type one (strong) password. You can even attach the keys to the keepass database, so you won't even need to keep then on your ~/.ssh folder, with the bonus of being able to use your keys on any machine you want to use, without the need to copy private keys around. But please, don't say that using an agent is nonsense. Cheers, Giancarlo Razzolini
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello, Please read this article on the wiki before continuing: https://wiki.archlinux.org/index.php/SSH_keys - -- Mit freundlichen Grüßen/Kind Regards, Noel Kuntze GPG Key ID: 0x63EC6658 Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJV8GpvAAoJEDg5KY9j7GZYw1UQAJR+CjdhrZy/2oy/X5yZ+qQE Cwd7Xttx6RM+xFTpZGFnhnFqQKEb99h9EZqHJw0kpt6SFHfUtJAvQefCnbxNK4gb StgCSHVdYwF+f1YEsXmKGaQDq8vKxdL9JDW1AHhnevCAYOJHTQY8XDTtovrZEVfw y5VU74lTULE3cGFisquvRg1oye90UdyQnJIYZQF11hOc01Te3zM9exHKGe2mvokY +nvdZ0GEJYN+dRykvYcVlelvrahmPe+p3W2r/lH7H1nlzRiqqM6Glc5KTKvkjC1O m9Ty9DuJhjrMfBo2znOBSBd/wz+fa9BZpJcgRl8GwRjwSsLxFqCke8kBzRHG2Tbk nH7P0C2oG0k14f/O92Vo3EROZiZv81qXgO5xi4kS7v3uPkxXUYD4Zc8JXChxdMvY TyCmwHGFHh4Nyon10pCG63F5wKiNmot7NFVgSFBvidhOuwUaqzLgW2lGCA79rOG1 dDOV9tCcQrlYcJPWlqpYnVYYvAgP+gNGiXEVgeG7zj0BJlFnKRlvR3wuZqPLSxzo ah715/yYTQl5YJNRlTK6NkilWBw8UFPpqPEcWH1RHcrNByNnY6OMo0D79AVum2cf p1vcWOIUOcXrorxCgX5hMDfmcletVSRLWq1u8RXSknpxbHO/TJ7Mj0WW9XkmAHcQ KMXeuJ6wXAyBjrzWGxYM =DgNB -----END PGP SIGNATURE-----
Wed, 09 Sep 2015 11:55:35 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com>:
I built gnu-cflow and was going to upload it to aur. I created a new ecdsa key, added the contents of the public key to my aur profile, copied the new key to ~/.ssh/cflow.pub on my machine and then attempt to an upload with:
cflow.pub? Do you intend to only ever maintain that single AUR package?
git clone ssh://aur@aur.archlinux.org/cflow.git Cloning into 'cflow'... Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
What am I doing wrong?
You have a pubkey with a non-standard name and don't use ssh-agent. Rename cflow.pub to id_ecdsa.pub and everything should work. --byte
participants (8)
-
Daniel Micay
-
David C. Rankin
-
David Kaylor
-
Giancarlo Razzolini
-
Jens Adam
-
Mauro Santos
-
Noel Kuntze
-
Patrick Burroughs (Celti)