1

I am using an SSH tunnel. It works fine but it gives me these messages regularly:

channel 5: open failed: connect failed: Unable to connect to target host
channel 4: open failed: connect failed: Unable to connect to target host
channel 5: open failed: connect failed: Unable to connect to target host
channel 4: open failed: connect failed: Unable to connect to target host
channel 5: open failed: connect failed: Unable to connect to target host
channel 4: open failed: connect failed: Unable to connect to target host
channel 5: open failed: connect failed: Unable to connect to target host

The connection is working fine and I also want to actively use both the tunnel and the SSH connection in my terminal. So how can I suppress these warning messages?

  • Where are you seeing these messages? – 111--- Jul 1 '15 at 17:25
1

Add -q to the command you use to run ssh, from the man page:

-q Quiet mode. Causes most warning and diagnostic messages to be suppressed.

SSH man page

|improve this answer|||||

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.