[Bioc-devel] git and public keys

Gordon Brown Gordon.Brown at cruk.cam.ac.uk
Thu Aug 24 11:00:53 CEST 2017


Hi, Nitesh,

Thanks for the key list, and the suggestion.  Turns out that it works if I
use the RSA key in the list, but not the DSA keys, so I guess
git.bioconductor.org isn't configured to accept DSA keys.  (I have
appended the output of "ssh -v" at the end of the email, in case it's of
use to somebody...)

Thanks very much for your help.  Should be good to go from here.

Cheers,

 - Gord


On 23/08/2017 21:10, "Turaga, Nitesh" <Nitesh.Turaga at RoswellPark.org>
wrote:

>Hi Gordon,
>
>These are they keys we have on our server.
>
>==> key-1/g.brown.pub <==
>ssh-dss 
>AAAAB3NzaC1kc3MAAACBAKg7Ykhiz88c8I3bGPDmGtczoUbRQdpz5pZtqlXwfz3rHnafuwNQ
>==> key-2/g.brown.pub <==
>ssh-dss 
>AAAAB3NzaC1kc3MAAACBAOKqVId1J1SpWRdwUsYPYFC9NLabWzBihRC3qLGIfO7vExxpxQl/
>==> key-3/g.brown.pub <==
>ssh-dss 
>AAAAB3NzaC1kc3MAAACBAMtXfF5bQrmWdvQcOeUkBRF0inrUwM/mepZ4b1X1vnz/wnEIIHnb
>==> key-4/g.brown.pub <==
>ssh-dss 
>AAAAB3NzaC1kc3MAAACBAJ2uyvUk4gz3XJ5RQUsG9sg9VMwNw35onDjHxTsTZzx5ZgR5O5U7
>==> key-5/g.brown.pub <==
>ssh-rsa 
>AAAAB3NzaC1yc2EAAAADAQABAAABAQCXGV+dRKgSPOfoL7L+JMw2HmGJ0Cwjy9w+7EspmbyA
>==> key-6/g.brown.pub <==
>ssh-dss 
>AAAAB3NzaC1kc3MAAACBANU2PYJsjdLM1vVdfWINWX7l3erwBiO9fRN90Ccj/EC1dSffu0wS%
>
>
>You can debug your session with
>
>` ssh -v git at git.bioconductor.org`
>
>This will show you what repos you have access to, and also which key
>works with our server.
>
>Best,
>
>Nitesh


Output of "ssh -v git at bgit.bioconductor.org" using a DSA key:
---------------------------------------------------------------------------
--------
nm163S005139 ~ $ ssh -v git at git.bioconductor.org
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to git.bioconductor.org [34.192.48.227] port 22.
debug1: Connection established.
debug1: identity file /Users/brown22/.ssh/id_rsa type -1
debug1: identity file /Users/brown22/.ssh/id_rsa-cert type -1
debug1: identity file /Users/brown22/.ssh/id_dsa type 2
debug1: identity file /Users/brown22/.ssh/id_dsa-cert type -1
debug1: identity file /Users/brown22/.ssh/id_ecdsa type -1
debug1: identity file /Users/brown22/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/brown22/.ssh/id_ed25519 type -1
debug1: identity file /Users/brown22/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2
Ubuntu-4ubuntu2.2
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 pat OpenSSH* compat
0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1-etm at openssh.com none
debug1: kex: client->server aes128-ctr hmac-sha1-etm at openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA
96:a6:0a:0d:ea:ff:58:4a:df:54:f4:ce:81:cc:ef:24
debug1: Host 'git.bioconductor.org' is known and matches the ECDSA host
key.
debug1: Found key in /Users/brown22/.ssh/known_hosts:39
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/brown22/.ssh/id_rsa
debug1: Offering DSA public key: /Users/brown22/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /Users/brown22/.ssh/id_ecdsa
debug1: Trying private key: /Users/brown22/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).
nm163S005139 ~ $ 



More information about the Bioc-devel mailing list