[Bug 3550] Key Conflict

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Mar 20 16:50:31 AEDT 2023


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

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net

--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
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.


More information about the openssh-bugs mailing list