sudo vi /etc/ssh/sshd_config
sshd_config 파일 열어서
PasswordAuthentication no
부분을 yes로 변경
sudo service sshd restart
sshd 재시작
ssh username@ip_address
터미널에서 이렇게 접속 가능
'AWS' 카테고리의 다른 글
NCP 서버 포트 열어서 다른 버전의 추가 Django 올리기 (0) | 2025.02.16 |
---|