[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-help-public] Problem with ssh access to git
From: |
Sylvain Beucler |
Subject: |
Re: [Savannah-help-public] Problem with ssh access to git |
Date: |
Sat, 27 Feb 2010 08:12:48 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
We do get logs of your connection:
Feb 27 00:04:14 vcs-noshell sshd[17954]: Accepted publickey for trevord from
86.138.108.87 port 55534 ssh2
Feb 27 00:04:14 vcs-noshell sshd[17954]: pam_env(sshd:setcred): Unable to open
env file: /etc/default/locale: No such file or directory
Feb 27 00:04:14 vcs-noshell sshd[17954]: pam_unix(sshd:session): session opened
for user trevord by (uid=0)
Feb 27 00:22:01 vcs-noshell sshd[17954]: pam_env(sshd:setcred): Unable to open
env file: /etc/default/locale: No such file or directory
Feb 27 00:22:01 vcs-noshell sshd[17954]: pam_unix(sshd:session): session closed
for user trevord
(/etc/default/locale stuff can be ignored, but I just `touch`ed the
file just in case)
Your bandwidth should be more than enough.
Your setup is a bit weird, they might be an issue with a recent MS Woe
update, but that sounds far fetched.
Is there also a problem with other repositories?
e.g.
git clone ssh://address@hidden/srv/git/freedink.git
If nothing works, I would suggest:
- installing wireshark and analysing the network traffic for that
connection, just in case
- contact the Git developers to try and understand the problem at a
lower lowel
--
Sylvain
On Sat, Feb 27, 2010 at 12:26:18AM -0000, Trevor Daniels wrote:
>
> Sylvain, you wrote Friday, February 26, 2010 10:07 PM
>
>
> >I would suggest trying without relying on .ssh/config, and making
> >sure
> >there's nothing weird in /etc/hosts.
> >
> >You should see something like this:
> >$ git clone ssh://address@hidden/srv/git/lilypond.git
> >Initialized empty Git repository in /tmp/lilypond/.git/
> >remote: Counting objects: 189704
> >Receiving objects: 7% (20118/287391), 3.83 MiB | 716 KiB/s
>
> OK, at 00:05 GMT on 27 Feb I tried
> $ git clone ssh://address@hidden/srv/git/lilypond.git
>
> I saw
> >Initialized empty Git repository in
> >/home/trevor/testgit/lilypond/.git/
> then nothing more. No prompt even. The session is still
> hanging 20 minutes later. Rather strangely it doesn't time
> out. I'll do nothing else at this time so the log at your
> end should be clearly related to this attempt. Could you
> check if this connection was made successfully?
>
> >Aside from that I can see connections from you as lately as Feb 25
> >23:59:38.
>
> I think this might have been a
> $ ssh -v address@hidden
> command. I tried that (with variations) two or three times
> around that time. They all successfully connected although
> the session was immediately terminated of course.
>
> >What bandwidth do you have?
>
> I have a broadband connection, circa 1 Mb/s. Not as fast
> as it should be as the wiring in my village is not very
> good. In case it's relevant I'm using ubuntu running in
> a VM under VirtualBox within MS Vista Home Premium. As
> I said earlier, this set-up has worked fine before.
>
> >Sylvain
>
> Thanks for helping - Trevor
>
> ------------ history below
>
> >On Thu, Feb 25, 2010 at 09:00:46AM -0000, Trevor Daniels wrote:
> >>
> >>Sylvain Beucler wrote Thursday, February 25, 2010 7:03 AM
> >>>
> >>>This works for me.
> >>
> >>Yes, it seems to work for everyone else, but not for
> >>me.
> >>
> >>>I issued a 'git gc' just in case.
> >>
> >>Tried that. No change.
> >>
> >>I've checked that the call set-up packet is getting
> >>to and through my router, and I've tried using nc.
> >>Still no luck. I've now exhausted everything in the
> >>SshAccess page and I've run out of ideas. What else
> >>can I try to diagnose this problem (described below)?
> >>
> >>Trevor
> >>
> >>>
> >>>On Thu, Feb 25, 2010 at 12:44:44AM -0000, Trevor Daniels wrote:
> >>>>Hi
> >>>>
> >>>>I have been able to use ssh to pull and push to lilypond.git at
> >>>>199.232.41.69 for many months, but sometime between 8 Feb 2010
> >>>>and
> >>>>16 Feb 2010 this stopped working with the attempt timing out.
> >>>>I've
> >>>>tried to resolve this by moving to 140.186.70.72, but I still
> >>>>cannot
> >>>>push or pull with ssh. Here's what happens:
> >>>>
> >>>>$ ssh -v sv
> >>>>gives
> >>>>>...
> >>>>>debug1: Next authentication method: publickey
> >>>>>debug1: Offering public key: /home/trevor/.ssh/id_dsa
> >>>>>debug1: Server accepts key: pkalg ssh-dss blen 433
> >>>>>debug1: Authentication succeeded (publickey).
> >>>>>...
> >>>>so my key must be acceptable to savannah.
> >>>>
> >>>>Also
> >>>>$ git pull git://git.sv.gnu.org/lilypond.git master
> >>>>pulls correctly, so access to lilypond.git looks fine.
> >>>>
> >>>>But
> >>>>$ git pull ssh://sv/srv/git/lilypond.git master
> >>>>hangs, and
> >>>>$ git pull ssh://sv/lilypond.git master
> >>>>returns
> >>>>>fatal: '/lilypond.git' does not appear to be a git repository
> >>>>>fatal: The remote end hung up unexpectedly
> >>>>
> >>>>My ssh config file contains
> >>>>
> >>>>IdentityFile ~/.ssh/id_dsa
> >>>>Host sv
> >>>>Hostname git.sv.gnu.org
> >>>>User trevord
> >>>>
> >>>>Can anyone suggest what I'm doing wrong?
> >>>>
> >>>>Trevor
- [Savannah-help-public] Problem with ssh access to git, Trevor Daniels, 2010/02/24
- Re: [Savannah-help-public] Problem with ssh access to git, Sylvain Beucler, 2010/02/25
- Re: [Savannah-help-public] Problem with ssh access to git, Trevor Daniels, 2010/02/25
- Re: [Savannah-help-public] Problem with ssh access to git, Sylvain Beucler, 2010/02/26
- Re: [Savannah-help-public] Problem with ssh access to git, Trevor Daniels, 2010/02/26
- Re: [Savannah-help-public] Problem with ssh access to git,
Sylvain Beucler <=
- Re: [Savannah-help-public] Problem with ssh access to git, Trevor Daniels, 2010/02/27
- Re: [Savannah-help-public] Problem with ssh access to git, Sylvain Beucler, 2010/02/27
- Re: [Savannah-help-public] Problem with ssh access to git, Trevor Daniels, 2010/02/27