How to Allow Only root User to Login Through SSH
Last updated on SEPTEMBER 14, 2017
Applies to:Linux OS - Version Oracle Linux 5.0 and later
By default all users can SSH login the system with a valid password/public key.
For certain dedicated Servers, such as FTP Server, E-mail Server, etc. which have amount of user accounts shared authentication with Linux system, disabling non-root users to login through SSH will be a wise choice in this scenario.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms