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

Re: Openssh client or server problem?



Hi!

> On 19 Sep 2015, at 13:25, Sven Hartge <sven@svenhartge.de> wrote:
> 
> Karagkiaouris Diamantis <dkaragkiaouris@gmail.com> wrote:
> 
>> when i execute shutdown to my Debian 8 stable openssh-server from a
>> debian laptop, the ssh shell in laptop hangs on even when the
>> connection is closed due to shutdown. I am not aware of the cause of
>> this problem.  Do i need to configure something?
> 
Same here...

> This is a systemd phenomenon, which shuts down the computer so fast and
> kills the networking before the sshd process serving your connection is
> terminated.
> 

At the shell prompt enter 

shutdown -h +1

and hit Enter twice. The ssh shell remains responsible and the session can be terminated via exit.

> Grüße,
> Sven.
> 
> -- 
> Sigmentation fault. Core dumped.
> 


Reply to: