Disable ssh access for particular user but allow command execution over ssh

Solution Verified - Updated -

Issue

  • User should be allowed to execute all commands over ssh without having access to server.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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