JP Vossen via plug on 23 Jul 2020 16:26:27 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Puzzling openssh problem

Debian (and related) is doing the "" thing in /etc/hosts, but I'm not sure why. Perhaps a systemd thing?

Maybe check for IPA and hostname conflicts or unexpected values with something like:
egrep -iR "$HOSTNAME|localhost|127\.0| \
  /etc/host* /etc/ssh* ~/.ssh/config*

On 7/23/20 5:57 PM, K.S. Bhaskar via plug wrote:
Thank you, you're right: the is puzzling and I have no idea where it's coming from, because ip addr show clearly shows the IP address as I may have to go in myself tomorrow to try to figure it out (right now one of our developers is in the office and I'm working remotely).

– Bhaskar

On Thu, Jul 23, 2020 at 5:37 PM Jon Boone < <>> wrote:

    Sent from my iPhone

    I have a really puzzling problem now in that ssh localhost does
    not work (it says Connection closed by port 22)

    Is localhost defined in your ~/.ssh/config file?   I’m surprised
    your localhost would be defined as

    Also, your ssh_config file may not allow you to open IPv6
    connections, whereas telnet clearly does.

    Finally, check iptables rules for IPv4 localhost port 22.

--  -------------------------------------------------------------------
JP Vossen, CISSP | |
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --