Re: Openssh client or server problem?

2015-09-20 Thread Volker Thieme
On 20 Sep 2015, at 00:46, Dylan Scott  wrote:
> 
>> 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.
> 
> If you ever forget, you can also disconnect an unresponsive SSH session by 
> pressing 
> 
> ~.

Nice!! Thanks!

> 
> You need to do it after pressing enter though, I believe.



Openssh client or server problem?

2015-09-19 Thread Karagkiaouris Diamantis

Hello,

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?


Thank you!



Re: Openssh client or server problem?

2015-09-19 Thread Sven Hartge
Karagkiaouris Diamantis  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?

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.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: Openssh client or server problem?

2015-09-19 Thread Volker Thieme
Hi!

> On 19 Sep 2015, at 13:25, Sven Hartge  wrote:
> 
> Karagkiaouris Diamantis  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.
> 



Re: Openssh client or server problem?

2015-09-19 Thread Volker Thieme
> 
> On 19 Sep 2015, at 16:51, Volker Thieme  
> wrote:
> 
> Hi!
> 
>> On 19 Sep 2015, at 13:25, Sven Hartge  wrote:
>> 
>> Karagkiaouris Diamantis  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.

responsible = responsive :-) 

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