Date: Tue, 4 Nov 2014 08:48:03 +0800 From: Denny Lin <dennylin93@hs.ntnu.edu.tw> To: freebsd-ports@freebsd.org Subject: SSH hangs while restarting services Message-ID: <20141104004803.GE3153@mail.hs.ntnu.edu.tw>
next in thread | raw e-mail | index | archive | help
Hi, Recently I've been trying to restart services remotely using SSH using a command instead of entering the shell: ssh host "sudo service postgresql restart" PostgreSQL is able to restart successfully, but SSH just hangs there instead of exiting. I've noticed that this seems to affect any command which spawns a child process which doesn't exit. Is there any way to get SSH terminate? Thanks. -- Denny Lin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141104004803.GE3153>