리눅스1 vscode permission error publickey root, ubuntu 하란거 다 해도 안될때 마지막 방법 scp 안될때 원격지 들어가서 콘솔이나 뭐든 sudo gedit /etc/ssh/sshd_config 로 접속 PermitRootLogin prohibit-password 찾아서 PermitRootLogin yes 로 변경 (해킹의 위험이 있으니 비번 확실히) PasswordAuthentication no 찾아서 PasswordAuthentication yes 로 변경 UseLogin no 찾아서 UseLogin yes 로 변경 끝나고 반드시 root비번 설정해줄것. (사실 서버 관리자 입장에서 당연히 해야지) ssh 재시작 sudo service ssh restart 2023. 6. 15. 이전 1 다음