Yeah, I think the toolforge admin interface at toolsadmin.wikimedia.org can also add these into LDAP.

On Sat, 11 Jan 2020 at 15:30, Roy Smith <roy@panix.com> wrote:
OK,thanks.  It's possible I uploaded them long ago for a different project I was working on, but I don't recall seeing this page before.  Are there other interfaces that might have also got them into LDAP?



On Jan 11, 2020, at 10:19 AM, Alex Monk <krenair@gmail.com> wrote:

Looks like you already have those keys in LDAP:
$ ldapsearch -LLLx mail=roy@panix.com cn sshPublicKey -o ldif-wrap=no
dn: uid=roysmith,ou=people,dc=wikimedia,dc=org
cn: RoySmith
sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9GreuxNHdR8LIj2uCjpfcbyFQWT2xqcf6gL7lcil0++26KLQfZln8YuifFC1C/caQqmobmqcYLzaM1mauz08z3sxy/p7yE5LnbMJnOTxp6Cv+2Ow5YbGUlCx4CaZiEho6GSTUNJliwxH9FSEEpOqkW1UHF8dFHQGKB/eq0wSxXBOH+jR3Xb/mzU0u9wpgFGwA3MRpwZ8zDQXq7LHApCCt7UggEZVaGLW2n7lRb46h5AUcvX0XHr/eQdH3AFCLzUKrJQNbZuSV5czial9YBDZfXGL2BLwlht1UEcluPkQtXVEzBQ5t/3Ksmqqtk7Y6sIeXTeNFmLcb+Hd6eTzLWJhP roy@panix.com
sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBr7zbaGh6KurBLDv7XPxNZftQrmeRnCoYXJOx1JDP4bxYyhpq5bZl6S5/GKBRX3oHDHO+oHPdzcEetlAneiGGoSzmTWfgz0uIRvUFfWBltA2NHCEHC1L8ayl1gBm6deITLLZDyiYdmTSKyEmfPYLpf+kAaKok11KTEo0gdDcIEWFyFJAGmsloCPhQiceU2xa0x6OigzxHSufzoNZyNpW+lxDEOxU8fJVMJ8NlVpEH13F5h4dztIAvwvOftE/UZRGfKI1TWzYrmY+YerZUZJF3o9VA0y3D9IE76OFg2BqQpcQh7KbSF0qemM7mFJWdSdMnEbo1AnrX7jxZ+mz0Cdh RoySmith/wikimedia

I get the same error if I try to add a duplicate key.

On Sat, 11 Jan 2020 at 14:54, Roy Smith <roy@panix.com> wrote:
On Jan 11, 2020, at 6:34 AM, Alex Monk <krenair@gmail.com> wrote:

Wikitech writes it into LDAP where it'll get read when you SSH into things.

Please paste your public key here so we can have a look.

I've got two different keys I've tried.  Both get the same result on wikitech, but work fine in Phab.  Pasted both below.



ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9GreuxNHdR8LIj2uCjpfcbyFQWT2xqcf6gL7lcil0++26KLQfZln8YuifFC1C/caQqmobmqcYLzaM1mauz08z3sxy/p7yE5LnbMJnOTxp6Cv+2Ow5YbGUlCx4CaZiEho6GSTUNJliwxH9FSEEpOqkW1UHF8dFHQGKB/eq0wSxXBOH+jR3Xb/mzU0u9wpgFGwA3MRpwZ8zDQXq7LHApCCt7UggEZVaGLW2n7lRb46h5AUcvX0XHr/eQdH3AFCLzUKrJQNbZuSV5czial9YBDZfXGL2BLwlht1UEcluPkQtXVEzBQ5t/3Ksmqqtk7Y6sIeXTeNFmLcb+Hd6eTzLWJhP roy@panix.com



ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBr7zbaGh6KurBLDv7XPxNZftQrmeRnCoYXJOx1JDP4bxYyhpq5bZl6S5/GKBRX3oHDHO+oHPdzcEetlAneiGGoSzmTWfgz0uIRvUFfWBltA2NHCEHC1L8ayl1gBm6deITLLZDyiYdmTSKyEmfPYLpf+kAaKok11KTEo0gdDcIEWFyFJAGmsloCPhQiceU2xa0x6OigzxHSufzoNZyNpW+lxDEOxU8fJVMJ8NlVpEH13F5h4dztIAvwvOftE/UZRGfKI1TWzYrmY+YerZUZJF3o9VA0y3D9IE76OFg2BqQpcQh7KbSF0qemM7mFJWdSdMnEbo1AnrX7jxZ+mz0Cdh RoySmith/wikimedia

_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud

_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud