Signal only works in main thread

Miki Tebeka miki.tebeka at
Mon Jul 25 22:28:11 CEST 2011

Seems like pyssh (which is very old AFAIK) uses signal. Looks like you're creating the SSHController instance (which uses pyssh) not in the main thread, and Python won't allow you to place signal handlers outside the main thread.

You can probably move the SSHContorller creation to the main thread, or maybe try using a newer library (such as

More information about the Python-list mailing list