티스토리 뷰

에러내용은 다음과 같습니다.

 

Could not connect the SSH Tunnel


WARNING : Server public key has changed. It means either your're under attack or the administrator has changed the key. New public fingerprint is : 지문 키 ~

 

스크린 캡쳐가 있으면 더 좋았겠지만 해결하고 난 뒤 찍을 수가 없었네요..

 

모두 같은 상황에서 발생하진 않겠지만 저 같은 경우에는 서버 OS가 같은 IP 주소로 신규 설치되고

그에 따라 당연히 공개키값이 바뀌게 되면서 다음과 같은 에러가 발생했는데요.

 

MySQL Connections 에서 삭제하고 신규로 등록해도 같은 에러가 나왔습니다.

따라서, 이유는 설정파일에 해당 로그가 기록되어 있다고 판단하여 찾아본 결과..

 

https://stackoverflow.com/questions/28498358/why-mysql-workbench-shows-connection-error-related-to-known-hosts

 

Why MySQL Workbench shows connection error related to known_hosts?

While connecting to database on remote server I got connection error related to known_hosts file. It did not ask me to update the known_host file but simply reject to connect.

stackoverflow.com

해당 경로에서 다음 파일을 백업해두고 재시도한 결과 접속 성공하였습니다.

 

C:\Users\%USERPROFILE%\.ssh\known_hosts

 

별거 아니었지만 공개키 설정을 해야되나 어쩌나 싶어서 이리저리 삽질하다가 시간을 많이잡아먹었네요.. ㅋㅋ