sudo vi /etc/ssh/sshd_config AuthenticationMethods "publickey,password" # 추가 PubkeyAuthentication yes # 수정 PubkeyAuthentication yes # 수정 # 재시작 sudo service sshd restart