How to disable passwordless login from a subset of systems

Solution Verified - Updated -

Issue

  • We need to disable password less ssh between our development and production servers but we don't want to hash-out public key on the production server authorize file.
  • How to disable password-less login from only one server.

Environment

  • Red Hat Enterprise Linux 6.x and above
  • openssh

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