/srv/irclogs.ubuntu.com/2018/06/08/#launchpad.txt

=== chihchun_afk is now known as chihchun
LyzardKingHi, I need to fix the recipe for my ppa, where can I do that? I can't find the right page..06:57
wgrantLyzardKing: https://launchpad.net/~/+recipes if you own the recipe, otherwise find the link from a build of the recipe.07:00
LyzardKingwgrant: ah, thank you! I own it, so it's perfect!07:01
jonathonhow do i create a "personal" git repo? pushing directly to a remote added with the `$ git remote add origin lp:~USER/+git/REPOSITORY-NAME` pattern fails (probably because the repo doesn't exist?)07:43
wgrantjonathon: That works fine. What's the error?07:48
jonathonPermission denied (publickey). fatal: Could not read from remote repository.07:48
wgrantjonathon: Your username or SSH key are misconfigured.07:48
wgrantEnsure that ssh USER@git.launchpad.net works, and that your ~/.gitconfig specifies the right username in the lp: section07:49
jonathondigging...07:51
jonathonoh good grief... i'm trying to use the wrong ssh key... i have two with the same name but on different machines. that's stupid. >.<07:54
wgrantHeh, easy fix at least.07:55
jonathonhmm... still getting permission denied with the correct keys... need to dig some more08:05
jonathoncan it be affected by having added multiple SSH keys? is there a delay after adding a new key for it to take effect?08:17
wgrantjonathon: There's no delay and multiple keys work fine,.08:22
jonathonOK, just checking. I can't see what's wrong. Username looks correct, SSH key looks correct... Given the number of times I've set up remote git repos I must be missing something... I'll get a cup of tea and come back to it. :)08:24
jonathon(That could be read two ways... I've set up git repos a _lot_)08:24
wgrantjonathon: Have you checked with ssh -v that it's offering the right key?08:26
jonathonyup; i've `$ cat ~/.ssh/id_rsa_correct_key_name.pub` and checked it against the value on LP too08:33
jonathonis there any rate limiting or account freezing if auth fails too many times?08:33
wgrantjonathon: Nothing like that.08:34
jonathonwait a second... I explicitly passed "-o PubKeyAuthentication=yes" and now it's wanting to unlock my SSH key... and that works. Argh. Set "PubKeyAuthentication yes" in ~/.ssh/config for *.launchpad.net and all is working.08:40
jonathonTea works wonders. :)08:41
jonathonthanks for your time wgrant :)08:41
wgrantjonathon: Interesting, does your config disable that by default?08:43
jonathonOh it does... right at the bottom it's there for "Host *" ... Now, I must have put that there for a reason, but if I've also added "IdentitiesOnly yes" I'm not sure if it's really needed... this config file is many years old with a lot of evolution08:46
jonathoni seem to think it was there to prevent public key gathering on remote systems, e.g. when you log in your client defaults to sending every available key to see if one will work, which meant systems could build a key profile (or something like that)08:48
* wgrant is unfamiliar with IdentitiesOnly08:50
wgrantAh, interesting, doesn't use keys from ssh-agent unless explicitly configured by name.08:50
jonathonyup ypu08:51
jonathoni'm trying to find the news items from a few years back... i'm sure there was some sort of security or privacy thing about it08:55
* jonathon reminds self, this is why you should put comments in files08:55
=== lifeless_ is now known as lifeless
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== lifeless_ is now known as lifeless

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!