Re: Openssh client or server problem?
On 20 Sep 2015, at 00:46, Dylan Scottwrote: > >> 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?
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?
Karagkiaouris Diamantiswrote: > 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?
Hi! > On 19 Sep 2015, at 13:25, Sven Hartgewrote: > > 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?
> > 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. >> >