Notice
Recent Posts
Recent Comments
Link
반응형
이로
Ubuntu root 계정으로 원격 접속 본문
반응형
이슈 - SSH 를 이용하여 원격으로 root계정 로그인 불가
OS 사양
Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-53-generic x86_64) - SERVER
해결방법
sudo passwd root
root 계정의 비밀번호를 설정한다.
vi /etc/ssh/sshd_config
sshd_config 변경창을 띄운다.
PermitRootLogin yes
기존에는 #PermitRootLogin prohibit-password 로 입력되어 있는 값을 PermitRootLogin yes 로 변경한다.
systemctl restart sshd
변경사항을 적용시킨다.
반응형
'Linux > Ubuntu' 카테고리의 다른 글
우분투24.4 SSH 접속 시 경고 (Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings) (0) | 2024.11.23 |
---|---|
[Ubuntu] 우분투에서 Timezone 변경하기 (0) | 2020.11.22 |
Comments