SSH접속시 SSH Permission denied 에러가 나면 터미널에서 아래 명령어를 입력하여 sshd_config를 수정하자.
sudo vim /etc/ssh/sshd_config
vim을 이용하여 sshd_config 파일을 열어서 아래와 같이 편집
PermitRootLogin prohibit-password -> PermitRootLogin yes
PasswordAuthentication no -> PasswordAuthentication yes
ssh 서비스 다시 시작하기
sudo launchctl stop com.openssh.sshd
sudo launchctl start com.openssh.sshd
'Mac' 카테고리의 다른 글
[UE4] Mac에서 UE4 xcode프로젝트 생성하기 (0) | 2021.10.14 |
---|---|
Mac에 svn 설치하기 (0) | 2021.09.23 |
svn checkout, update 하기 (0) | 2021.09.23 |
[UE4] Mac에 언리얼엔진을 설치후 뜨는 에러 (0) | 2021.09.23 |
Path had bad ownership/permissions 에러 (0) | 2021.09.23 |
댓글