Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-26 Thread Dima Pasechnik
a reliable way to check that one got a ssh key is to run ssh-keygen -l -f on it. Does your patch do this? (hopefully you saved that interesting wrong key somewhere) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group an

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-26 Thread Erik Bray
On Dec 26, 2016 10:04 AM, "Erik Bray" wrote: Okay, I fixed it. Someone had uploaded some invalid keys and the regeneration of authorized_keys was failing. I confirmed, after removing the invalid keys, that authorized_keys was regenerated and includes Maxie's keys. Sorry for the trouble. When

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-26 Thread Erik Bray
Okay, I fixed it. Someone had uploaded some invalid keys and the regeneration of authorized_keys was failing. I confirmed, after removing the invalid keys, that authorized_keys was regenerated and includes Maxie's keys. Sorry for the trouble. When I get back I'll have to see how the unsupported

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-26 Thread Erik Bray
On Mon, Dec 26, 2016 at 9:40 AM, Erik Bray wrote: > On Dec 26, 2016 09:28, "Erik Bray" wrote: > > On Dec 25, 2016 19:11, "Dima Pasechnik" wrote: > > > > On Sunday, December 25, 2016 at 12:31:27 PM UTC, Volker Braun wrote: >> >> The ~/.gitolite/logs/ may have some clues about what is going on...

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-26 Thread Erik Bray
On Dec 26, 2016 09:28, "Erik Bray" wrote: On Dec 25, 2016 19:11, "Dima Pasechnik" wrote: On Sunday, December 25, 2016 at 12:31:27 PM UTC, Volker Braun wrote: > > The ~/.gitolite/logs/ may have some clues about what is going on... > no, it doesn't, IMHO. Further, there are two (almost)copies

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-26 Thread Erik Bray
On Dec 25, 2016 19:11, "Dima Pasechnik" wrote: On Sunday, December 25, 2016 at 12:31:27 PM UTC, Volker Braun wrote: > > The ~/.gitolite/logs/ may have some clues about what is going on... > no, it doesn't, IMHO. Further, there are two (almost)copies of keystore/, one in ~/.gitolite/, and the

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-25 Thread Dima Pasechnik
On Sunday, December 25, 2016 at 12:31:27 PM UTC, Volker Braun wrote: > > The ~/.gitolite/logs/ may have some clues about what is going on... > no, it doesn't, IMHO. Further, there are two (almost)copies of keystore/, one in ~/.gitolite/, and the other in /srv/trac/sage_trac/gitolite-admin/. Th

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-25 Thread Volker Braun
The ~/.gitolite/logs/ may have some clues about what is going on... -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To pos

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-25 Thread Dima Pasechnik
On Sunday, December 25, 2016 at 1:58:40 AM UTC, Maxie Schmidt wrote: > > What other ways do you suggest I try? ssh-copy-id fails with the > same Permission denied (publickey) error. Is there another way to upload > keys to the trac server? > the only user-allowed way is via the web interface.

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
What other ways do you suggest I try? ssh-copy-id fails with the same Permission denied (publickey) error. Is there another way to upload keys to the trac server? Maxie On Sat, Dec 24, 2016 at 7:17 PM, Dima Pasechnik wrote: > > > On Sunday, December 25, 2016 at 12:39:27 AM UTC, Maxie Schmidt wr

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Sunday, December 25, 2016 at 12:39:27 AM UTC, Maxie Schmidt wrote: > > It's also reassuring for me that it can be fixed on the server. I > literally tried almost everything available online to tweak the config > files and regenerated keys a few separate times to see if that was the > issue.

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
It's also reassuring for me that it can be fixed on the server. I literally tried almost everything available online to tweak the config files and regenerated keys a few separate times to see if that was the issue. Do you know when this will be fixed? On Sat, Dec 24, 2016 at 5:03 PM, Dima Pasechni

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 10:30:44 PM UTC, Maxie Schmidt wrote: > > I also easily added the same key to my existing github account and it > works as expected. > this is good to know. As I wrote, it looks now to me as this is a problem on trac side. The one I don't seem to recall, for s

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 10:08:48 PM UTC, Volker Braun wrote: > > On Saturday, December 24, 2016 at 2:08:42 PM UTC+1, Maxie Schmidt wrote: >> >> debug1: /home/maxie/.ssh/config line 4: Applying options for * >> > > Thats a bit suspicious, I hope you know which options you are applying >

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I also easily added the same key to my existing github account and it works as expected. On Sat, Dec 24, 2016 at 4:12 PM, Maxie Schmidt wrote: > I tried re-adding the key on the trac preferences page. I'm still not able > to access the server using "ssh g...@trac.sagemath.org info". > > On Sat,

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I tried re-adding the key on the trac preferences page. I'm still not able to access the server using "ssh g...@trac.sagemath.org info". On Sat, Dec 24, 2016 at 4:09 PM, Maxie Schmidt wrote: > I also have a local ~/.ssh/config file which contains: > > Host * > PubKeyAuthentication yes > Identity

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I also have a local ~/.ssh/config file which contains: Host * PubKeyAuthentication yes IdentityFile /home/maxie/.ssh/id_rsa PubkeyAcceptedKeyTypes=+ssh-rsa IdentityFile ~/.ssh/id_rsa.pub On Sat, Dec 24, 2016 at 4:08 PM, Maxie Schmidt wrote: > This is the output of listing my ~/.ssh directory:

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
This is the output of listing my ~/.ssh directory: ls -l ~/.ssh/ total 36 -r--r--r-- 1 maxie maxie 404 Dec 21 20:01 authorized_keys -rw-r--r-- 1 maxie maxie 192 Dec 24 06:58 config -rw--- 1 maxie maxie 1679 Sep 8 23:46 google_compute_engine -rw--- 1 maxie maxie 404 Sep 8 23:46 google_c

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Volker Braun
On Saturday, December 24, 2016 at 2:08:42 PM UTC+1, Maxie Schmidt wrote: > > debug1: /home/maxie/.ssh/config line 4: Applying options for * > Thats a bit suspicious, I hope you know which options you are applying globally debug1: Offering RSA public key: /home/maxie/.ssh/id_rsa.pub > debug3: se

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 5:45:28 PM UTC, Maxie Schmidt wrote: > > Ok, I changed the comment in the key uploaded on the trac server > preferences page. It's reflected in the output I get from running "git trac > config". However, when I run "ssh [-k] -vvv g...@trac.sagemath.org > info",

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
Ok, I changed the comment in the key uploaded on the trac server preferences page. It's reflected in the output I get from running "git trac config". However, when I run "ssh [-k] -vvv g...@trac.sagemath.org info", I'm still getting the message Permission denied (publickey). Can you think of anythi

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 2:19:40 PM UTC, Maxie Schmidt wrote: > > The comment on the key is the last field of text, like maxie@locakbox or > id_rsa.pub or any other text comment. These were different between what > ssh-add -l was returning and what git Trac config were returning, but t

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
The comment on the key is the last field of text, like maxie@locakbox or id_rsa.pub or any other text comment. These were different between what ssh-add -l was returning and what git Trac config were returning, but the comment field should be ignored. My username is maxieds on the Trac server. On

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
also, what is your trac account? I can then look at your record on the trac server. On Saturday, December 24, 2016 at 1:41:14 PM UTC, Dima Pasechnik wrote: > > > > On Saturday, December 24, 2016 at 1:08:42 PM UTC, Maxie Schmidt wrote: >> >> I'm uploading the public key data I get by running "cat

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 1:08:42 PM UTC, Maxie Schmidt wrote: > > I'm uploading the public key data I get by running "cat ~/.ssh/id_rsa.pub" > to the trac server preferences page. I've checked this multiple times. The > comment on the key shouldn't matter, correct? > I don't know what

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I'm uploading the public key data I get by running "cat ~/.ssh/id_rsa.pub" to the trac server preferences page. I've checked this multiple times. The comment on the key shouldn't matter, correct? I do have a github account with the same user name as the trac server account, but I don't believe

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
PS. please double-check that the public key you upload on trac is id_rsa.pub and not the other key. And it seems that you might have gssapi on (in /etc/ssh/ssh_config or in ~/.ssh/config ?), and it is broken somehow. Could you try running ssh -k -vvv g...@git.sagemath.org (-k disables gssapi)

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
On Saturday, December 24, 2016 at 11:47:36 AM UTC, Maxie Schmidt wrote: > > I'm still very much in need of help with fixing the ssh key issue that's > keeping me from uploading files to a new branch on Trac. The following is > the output when I run "ssh -vvv g...@git.sagemath.org": > > OpenSSH

[sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Dima Pasechnik
notice that your OpenSSL version is old, 1.0.2g. The current 1.0.* one is 1.0.2j Not sure whether this is the problem here. On Saturday, December 17, 2016 at 6:27:21 PM UTC, Maxie Schmidt wrote: > > Hello. > > I have an account on and have uploaded my local id_rsa.pub key in the sage > math tr

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-24 Thread Maxie Schmidt
I'm still very much in need of help with fixing the ssh key issue that's keeping me from uploading files to a new branch on Trac. The following is the output when I run "ssh -vvv g...@git.sagemath.org": OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration da

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-20 Thread Maxie Schmidt
This is now the output of running "ssh -vv g...@trac.sagemath.org info": OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "trac.sagemath.org" port 22 deb

Re: [sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-19 Thread Erik Bray
On Sun, Dec 18, 2016 at 9:45 PM, Volker Braun wrote: > On Sunday, December 18, 2016 at 7:30:16 PM UTC+1, Maxie Schmidt wrote: >> >> The trac server and website are down right now for me as well. Here is the >> output of "ssh -vvv myuse...@trac.sagemath.org" from yesterday: > > > Thats to be expect

[sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-18 Thread Volker Braun
On Sunday, December 18, 2016 at 7:30:16 PM UTC+1, Maxie Schmidt wrote: > > The trac server and website are down right now for me as well. Here is the > output of "ssh -vvv myuse...@trac.sagemath.org " from > yesterday: > Thats to be expected, you don't have a unix user account on trac. Only "

[sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-18 Thread Maxie Schmidt
The trac server and website are down right now for me as well. Here is the output of "ssh -vvv myusern...@trac.sagemath.org" from yesterday: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: App

[sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-18 Thread Ralf Stephan
ssh-add -l will list your key only if you previously added it with ssh-add. I have such a command in my .bashrc and it asks for the password once per login. I also find that the ssh commands you gave do give me a Permission denied as well so I think that is unrelated. Saturday, December 17, 2016 a

[sage-devel] Re: Problems Authenticating to Trac Server with Public Key

2016-12-18 Thread Volker Braun
Can you run ssh -vv g...@trac.sagemath.org info and look through the debug info? On Saturday, December 17, 2016 at 7:27:21 PM UTC+1, Maxie Schmidt wrote: > > Hello. > > I have an account on and have uploaded my local id_rsa.pub key in the sage > math trac server web interface. The command "g