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

 

터미널에서 이렇게 접속 가능