[Bug 3550] Key Conflict

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Mar 20 19:34:09 AEDT 2023


--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to maggiezhuooo from comment #3)
> Now this ^C will make ssh exit under ssh -t command. 

That's probably not what's happening.  What's probably happening is
that the ssh is forwarding the SIGINT to the server which is delivering
it to the remote program, which then exits.  When it exits, the ssh
reads its exit status then exits itself.  You can see this if you turn
on ssh debugging:

$ ssh -v -t localhost sleep 60
debug1: Sending command: sleep 60
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype eow at openssh.com reply
debug1: channel 0: free: client-session, nchannels 1
Connection to localhost closed.

Could you elaborate on what you're trying to do?

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