AWS

EC2 ubuntu ssh 비밀번호로 외부 접속

UserDonghu 2023. 11. 15. 10:08
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