Search code examples
bashsshcygwinsignals

cygwin ssh gives "Killed by signal 1" on exit


After using cygwin's ssh to login from windows to linux-hosts, when exiting the remote shell, I always get the annoying msg:

"Killed by signal 1"

I googled, and realize its harmless, but still annoying... Some suggested you can get rid of the message by using

$ ssh -q ...

But that has no effect on any of the machines I've tried.

Anyone knows a working solution to get rid of this msg?


Solution

  • Adding following line to your ~/.ssh/config file can squash that message.

    Update: QUIET must be all CAPS & must added for each host in your config.

    LogLevel QUIET
    

    Added in first line will squash the message globally. Will only take effect for the specific hosts if it's placed under Host.