How to disable direct root Logins?
- SSH into your server as ‘admin’ and gain root access by su
- Copy and paste this line to edit the file for SSH logins pico -w /etc/ssh/sshd_config
- Find the line Protocol 2, 1
- Uncomment it and change it to look like Protocol 2
- Next, find the line PermitRootLogin yes
- Uncomment it and make it look like PermitRootLogin no
- Save the file Ctrl+X then Y then enter
- Now you can restart SSH /etc/rc.d/init.d/sshd restart
These instructions can vary from system to system…
Aradığınız Bilgiyi Bulamıyor musunuz?
Bilgi bankasını detaylı olarak incelediniz, fakat ihtiyacınız olan bilgiyi bulamıyorsanız,
Bir Destek Talebi Oluşturun.
Bildiriminiz için Teşekkür Ederiz.
Bunun için üzgünüz :( Daha iyisi için çalışacağız.
Daha önce oylama yaptınız.
(13424 defa görüntülendi. / 171 kişi faydalı buldu.)