°Ô½Ã¹° 260°Ç
 
[RHEL9] root ·Î ssh Á¢¼Ó °¡´ÉÇÏ°Ô Çϱâ ; ±âº»ÀûÀ¸·Î RHEL9Àº root°¡ ¸·ÇôÀÖ¾î¿ä.
±Û¾´ÀÌ : theko ³¯Â¥ : 2024-11-27 (¼ö) 14:36 Á¶È¸ : 39
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



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
 

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com