ssh -t host sleep 100 + Ctrl-Z (SIGSTOP) does not suspend process?

Gert Doering gert at greenie.muc.de
Fri Mar 13 21:24:25 EST 2009


Hi,

On Thu, Feb 26, 2009 at 12:10:43PM +0200, prestoo at me.com wrote:
> Currently executing "ssh -t host sleep 100" and then pressing Ctrl-Z (to send SIGSTOP) does not seem to suspend the SSH process. Would it make sense to have Ctrl-Z suspend the SSH process, or is there some rationale for not doing that? I'm not intimately familiar with how SSH interacts with terminals on pseudo-TTY allocation, which is why I'm asking.

If you force PTY allocation ("-t"), all that stuff needs to go to the
other end.  How can ssh know that you want to suspend the local SSH process,
instead of "whatever you are running in the PTY on the other end"?

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the openssh-unix-dev mailing list