Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Dev

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

 

 

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded


prestoo at me

Feb 26, 2009, 2:10 AM

Post #1 of 2 (888 views)
Permalink
ssh -t host sleep 100 + Ctrl-Z (SIGSTOP) does not suspend process?

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.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


gert at greenie

Mar 13, 2009, 3:24 AM

Post #2 of 2 (769 views)
Permalink
Re: ssh -t host sleep 100 + Ctrl-Z (SIGSTOP) does not suspend process? [In reply to]

Hi,

On Thu, Feb 26, 2009 at 12:10:43PM +0200, prestoo [at] me 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
fax: +49-89-35655025 gert [at] net
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.