Welcome to the myhosting.com Forums.
-
SSH login
Hi all,
Can anyone please tell me...
If I log in to SSH via Plesk is that called local access as opposed to from my own pc = remote access?
If I edit sshd_config to say 'permit root login no' - will that only affect non-plesk logins - ie root will still be able to login to SSH via Plesk?
Thank you
-
Disable Root Login (PermitRootLogin)
By default you can ssh to the server as root. It is best not to allow root to login directly to the server. Instead, you should login to the system as your account and then do ‘su -’ to login as root.
If you have multiple sysadmins in your organization, and if they all login to the server directly as root, you might not know which sysadmin logged in as root. Instead, if you disable login as root, sysadmins are forced to login as their account first, before they can do ‘su -’, this makes the auditing easier.
Add the following entry to sshd_config to disable root to login to the server directly.
$ vi /etc/ssh/sshd_config
PermitRootLogin no
I think it also affecting the SSH Terminal in Plesk
details:
7 Default OpenSSH Security Options You Should Change in /etc/ssh/sshd_config
Hope this helps!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Version 4.1.7
Copyright ©2000 - 2013
All times are GMT -4. The time now is 02:13 PM.