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

Re: Accepting a new connection (child signal error)


Hi Jose,

From the first glance it doesn't seem like a problem in libssh. Something is
trying to make a connection, but the socket cannot accept the connection
because of interruption, but to make sure please provide some additional
information as:
What environment are you using (windows, linux - which distro), which
version?
Do you use the default port? If yes try an arbitrary number from the open
port
numbers.
Did you try it in a VM (closed environment)?

Regards
Norbert Pócs


On Sun, Apr 2, 2023 at 8:54 PM Jose David Bravo A <
jbravo@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hello,
>
> I ran the ssh_server.c with --verbose arg, with libssh 0.10.4 but at soon
> the SSH server stars and before any incomming connection to the server I'm
> seeing this error:
>
> ...
> [2023/04/02 13:33:39.916087, 1] ssh_pki_import_privkey_file:  Error
> opening /etc/ssh/ssh_host_ed25519_key: No such file or directory
> [2023/04/02 13:33:39.918652, 2] ssh_pki_import_privkey_base64:  Trying to
> decode privkey passphrase=false
> [2023/04/02 13:33:39.918709, 2] ssh_pki_openssh_import:  Opening OpenSSH
> private key: ciphername: none, kdf: none, nkeys: 1
> [2023/04/02 13:33:39.919254, 2] ssh_pki_import_privkey_base64:  Trying to
> decode privkey passphrase=false
> [2023/04/02 13:33:39.919336, 2] ssh_pki_openssh_import:  Opening OpenSSH
> private key: ciphername: none, kdf: none, nkeys: 1
> [2023/04/02 13:33:43.492545, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.506316, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.510740, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.526579, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.540506, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.548246, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.559887, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.564239, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.575769, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.580275, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> [2023/04/02 13:33:43.593260, 1] ssh_bind_accept:  Accepting a new
> connection (child signal error): Interrupted system call
> Accepting a new connection (child signal error): Interrupted system call
> ...
> [2023/04/02 13:34:00.725064, 3] packet_send2:  packet: wrote [type=1,
> len=28, padding_size=7, comp=20, payload=20]
> [2023/04/02 13:34:00.725848, 3] ssh_socket_pollcallback:  Received POLLOUT
> in connecting state
> [2023/04/02 13:34:00.726172, 3] callback_receive_banner:  Received banner:
> SSH-2.0-OpenSSH_8.6
> ....
>
> I'm wondering if this is normal, I haven't modified the example code. But
> the example code is working, but I'm not sure if I should ignore this error
> and why is it happening.
>
> Thanks,
>
> Jose Bravo
>

References:
Accepting a new connection (child signal error)Jose David Bravo A <jbravo@xxxxxxxxxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org