달력

42024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

sudo nano /etc/ssh/sshd_config


sshd_config 파일에서 PermitRootLogin 을 찾습니다


----------------------------------------

# Authentication:

LoginGraceTime 120

PermitRootLogin without-password   

StrictModes yes

----------------------------------------


PermitRootLogin yes



without-password 라고 되있는데 yes 로 변경합니다


이제 저장 합니다.


Ctrl+O 엔터, Ctrl+X 


service sshd restart


Posted by 타카스 류지
|