How to force OpenSSH client to use password based authentication only?

Solution Verified - Updated -

Issue

  • How to use only password based authentication mechanism for OpenSSH client?
  • How to override default authentication mechanism for OpenSSH client, defined in /etc/ssh/ssh_config or user's ~/.ssh/config configuration file?
  • OpenSSH server is supporting password based authentication but OpenSSH client is not able to do the same

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content