Re: [DNG] ssh_exchange_identification: read: Connection reset by peer

2018-07-28 Thread Alessandro Selli
On Fri, 27 Jul 2018 at 08:30:23 +0200 "J. Fahrner" wrote: > Hi all, > I have a headless Odroid C2 running "Devuan GNU/Linux 2.0 (ascii) > (3.8.13.30)", all packages are up to date. > Often, when I try to connect through ssh I get the following error: > > ssh_exchange_identification: read:

Re: [DNG] ssh_exchange_identification: read: Connection reset by peer

2018-07-28 Thread J. Fahrner
Am 2018-07-27 17:39, schrieb marc: Either keep an ssh session open indefinitely and then do an "echo /proc/*" when the problem occurs Or stop cron and see if the problem goes away. A poorly written cronjob seems to be the most likely cause of an accidental fork bomb. An "ulimit -u 100" in a

Re: [DNG] ssh_exchange_identification: read: Connection reset by peer

2018-07-27 Thread marc
> Am 2018-07-27 08:37, schrieb marc: > >It could be that your process table is full - Run ps fax and > >understand what each process does. > > > >Alternatively /dev/pts isn't mounted, or (less likely) you > >are running something like fail2ban ? > > My problem is, I cannot look at it when it

Re: [DNG] ssh_exchange_identification: read: Connection reset by peer

2018-07-27 Thread Simon Hobson
marc wrote: > It could be that your process table is full - Run ps fax and > understand what each process does. Now, there's a bit of a catch 22 there ... It's headless, he's not able to SSH (or Telnet) in, and needs to log in via SSH (or Telnet) to run a command to find out why he can't

Re: [DNG] ssh_exchange_identification: read: Connection reset by peer

2018-07-27 Thread marc
> $telnet odroid.lan > Trying 192.168.1.2... > Connected to odroid.lan. > Escape character is '^]'. > Connection closed by foreign host. > > Any ideas what could be causing this? It could be that your process table is full - Run ps fax and understand what each process does. Alternatively

[DNG] ssh_exchange_identification: read: Connection reset by peer

2018-07-27 Thread J. Fahrner
Hi all, I have a headless Odroid C2 running "Devuan GNU/Linux 2.0 (ascii) (3.8.13.30)", all packages are up to date. Often, when I try to connect through ssh I get the following error: ssh_exchange_identification: read: Connection reset by peer The only way to get access to it is removing