Thomas Delrue via plug on 24 Jul 2020 07:36:23 -0700
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Puzzling openssh problem
|
- From: Thomas Delrue via plug <plug@lists.phillylinux.org>
- To: Michael Lazin <microlaser@gmail.com>, "K.S. Bhaskar" <ksbhaskar@gmail.com>
- Subject: Re: [PLUG] Puzzling openssh problem
- Date: Fri, 24 Jul 2020 10:36:12 -0400
- Autocrypt: addr=thomas@epistulae.net; keydata= mQINBFQrBeABEADIkVVpfDofaun8Eu8kbRLmfBsOSeba95PjJNJoDfzrLkxFpDgPsOkYZNxd T+tkHi4WaHsi7BeyRbhcspa5fDpObfMWWeNqnA7s1YcqewUa/HWIN0f1SuHlHLLt8UqblJSC hx5Z9ZZh6nw26+SwiTmXm43uEHQ6CJpyuDpGN2jSnPBkCD2aSIVdWfFhr/S3dOV3DtRYs4Rb mq/zTt3oaOZQRBzJzYft/7D954wM7Oz9A8riik+5GonBwdnkIipv6bpgReehbI6+MeAJMm5d CyXTZxw6DjwQtRri5kAECdWy3dISsVdQEtgScDXx6UIu6GiNrhBZfjCmN1GG0fqcf8FjPtL6 c0HfjUSUgmIEu/anUOWY4WtU0XuR4VdxPalbbt4qRAjNdgkE8kSmjZry9zR99MnZ1/5eiwx6 2soEh2PM6QF41oDxQ1NcbxVibuYcx4oLfDuMP6ap6uJt3tjeXJJlsz3Od53ieksIqM8q19PQ 8X7s5Nnj8zdQ7PlLEhvvK2TswaA6YOiIgG3P20UdW+/dltCxNCRAJM3HDb8PIaByIESqx3JN +qvQtyNsudEtpgqszX8OegLV21lEU+dulMZ9QohlUM4QvEL/Qz/hZdbZCzc9uS59uSTBMXF6 suv9BIetH5u8oC0EIUmGfSOYY8hoirFidU1JpcykBuJb8yU7wwARAQABtCRUaG9tYXMgRGVs cnVlIDx0aG9tYXNAZXBpc3R1bGFlLm5ldD6JAlUEEwEIAD8CGyMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheAF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z3Zg+r4caA6Kk6KjVxZL+9ev3YQmlU01DebtdPKZLY1ZuwK2SuVy1yL XQ==
- Cc: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=g001.emailsrvr.com; s=20190322-9u7zjiwi; t=1595601376; bh=t1A/EnyM+mqBiOQB3OCVf3IzljSeMV1fa1rA3osp8oQ=; h=Subject:To:From:Date:From; b=RLwsUE/Tc69lcIUM4D43FcPlW1zpGduan1fxDntwgqSO+UVtcZ8QcjUvf+c7UEkiW V9JPsvIURIRMU1HYu99BjTp7r2B3ojuKcKPkIuR6M4WbJ4f9eSeZYfYxlouLeEJKD2 wQvVsc6+6srG/Xo8qf9+FXAxWIDHNPcRo457b/+Q=
- Reply-to: Thomas Delrue <thomas@epistulae.net>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
Any 127.0.0.0/8 address is a loopback address
https://en.wikipedia.org/wiki/Reserved_IP_addresses
You don't need an entry in your hosts file for it to go to your localhost...
Try this (or any variant of 127.0.0.0/8):
$ ping 127.123.234.12
It's actually a very useful mechanism because it lets you bind services
to specific addresses (think Postgres' listen_address).
On 7/24/20 10:13 AM, Michael Lazin via plug wrote:
> I was curious about 127.0.1.1 and so I looked it up and that address
> exists as localhost on debian systems only.
> See https://serverfault.com/questions/363095/why-does-my-hostname-appear-with-the-address-127-0-1-1-rather-than-127-0-0-1-in
>
> I have two possible suggestions which may get you moving in the right
> direction. One is try this again and then look at your syslog. The
> other is to set the flag for verbose ssh. I am on my phone right now so
> I am working from memory but I believe you want ssh -vv but you might
> want to check the man page because it has been a long time since I have
> used verbose ssh to troubleshoot an issue and I am going from memory. I
> hope that this helps. Thanks,
>
> On Thu, Jul 23, 2020, 5:26 PM K.S. Bhaskar via plug
> <plug@lists.phillylinux.org <mailto:plug@lists.phillylinux.org>> wrote:
>
> On a Debian Stable system, I installed (via pinning) golang and
> clang from Testing which together brought in a bunch of new
> packages. I have a really puzzling problem now in that ssh localhost
> does not work (it says Connection closed by 127.0.1.1 port 22), but
> telnet localhost 22 says:
>
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'
> SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u2
>
> (and after a while, the daemon closes the connection)
>
> Any ideas as to what could be wrong? I am not even sure where to
> look. Thank you.
Attachment:
signature.asc
Description: OpenPGP digital signature
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug