$ hostname -I # ip 주소 확인
$ apt-get install openssh-server
$ vim /etc/ssh/sshd_config
1) PermitRootLogin prohibit-password를 PermitRootLogin yes로 변경
2) PasswordAuthentication no를 PasswordAuthentication yes로 변경
3) UseLogin no를 UseLogin yes로 변경
$ passwd # root 비밀번호가 설정되어있지않으면 password 에러가 계속 난다.
$ service ssh restart
'PROJECT > Kernel 5.7.2' 카테고리의 다른 글
address_space (0) | 2020.07.08 |
---|