1 |
On Monday, 11 March 2019 13:42:14 GMT Neil Bothwick wrote: |
2 |
> On Mon, 11 Mar 2019 09:08:14 -0400, Philip Webb wrote: |
3 |
> > 190311 Neil Bothwick wrote: |
4 |
> > > Have you run ssh with -v |
5 |
> > > to see what configuration options it is reading from where. |
6 |
> > > Bear in mind that ssh stops at the first matching host definition, |
7 |
> > > so if you have a "host *" in your config, it must be last. |
8 |
> > |
9 |
> > This is what I get : |
10 |
> > 522: ~> ssh -v <URL> |
11 |
> > OpenSSH_7.9p1, OpenSSL 1.0.2r 26 Feb 2019 |
12 |
> > debug1: Reading configuration data /home/purslow/.ssh/config |
13 |
> > debug1: Reading configuration data /etc/ssh/ssh_config |
14 |
> > debug1: Connecting to <URL> <IP> port 22. |
15 |
> > debug1: Connection established. |
16 |
> > debug1: identity file /home/purslow/.ssh/id_rsa type -1 |
17 |
> > debug1: identity file /home/purslow/.ssh/id_rsa-cert type -1 |
18 |
> > debug1: identity file /home/purslow/.ssh/id_dsa type -1 |
19 |
> > debug1: identity file /home/purslow/.ssh/id_dsa-cert type -1 |
20 |
> > debug1: identity file /home/purslow/.ssh/id_ecdsa type -1 |
21 |
> > debug1: identity file /home/purslow/.ssh/id_ecdsa-cert type -1 |
22 |
> > debug1: identity file /home/purslow/.ssh/id_ed25519 type -1 |
23 |
> > debug1: identity file /home/purslow/.ssh/id_ed25519-cert type -1 |
24 |
> > debug1: identity file /home/purslow/.ssh/id_xmss type -1 |
25 |
> > debug1: identity file /home/purslow/.ssh/id_xmss-cert type -1 |
26 |
> > debug1: Local version string SSH-2.0-OpenSSH_7.9 |
27 |
> > debug1: Remote protocol version 2.0, remote software version |
28 |
> > |
29 |
> > OpenSSH_3.7.1p2 debug1: match: OpenSSH_3.7.1p2 pat OpenSSH_3.* compat |
30 |
> > 0x01000002 debug1: Authenticating to <URL>:22 as 'purslow' |
31 |
> > |
32 |
> > debug1: SSH2_MSG_KEXINIT sent |
33 |
> > debug1: SSH2_MSG_KEXINIT received |
34 |
> > debug1: kex: algorithm: (no match) |
35 |
> > Unable to negotiate with <IP> port 22: no matching key exchange |
36 |
> > |
37 |
> > method found. Their offer: |
38 |
> > diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 |
39 |
> > |
40 |
> > Is that any help ? |
41 |
> |
42 |
> It shows that ssh is reading your config file, but not picking up the |
43 |
> options for this host. I would expect to see something like |
44 |
> |
45 |
> debug1: Reading configuration data /home/nelz/.config/ssh |
46 |
> debug1: /home/nelz/.config/ssh line N: Applying options for <HOST> |
47 |
> |
48 |
> Do you have any other Host stanzas in the config? |
49 |
|
50 |
Check both config files for conflicts: |
51 |
|
52 |
/home/purslow/.ssh/config |
53 |
/etc/ssh/ssh_config |
54 |
|
55 |
just in case it is defined in both. |
56 |
-- |
57 |
Regards, |
58 |
Mick |