Default in most terminal you can press ctrl\ to send a SIGQUIT signal to the process.
However on my keyboard to type a backslash, you have to do it like this: altshift7
Doing ctrlaltshift7 doesn't work, so how should I do the keyboard shortcut?
Edit: Since the previous recommendation didn't work, have you tried mapping a different key to ^\?
For instance (in OSX terminal): Go to Terminal->Preferences->Settings->Keyboard, click the + and map something like CTRL+F4 to \034.
I don’t know how you can type Ctrl\, but I can give you an alternative way to generate SIGQUIT from the keyboard. Find a character that you can type as a simple key combination. This may need to map to an ASCII character; e.g., CtrlA. Then type
That can be either
If you find a combination that works, put it (the