From: Diego <diego.ml@zoho.com>
To: openembedded-core@lists.openembedded.org
Subject: [BUG] Openssh not closing connections on service stop
Date: Thu, 27 Nov 2014 18:06:08 +0100 [thread overview]
Message-ID: <2727351.QZhbar3BFX@localhost.localdomain> (raw)
Hi all,
I'd like to share with you what I consider a bug.
I've generally noticed in my Linux experience that I get automatically
disconnected from an ssh session if the ssh host gets shutdown or rebooted
with the message:
Connection to x.y.w.z closed by remote host.
Connection to x.y.w.z closed.
This doesn't seem to happen on my OSes built on core-image-minimal with
openssh support.
Moreover I noticed that if I stop the ssh service:
# /etc/init.d/sshd stop
my ssh connections don't get dropped, I can continue using ssh session like
nothing happened. I can even see the connection process still up and running:
# ps | grep ssh
1790 root 4568 S /usr/sbin/sshd
1848 root 4852 S sshd: root@pts/0
1886 root 2896 S grep ssh
# /etc/init.d/sshd stop
Stopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 1790)
.
# ps | grep ssh
1848 root 4852 S sshd: root@pts/0
1894 root 2892 S grep ssh
Isn't service termination supposed to stop all related connections at the same
time? Can anybody else reproduce (or not) this issue?
Bests,
Diego
next reply other threads:[~2014-11-27 17:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 17:06 Diego [this message]
2014-12-03 0:13 ` [BUG] Openssh not closing connections on service stop Saul Wold
2014-12-03 10:21 ` Diego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2727351.QZhbar3BFX@localhost.localdomain \
--to=diego.ml@zoho.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.