Re: [Savannah-users] ssh key problem, perhaps

2014-04-29 Thread J. David Boyd
Dave  writes:

> Andreas Schwab  linux-m68k.org> writes:
>
>> 
>> jdavidboyd  adboyd.com (J. David Boyd) writes:
>> 
>> > Is there someway to have git be a little more verbose so I can find out 
> what
>> > the actual underlying error might be?
>> 
>> Try ssh -v jdavidboyd  git.sv.gnu.org.
>> 
>> Andreas.
>> 
>
>
> Hmm, I don't seem to be able to reply to this message with the output from 
> running that command, so I won't try again.
>
> Basically, it just keeps failing, and tries an RSA key, a DSA key, and a few 
> others.
>
> Nothing tells me why it fails though, so I don't know what to try next.
>
> Dave

Well, sorry, I guess I can follow up, it just takes a --little-- while!  :-)

Dave




Re: [Savannah-users] ssh key problem, perhaps

2014-04-29 Thread Bob Proulx
J. David Boyd wrote:
> I have an ssh key registered, copied directly from my id_rsa.pub
> file.  (I use this key combo other places to successfully log in).
> 
> When I attempt to clone a repository (bbdb specifically), using
> 
> git clone jdavidb...@git.sv.gnu.org:/srv/git/bbdb.git
> 
> I get this:
> 
>   Cloning into 'bbdb'...
>   Permission denied (publickey).
>   fatal: The remote end hung up unexpectedly

The problem is that you are not a member of any project.  That can be
seen on your savannah profile page.

  https://savannah.gnu.org/users/jdavidboyd

As far as I can tell as soon as you are added to any project then an
ssh account will be created for you.  (I might be wrong about that but
in any case there is no account jdavidboyd in the account database.)
Without an account it is not possible to use ssh for git access.

The instructions on the https://savannah.nongnu.org/git/?group=bbdb
page show the ssh protocol only a a "Member clone".  It would probably
be better if it didn't show that at all if one is not a member.
Because I think it likely that is where this confusion started.

You do not need to be a project member in order to clone projects.
(Or for any of the other version control systems either.)

  git clone git://git.savannah.nongnu.org/bbdb.git

Bob



Re: [Savannah-users] ssh key problem, perhaps

2014-04-29 Thread Dave
Andreas Schwab  linux-m68k.org> writes:

> 
> jdavidboyd  adboyd.com (J. David Boyd) writes:
> 
> > Is there someway to have git be a little more verbose so I can find out 
what
> > the actual underlying error might be?
> 
> Try ssh -v jdavidboyd  git.sv.gnu.org.
> 
> Andreas.
> 


Hmm, I don't seem to be able to reply to this message with the output from 
running that command, so I won't try again.

Basically, it just keeps failing, and tries an RSA key, a DSA key, and a few 
others.

Nothing tells me why it fails though, so I don't know what to try next.

Dave




Re: [Savannah-users] ssh key problem, perhaps

2014-04-29 Thread J. David Boyd
Andreas Schwab  writes:

> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> Is there someway to have git be a little more verbose so I can find out what
>> the actual underlying error might be?
>
> Try ssh -v jdavidb...@git.sv.gnu.org.
>
> Andreas.

Hmm, I get:


OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014
debug1: Connecting to git.sv.gnu.org [140.186.70.72] port 22.
debug1: Connection established.
debug1: identity file /home/A4J0PZZ/.ssh/id_rsa type 1
debug1: identity file /home/A4J0PZZ/.ssh/id_rsa-cert type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_dsa type 2
debug1: identity file /home/A4J0PZZ/.ssh/id_dsa-cert type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ecdsa type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ed25519 type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9
debug1: match: OpenSSH_5.9 pat OpenSSH_5* compat 0x0c00
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5
debug1: Host 'git.sv.gnu.org' is known and matches the RSA host key.
debug1: Found key in /home/A4J0PZZ/.ssh/known_hosts:8
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/A4J0PZZ/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering DSA public key: /home/A4J0PZZ/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/A4J0PZZ/.ssh/id_ecdsa
debug1: Trying private key: /home/A4J0PZZ/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).


which doesn't mean a whole lot to me, except that it looks like it did not
seem to match between my id_rsa private key and the id_rsa.pub key that I
uploaded, right?

Any ideas on how to resolve this?




Re: [Savannah-users] ssh key problem, perhaps

2014-04-29 Thread Dave
Andreas Schwab  linux-m68k.org> writes:

> 
> jdavidboyd  adboyd.com (J. David Boyd) writes:
> 
> > Is there someway to have git be a little more verbose so I can find out 
what
> > the actual underlying error might be?
> 
> Try ssh -v jdavidboyd  git.sv.gnu.org.
> 
> Andreas.
> 


Hmm, I get this when I do that

 ssh -v jdavidb...@git.sv.gnu.org
OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014
debug1: Connecting to git.sv.gnu.org [140.186.70.72] port 22.
debug1: Connection established.
debug1: identity file /home/A4J0PZZ/.ssh/id_rsa type 1
debug1: identity file /home/A4J0PZZ/.ssh/id_rsa-cert type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_dsa type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_dsa-cert type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ecdsa type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ed25519 type -1
debug1: identity file /home/A4J0PZZ/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9
debug1: match: OpenSSH_5.9 pat OpenSSH_5* compat 0x0c00
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5
debug1: Host 'git.sv.gnu.org' is known and matches the RSA host key.
debug1: Found key in /home/A4J0PZZ/.ssh/known_hosts:8
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/A4J0PZZ/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/A4J0PZZ/.ssh/id_dsa
debug1: Trying private key: /home/A4J0PZZ/.ssh/id_ecdsa
debug1: Trying private key: /home/A4J0PZZ/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).

So, I guess my uploaded id_rsa.pub key contents somehow doesn't match with 
my id_rsa private key?   I don't get that.

Any ideas on how to fix this? Or where to look next?






Re: [Savannah-users] ssh key problem, perhaps

2014-04-29 Thread Andreas Schwab
jdavidb...@adboyd.com (J. David Boyd) writes:

> Is there someway to have git be a little more verbose so I can find out what
> the actual underlying error might be?

Try ssh -v jdavidb...@git.sv.gnu.org.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



[Savannah-users] ssh key problem, perhaps

2014-04-29 Thread J. David Boyd

I have an ssh key registered, copied directly from my id_rsa.pub file.  (I use
this key combo other places to successfully log in).

When I attempt to clone a repository (bbdb specifically), using

git clone jdavidb...@git.sv.gnu.org:/srv/git/bbdb.git

I get this:

  Cloning into 'bbdb'...
  Permission denied (publickey).
  fatal: The remote end hung up unexpectedly

Is there someway to have git be a little more verbose so I can find out what
the actual underlying error might be?

Or, does savannah have a test area where I can verify that my connection works
correctly?

Thanks,

Dave in New Port Richey, FL