Mail archive
alpine-devel

Re: [alpine-devel] heads up: new behaviour of sshd stop

From: Harry Lachanas <grharry_at_freemail.gr>
Date: Tue, 16 Mar 2010 10:50:09 +0200

Not convenient !!!

Does this apply to DropBear too ???

Regards,
Harry

 

> Just a heads-up for you who uses ssh on remote boxes.
> Do not run '/etc/init.d/sshd stop' when connected remotely. You will
> from now on be disconnected when doing so.
>
> Before:
> * /etc/init.d/sshd stop does not kill the running ssh sessions and
> does not disconnect you if you are logged on remotely.
> * doing reboot remotely ends with a timeout since the network is
> shutdown before the ssh session gets killed by the final killall.
> * /etc/init.d/sshd restart would not disconnect you
>
> Now:
> * /etc/init.d/sshd stop will kill your running ssh sessions and you
> will get disconnected
> * doing reboot remotely shoudl give you a clean disconnect
> * /etc/init.d/sshd restart will not disconnect you
>
> So basicly, this is just a heads up to be careful when you are logged
> on remotely via ssh: Do *not* run '/etc/init.d/sshd stop' You will get
> disconnected. Running '/etc/init.d/sshd restart' should be safe
> though.
>
>



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Tue Mar 16 2010 - 10:50:09 UTC