https://bugzilla.mindrot.org/show_bug.cgi?id=1602

--- Comment #8 from Marc Herbert <[email protected]> ---
Fun fact: ssh _does_ produce brackets for IPv6 addresses in
.ssh/known_hosts:

[review.openstack.org]:29418,[104.130.246.32]:29418 ssh-rsa
AAAAB3NzaC1yc2...
[review.openstack.org]:29418,[2001:4800:7819:103:be76:4eff:fe04:9229]:29418
ssh-rsa AAAAB3Nza...

But it can't parse back what it printed itself:

ssh ssh://[review.openstack.org]:29418                     OK
ssh ssh://[104.130.246.32]:29418                           OK
ssh ssh://[2001:4800:7819:103:be76:4eff:fe04:9229]:29418   FAIL with
usage message

OpenSSH_8.2p1, OpenSSL 1.1.1g  21 Apr 2020



Digression: with many operating systems using randomized IPv6 addresses
by default for privacy reasons, using ssh to .local systems on the same
LAN causes uncontrollable .ssh/know_hosts growth.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to