When I don't have permission or log in with a wrong password ssh prints "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)."

Is there a way to configure SSH on the server to not emit anything?

1 Answer 1


The error message is not from the server but from the client. You can suppress those messages with the -q option, like

ssh -q mvaldez@wintermute
  • 1
    I believe putting LogLevel QUIET into ssh_config will accomplish the same thing without requiring the use of a command line switch on every invocation.
    – user
    Jul 5, 2012 at 11:49
  • You are right, the LogLevel option can do the same thing (in global ssh_config or personal .ssh/config).
    – MV.
    Jul 5, 2012 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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