How to suppress debug2 messages during SSH session?

In my case, I was using

ssh -vv 

to see the detailed debug info and that was the reason why the server was showing

debug2: channel 0: request window-change confirm 0

in the terminal. I quit the shell and then again connected to bash without verbose (-vv) and the problem disappeared.


sshd is the daemon. You'd want to use the -q flag with the client (ssh).

When connecting to your home machines, include the -q flag in the ssh command (i.e. ssh -q user@host). Alternatively, if that doesn't work, you could try redirecting stderr to /dev/null by connecting to your home machines like ssh user@host 2> /dev/null.

Tags:

Terminal

Ssh

Sshd