Linux/Ubuntu

[Ubuntu] ssh root login

暻煥 2024. 2. 5. 13:27
  • 목적
    • root 계정으로 ssh 접속 허용

 

" /etx/ssh/sshd_config "에서 아래의 2개 내용 수정

# File: /etx/ssh/sshd_config

PermitRootLogin yes
PasswordAuthentication yes

 

root 계정 password 설정

$ passwd root

 

ssh service 재시작

$ service ssh restart

.