Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] SSH client stops after a few minutes without error

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
kro
Posts: 6
Joined: 2019-01-02 12:37

[solved] SSH client stops after a few minutes without error

#1 Post by kro »

Hello,

I've just installed a fresh buster on one of my computers (an intel nuc called micropoutre)

I face a stability issue witch seems to come from the client side : whatever server I'm connecting to the connexion stops after a few minutes (varying duration, generally less than 5 minutes).

the server side shows this kind of messages :

Code: Select all

Received disconnect from XX.XX.XX.XX port 59808:11: disconnected by user
on the client side I get some information thanks to -vvvv option, but unfortunately I don't understand much.
here for a connexion to a raspberry :

Code: Select all

pi@raspberrypi ~  debug3: send packet: type 80
debug3: receive packet: type 82
debug3: send packet: type 80
debug3: receive packet: type 82
debug3: send packet: type 80
debug3: receive packet: type 82
debug3: send packet: type 80
debug3: receive packet: type 82
debug3: send packet: type 1
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1)

debug3: fd 1 is not O_NONBLOCK
Killed by signal 15.
krodelabestiole@micropoutre ~
The connexion to every server always ends with this exact same message :

Code: Select all

debug3: send packet: type 1
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1)

debug3: fd 1 is not O_NONBLOCK
Killed by signal 15.
I don't have any connexion issue to the same servers with other distributions (ubuntu 18.04 or solus) from the same local network, and I didn't have any issue with the intel nuc and the same servers when it was running jessie.
I've tried different setup for ServerAliveInterval without success. I guess the problem is somewhere else (and it works fine without this directive on ubuntu 18.04).

Code: Select all

krodelabestiole@micropoutre ~  ssh -V
OpenSSH_7.9p1 Debian-4, OpenSSL 1.1.1a  20 Nov 2018
/etc/ssh/ssh_config looks like this :

Code: Select all

/etc/ssh/ssh_config
Host *
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    ServerAliveInterval 5
Any help or idea would be much appreciated, thank you !
Last edited by kro on 2019-01-02 18:21, edited 1 time in total.

kro
Posts: 6
Joined: 2019-01-02 12:37

Re: buster : SSH client stops after a few minutes without er

#2 Post by kro »

arf arf arf… i'm very ashamed :

I had a task cron I restored from my jessie backup I didn't notice. it was checking the existence of some processus and relaunch some service in case of failure, killing SSH on the way every 5 minutes...

argh sorry about that...

Post Reply