Red Hat Enterprise Linux 9¿¡¼ root »ç¿ëÀÚ·Î SSH ·Î±×ÀÎ È°¼ºÈ
Red Hat Enterprise Linux 9´Â /etc/ssh/sshd_config ÆÄÀÏ¿¡¼ PermitRootLogin ¸Å°³º¯¼ö°¡ yes ·Î ¼³Á¤µÇ¾î À־ root »ç¿ëÀÚ·Î SSH ·Î±×ÀÎÀ» Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. ´ÙÀ½°ú °°Àº ¿À·ù°¡ ¹ß»ýÇÕ´Ï´Ù.
[root@test01 ~]# ssh root@192.168.100.100
root@192.168.100.100 password:
Permission denied, please try again.
> ÇØ°á¹æ¾È
1) Red Hat Enterprise Linux 9¸¦ ¼³Ä¡ÇÏ´Â µ¿¾È root ¾ÏÈ£¸¦ ¼³Á¤ÇÏ´Â µ¿¾È "¾ÏÈ£·Î root ·Î±×ÀÎ Çã¿ë" Ç÷¡±×¸¦ »ç¿ëÇÕ´Ï´Ù.
2)
Red Hat Enterprise Linux 9 ¼³Ä¡ ÈÄ PermitRootLogin ¸Å°³º¯¼ö¸¦ ¼öµ¿À¸·Î ¼³Á¤ÇÕ´Ï´Ù.
PermitRootLogin ¸Å°³º¯¼öÀÇ ¼öµ¿ ¼³Á¤¿¡ ´ëÇØ ¼³¸íÇÕ´Ï´Ù.
# echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config.d/01-permitrootlogin.conf
# systemctl restart sshd.service