Why 'from=' option in sshd authorized_keys file doesn't work for the hostname?

Solution Verified - Updated -

Issue

  • For security reasons, admin use 'from=' option in sshd authorized_keys file to deny all the hosts (hostnames) except what is mentioned with this option, even if they have proper keys. Unfortunately, this doesn't work with CoreOS/RHEL8?
  • This works fine up to Red Hat Enterprise Linux 7.3. Then what has changed this behavior?
  • Why 'from= doesn't work but if we put it works?

Environment

  • Red Hat Openshift 4.X
  • CoreOS
  • Red Hat Enterprise Linux 8.X
  • Red Hat Enterprise Linux 7.4

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