From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Ssh problem : half-solved
Date: Mon, 11 Mar 2019 13:42:14 +0000 [thread overview]
Message-ID: <20190311134214.768b3460@digimed.co.uk> (raw)
In-Reply-To: <20190311130814.GE1934@ca.inter.net>
[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]
On Mon, 11 Mar 2019 09:08:14 -0400, Philip Webb wrote:
> 190311 Neil Bothwick wrote:
> > Have you run ssh with -v
> > to see what configuration options it is reading from where.
> > Bear in mind that ssh stops at the first matching host definition,
> > so if you have a "host *" in your config, it must be last.
>
> This is what I get :
>
> 522: ~> ssh -v <URL>
> OpenSSH_7.9p1, OpenSSL 1.0.2r 26 Feb 2019
> debug1: Reading configuration data /home/purslow/.ssh/config
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to <URL> <IP> port 22.
> debug1: Connection established.
> debug1: identity file /home/purslow/.ssh/id_rsa type -1
> debug1: identity file /home/purslow/.ssh/id_rsa-cert type -1
> debug1: identity file /home/purslow/.ssh/id_dsa type -1
> debug1: identity file /home/purslow/.ssh/id_dsa-cert type -1
> debug1: identity file /home/purslow/.ssh/id_ecdsa type -1
> debug1: identity file /home/purslow/.ssh/id_ecdsa-cert type -1
> debug1: identity file /home/purslow/.ssh/id_ed25519 type -1
> debug1: identity file /home/purslow/.ssh/id_ed25519-cert type -1
> debug1: identity file /home/purslow/.ssh/id_xmss type -1
> debug1: identity file /home/purslow/.ssh/id_xmss-cert type -1
> debug1: Local version string SSH-2.0-OpenSSH_7.9
> debug1: Remote protocol version 2.0, remote software version
> OpenSSH_3.7.1p2 debug1: match: OpenSSH_3.7.1p2 pat OpenSSH_3.* compat
> 0x01000002 debug1: Authenticating to <URL>:22 as 'purslow'
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: algorithm: (no match)
> Unable to negotiate with <IP> port 22: no matching key exchange
> method found. Their offer:
> diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
>
> Is that any help ?
It shows that ssh is reading your config file, but not picking up the
options for this host. I would expect to see something like
debug1: Reading configuration data /home/nelz/.config/ssh
debug1: /home/nelz/.config/ssh line N: Applying options for <HOST>
Do you have any other Host stanzas in the config?
--
Neil Bothwick
Make it idiot proof and someone will make a better idiot.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-03-11 13:42 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-10 7:25 [gentoo-user] Ssh problem Philip Webb
2019-03-10 8:23 ` [gentoo-user] " Nikos Chantziaras
2019-03-10 10:31 ` [gentoo-user] " Nils Freydank
2019-03-11 5:41 ` [gentoo-user] Ssh problem : half-solved Philip Webb
2019-03-11 8:30 ` Mick
2019-03-11 8:31 ` Neil Bothwick
2019-03-11 8:43 ` Mick
2019-03-11 9:08 ` Neil Bothwick
2019-03-11 9:23 ` Philip Webb
2019-03-11 9:30 ` Bill Kenworthy
2019-03-11 10:00 ` Neil Bothwick
2019-03-11 13:08 ` Philip Webb
2019-03-11 13:42 ` Neil Bothwick [this message]
2019-03-11 16:06 ` Mick
2019-03-11 17:34 ` Neil Bothwick
2019-03-11 21:35 ` Mick
2019-03-11 22:14 ` Neil Bothwick
2019-03-12 10:02 ` Philip Webb
2019-03-12 10:49 ` Mick
2019-03-12 14:32 ` Philip Webb
2019-03-12 15:10 ` [gentoo-user] Ssh problem : solved but weird Philip Webb
2019-03-12 15:12 ` Neil Bothwick
2019-03-12 16:59 ` Mick
2019-03-12 14:46 ` [gentoo-user] Re: Ssh problem : half-solved Nuno Silva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190311134214.768b3460@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox