Extra command results as requested (this is indeed on WSL2):

pjn:~$ host ubuntu.com
ubuntu.com has address 91.189.88.180
ubuntu.com has address 91.189.88.181
ubuntu.com has address 185.125.190.20
ubuntu.com has address 185.125.190.29
ubuntu.com has address 185.125.190.21
ns1.canonical.com has address 91.189.94.173
ns2.canonical.com has address 91.189.95.3
ns3.canonical.com has address 91.189.91.139
ubuntu.com has IPv6 address 2001:67c:1360:8001::2c
ubuntu.com has IPv6 address 2001:67c:1360:8001::2b
ns1.canonical.com has address 91.189.94.173
ns2.canonical.com has address 91.189.95.3
ns3.canonical.com has address 91.189.91.139
ubuntu.com mail is handled by 10 mx.canonical.com.
ns1.canonical.com has address 91.189.94.173
ns2.canonical.com has address 91.189.95.3
ns3.canonical.com has address 91.189.91.139

pjn:~$ host ubuntu.com 1.1.1.1
Using domain server:
Name: 1.1.1.1
Address: 1.1.1.1#53
Aliases:

ubuntu.com has address 185.125.190.21
ubuntu.com has address 185.125.190.29
ubuntu.com has address 185.125.190.20
ubuntu.com has address 91.189.88.181
ubuntu.com has address 91.189.88.180
ubuntu.com has IPv6 address 2001:67c:1360:8001::2b
ubuntu.com has IPv6 address 2001:67c:1360:8001::2c
ubuntu.com mail is handled by 10 mx.canonical.com.

And, the result of trying to connect to a down host:

pjn:~$ ping woden.chm.bris.ac.uk
PING woden.chm.bris.ac.uk (137.222.47.3) 56(84) bytes of data.
^C
--- woden.chm.bris.ac.uk ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6249ms

pjn:~$ host woden.chm.bris.ac.uk
woden.chm.bris.ac.uk has address 137.222.47.3
irix.bris.ac.uk has address 137.222.8.143
ncs.bris.ac.uk has address 137.222.8.142
ns3.ja.net has address 193.63.106.103
irix.bris.ac.uk has IPv6 address 2001:630:e4:82:137:222:8:143
ncs.bris.ac.uk has IPv6 address 2001:630:e4:82:137:222:8:142
ns3.ja.net has IPv6 address 2001:630:0:46::67

pjn:~$ ssh woden.chm.bris.ac.uk
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for woden.chm.bris.ac.uk has changed,
and the key for the corresponding IP address 137.222.8.143
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /home/pjn/.ssh/known_hosts:1982
  remove with:
  ssh-keygen -f "/home/pjn/.ssh/known_hosts" -R "137.222.8.143"
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:uWlUoRB1FzEfprXfQ/hmU9B70YlhGoOBq+VeVYluclI.
Please contact your system administrator.
Add correct host key in /home/pjn/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/pjn/.ssh/known_hosts:2029
  remove with:
  ssh-keygen -f "/home/pjn/.ssh/known_hosts" -R "woden.chm.bris.ac.uk"
RSA host key for woden.chm.bris.ac.uk has changed and you have requested strict 
checking.
Host key verification failed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952131

Title:
  Extra output from host command causes issue with ssh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1952131/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to