Gentoo Archives: gentoo-user

From: Grant Taylor <gtaylor@×××××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ssh problem
Date: Sun, 26 Dec 2021 19:20:44
Message-Id: c3a1df64-c495-90c0-94e6-88a7f6714233@spamtrap.tnetconsulting.net
In Reply to: [gentoo-user] ssh problem by Philip Webb
1 On 12/26/21 9:42 AM, Philip Webb wrote:
2 > I want to login to a remote site <aaaaa.bbbbbbbb.cc> using 'ssh'.
3 > The response I get is "Unable to negotiate with <nnn.nnn.nnn.n> port <nn>:
4 > no matching host key type found. Their offer: ssh-rsa,ssh-dss".
5 > Yesterday, I updated 'openssh' :
6
7 Michael's pointing in the proper direction.
8
9 Check out the OpenSSH Legacy Options page for more details. I've
10 successfully used this information to log into Red Hat 5.x from the
11 '90s. (Not contemporary RHEL.)
12
13 Link - OpenSSH: Legacy Options
14 - https://www.openssh.com/legacy.html
15
16 Note: This works exceedingly well in the ssh client config file
17 (~/.ssh/config or /etc/ssh/ssh_config). Using the config file means
18 that anything that uses OpenSSH commands benefits from and inherits the
19 configuration parameters; rsync, git, what have you.
20
21
22
23 --
24 Grant. . . .
25 unix || die