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

Darren Tucker <[email protected]> changed:

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

--- Comment #1 from Darren Tucker <[email protected]> 2010-01-13 14:20:34 EST 
---
The reason this happens is this piece of code from sftp.c:

   /*
    * The underlying ssh is in the same process group, so we must
    * ignore SIGINT if we want to gracefully abort commands,
    * otherwise the signal will make it to the ssh process and
    * kill it too
    */
   signal(SIGINT, SIG_IGN);
   execvp(path, args);

so the signals are blocked before ssh(1) starts.  If we remove that, ^C
will kill the ssh any time someone tries to interrupt a command.

The only thing I can think of is to tell ssh to allow interrupts until
after authentication and then ignore them, which would require another
flag or option.

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

Reply via email to