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?
I'm adding a new answer because I have a new solution under different circumstances.
When using the modern ProxyJump
directive, there is no place to put the -q
, as with ProxyCommand
:
Host target
ProxyJump proxy
Instead of switching back to the more manual jump definition with ProxyCommand
, the solution with ProxyJump
is to add LogLevel QUIET
to a Host proxy
definition:
Host target
ProxyJump proxy
Host proxy
LogLevel QUIET
which will have the same effect as the -q
in ProxyCommand
's ssh -q proxy ...
.
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With