Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

How can I quiet or suppress the "channel 3: open failed: connect failed: Connection refused" message when using an SSH tunnel?

Writer Andrew Mclaughlin

There is a process running that occasionally accesses a port that I've tunneled through an SSH connection. These messages can be really obtrusive at times, so I am looking for a way to disable them.

1

1 Answer

Did you try the ssh -E option and redirect debug logs towards /dev/null ?

ssh -E /dev/null <server>

Extract from man ssh:

 -E log_file Append debug logs to log_file instead of standard error.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy