* [gentoo-user] ssh Connection reset by <ip> port 22
@ 2020-12-16 2:53 thelma
2020-12-16 5:36 ` thelma
0 siblings, 1 reply; 6+ messages in thread
From: thelma @ 2020-12-16 2:53 UTC (permalink / raw
To: Gentoo mailing list
During compiling -uavDN @world one of the package refuse to compile
sys-auth/polkit-0.118::gentoo failed (configure phase):
econf failed
Call stack:
ebuild.sh, line 125: Called src_configure
environment, line 2211: Called econf '--localstatedir=/var'
'--disable-static' '--enable-man-pages' '--disable-gtk-doc'
'--disable-examples' '--enable-libelogind' '--enable-introspection'
'--enable-nls' '--with-pam-module-dir=/lib/security' '--with-authfw=pam'
'--disable-libsystemd-login'
'--with-systemdsystemunitdir=/lib/systemd/system' '--disable-test'
'--with-os-type=gentoo'
phase-helpers.sh, line 680: Called __helpers_die 'econf failed'
isolated-functions.sh, line 112: Called die
The specific snippet of code:
die "$@"
Now, I can no longer ssh to to it, I get:
Connection reset by 10.0.0.100 port 22
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] ssh Connection reset by <ip> port 22
2020-12-16 2:53 [gentoo-user] ssh Connection reset by <ip> port 22 thelma
@ 2020-12-16 5:36 ` thelma
2020-12-16 5:41 ` cal
0 siblings, 1 reply; 6+ messages in thread
From: thelma @ 2020-12-16 5:36 UTC (permalink / raw
To: Gentoo mailing list
On 12/15/2020 07:53 PM, thelma@sys-concept.com wrote:
> During compiling -uavDN @world one of the package refuse to compile
>
> sys-auth/polkit-0.118::gentoo failed (configure phase):
> econf failed
[snip]
>
> Now, I can no longer ssh to to it, I get:
> Connection reset by 10.0.0.100 port 22
perl-cleaner --reallyall -- -av solved the problem with:
sys-auth/polkit-0.118
but I still get the error when trying to ssh:
Connection reset by 10.0.0.100 port 22
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] ssh Connection reset by <ip> port 22
2020-12-16 5:36 ` thelma
@ 2020-12-16 5:41 ` cal
2020-12-16 6:01 ` thelma
2020-12-16 6:35 ` thelma
0 siblings, 2 replies; 6+ messages in thread
From: cal @ 2020-12-16 5:41 UTC (permalink / raw
To: gentoo-user
On 12/15/20 9:36 PM, thelma@sys-concept.com wrote:
> On 12/15/2020 07:53 PM, thelma@sys-concept.com wrote:
>> During compiling -uavDN @world one of the package refuse to compile
>>
>> sys-auth/polkit-0.118::gentoo failed (configure phase):
>> econf failed
> [snip]
>>
>> Now, I can no longer ssh to to it, I get:
>> Connection reset by 10.0.0.100 port 22
>
> perl-cleaner --reallyall -- -av solved the problem with:
> sys-auth/polkit-0.118
> but I still get the error when trying to ssh:
>
> Connection reset by 10.0.0.100 port 22
>
Is there anything interesting if you run ssh -vvv (you can vary the
amount of 'v's) to increase the verbosity of the ssh client and see what
it's doing prior to the connection reset?
Have you tried restarting sshd on the server?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] ssh Connection reset by <ip> port 22
2020-12-16 5:41 ` cal
@ 2020-12-16 6:01 ` thelma
2020-12-16 6:35 ` thelma
1 sibling, 0 replies; 6+ messages in thread
From: thelma @ 2020-12-16 6:01 UTC (permalink / raw
To: gentoo-user
On 12/15/2020 10:41 PM, cal wrote:
> On 12/15/20 9:36 PM, thelma@sys-concept.com wrote:
>> On 12/15/2020 07:53 PM, thelma@sys-concept.com wrote:
>>> During compiling -uavDN @world one of the package refuse to compile
>>>
>>> sys-auth/polkit-0.118::gentoo failed (configure phase):
>>> econf failed
>> [snip]
>>>
>>> Now, I can no longer ssh to to it, I get:
>>> Connection reset by 10.0.0.100 port 22
>>
>> perl-cleaner --reallyall -- -av solved the problem with:
>> sys-auth/polkit-0.118
>> but I still get the error when trying to ssh:
>>
>> Connection reset by 10.0.0.100 port 22
>>
>
> Is there anything interesting if you run ssh -vvv (you can vary the
> amount of 'v's) to increase the verbosity of the ssh client and see what
> it's doing prior to the connection reset?
>
> Have you tried restarting sshd on the server?
>
Nothing that would indicate any error.
OpenSSH_7.5p1-hpn14v12lpk, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "10.0.0.100" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 10.0.0.100 [10.0.0.100] port 22.
debug1: Connection established.
debug1: identity file /home/joseph/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/joseph/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.5p1-hpn14v12lpk
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.1
debug1: match: OpenSSH_8.1 pat OpenSSH* compat 0x04000000
debug1: Remote is NON-HPN aware
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 10.0.0.100:22 as 'joseph'
debug3: hostkeys_foreach: reading file "/home/joseph/.ssh/known_hosts"
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
Connection reset by 10.0.0.100 port 22
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] ssh Connection reset by <ip> port 22
2020-12-16 5:41 ` cal
2020-12-16 6:01 ` thelma
@ 2020-12-16 6:35 ` thelma
2020-12-16 7:10 ` thelma
1 sibling, 1 reply; 6+ messages in thread
From: thelma @ 2020-12-16 6:35 UTC (permalink / raw
To: gentoo-user
On 12/15/2020 10:41 PM, cal wrote:
> On 12/15/20 9:36 PM, thelma@sys-concept.com wrote:
>> On 12/15/2020 07:53 PM, thelma@sys-concept.com wrote:
>>> During compiling -uavDN @world one of the package refuse to compile
>>>
>>> sys-auth/polkit-0.118::gentoo failed (configure phase):
>>> econf failed
>> [snip]
>>>
>>> Now, I can no longer ssh to to it, I get:
>>> Connection reset by 10.0.0.100 port 22
>>
>> perl-cleaner --reallyall -- -av solved the problem with:
>> sys-auth/polkit-0.118
>> but I still get the error when trying to ssh:
>>
>> Connection reset by 10.0.0.100 port 22
>>
>
> Is there anything interesting if you run ssh -vvv (you can vary the
> amount of 'v's) to increase the verbosity of the ssh client and see what
> it's doing prior to the connection reset?
>
> Have you tried restarting sshd on the server?
tail -f /var/log/auth.log (on the server)
does not show any log-in attempt
only:
sshd: Server listening on 0.0.0.0 port 22
sshd: Server listening on :: port 22
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] ssh Connection reset by <ip> port 22
2020-12-16 6:35 ` thelma
@ 2020-12-16 7:10 ` thelma
0 siblings, 0 replies; 6+ messages in thread
From: thelma @ 2020-12-16 7:10 UTC (permalink / raw
To: gentoo-user
On 12/15/2020 11:35 PM, thelma@sys-concept.com wrote:
[snip]
>
> tail -f /var/log/auth.log (on the server)
> does not show any log-in attempt
>
> only:
> sshd: Server listening on 0.0.0.0 port 22
> sshd: Server listening on :: port 22
Solved by reinstalling openssh.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-12-16 7:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 2:53 [gentoo-user] ssh Connection reset by <ip> port 22 thelma
2020-12-16 5:36 ` thelma
2020-12-16 5:41 ` cal
2020-12-16 6:01 ` thelma
2020-12-16 6:35 ` thelma
2020-12-16 7:10 ` thelma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox