https://bugzilla.mindrot.org/show_bug.cgi?id=3550

Darren Tucker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Darren Tucker <[email protected]> ---
The remote program is getting a SIGINT because you told ssh to allocate
a controlling terminal and then sent it an interrupt.

You need to tell the remote shell or program to ignore the SIGINT.  The
exact details will vary depending on the program and shell, but
assuming a Bourne-type shell one way to do this is to trap the SIGINT
in the shell to prevent it from being passed through to the program,
eg:

$ ssh -t localhost "trap '' INT; sleep 60"

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to