On Thu, Oct 29 2020, Damien Miller <[email protected]> wrote:
> On Wed, 28 Oct 2020, Jeremie Courreges-Anglas wrote:
>
>> On Wed, Oct 28 2020, Damien Miller <[email protected]> wrote:
>> > On Mon, 26 Oct 2020, Jeremie Courreges-Anglas wrote:
>> >
>> >> On Fri, Oct 23 2020, Damien Miller <[email protected]> wrote:
>> >> > On Fri, 23 Oct 2020, Jeremie Courreges-Anglas wrote:
>> >> >
>> >> >> 
>> >> >> I upgraded my ports builder from snaps yesterday and I hit this when
>> >> >> running cvs up:
>> >
>> > [big snip]
>> >
>> > I think I have replicated your problem. Can you roll your known_hosts
>> > back to just the ecdsa-sha2-nistp256 keys, apply this patch and attempt
>> > a few connections? You should see no more conflicts between IPv4/IPv6
>> > addresses.
>> 
>> Here's a v6->v4 case which didn't improve.  I believe that the data
>> provided below should help you reproduce the issue, if not there's
>> something weird going on.  Feel free to send more patches my way.
>
> Thanks - I think the following patch should fix it. If it doesn't
> then can you please rerun your testing with some extra logging:
>
> ssh -oLogVerbose=sshconnect.c:*,clientloop.c:*,hostfile.c:* ...

No new host keys and no warnings this time:

--8<--
russell ~$ cp    /home/jca/.ssh/known_hosts-ecdsa  /home/jca/.ssh/known_hosts
russell ~$ ssh -4 [email protected]
PTY allocation request failed on channel 0

To use anonymous CVS install the latest version of CVS on your local machine.
Then set your CVSROOT environment variable to the following value:
        [email protected]:/cvs

russell ~$ ssh -6 [email protected]
PTY allocation request failed on channel 0

To use anonymous CVS install the latest version of CVS on your local machine.
Then set your CVSROOT environment variable to the following value:
        [email protected]:/cvs

russell ~$ ssh -4 [email protected]
PTY allocation request failed on channel 0

To use anonymous CVS install the latest version of CVS on your local machine.
Then set your CVSROOT environment variable to the following value:
        [email protected]:/cvs

^Crussell ~$ cat /home/jca/.ssh/known_hosts
ftp.hostserver.de,217.31.80.35 ecdsa-sha2-nistp256 
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF7jym1iJpFZfWWS+TTCGQv/CcVoFR4MVCR45YB6mmTL3V5bWwIQ8ggYGgbLcRV+M9VQL2zm0Nykw5HXbFXQ9D8=
2a00:15a8:0:100:d91f:5023:0:1 ecdsa-sha2-nistp256 
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF7jym1iJpFZfWWS+TTCGQv/CcVoFR4MVCR45YB6mmTL3V5bWwIQ8ggYGgbLcRV+M9VQL2zm0Nykw5HXbFXQ9D8=
-->8--

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to