본문 바로가기
Linux/Ubuntu

[Ubuntu] ssh root login

by 暻煥 2024. 2. 5.
  • 목적
    • 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

.

'Linux > Ubuntu' 카테고리의 다른 글

[Ubuntu] HEIC → JPG  (0) 2025.10.09
[Ubuntu] sshfs 공유 폴더 Mount  (0) 2024.02.05
[Ubuntu] Notebook 배터리 상태 확인  (0) 2024.02.04
[Ubuntu] netplan wifi dhcp 설정  (0) 2024.02.04
[Ubuntu] GRUB Booting 선택 제한시간 제거  (0) 2024.02.04