일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- java
- it
- linux
- Git
- redis
- laravel
- Spring
- AWS
- IntelliJ
- Gradle
- Design Patterns
- 요리
- springboot
- MySQL
- javascript
- devops
- Spring Boot
- Oracle
- jsp
- 맛집
- db
- tool
- ReactJS
- Spring Batch
- Web Server
- elasticsearch
- php
- ubuntu
- jenkins
- JVM
- Today
- Total
아무거나
[ubuntu] rsync 명령으로 원격지에 배포할때 ssh키 관련해서 오류나는 현상 본문
[에러내용]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:uiUqOvBD+ceRHus7VUY12rtr55Z7hpkTDafAXfg2r/U.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:14
remove with:
ssh-keygen -f "/root/.ssh/known_hosts" -R {호스트} // 여기!!!!!!
ECDSA host key for 52.79.141.160 has changed and you have requested strict checking.
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
// 리눅스 known hosts에서 호스트키 삭제
ssh-keygen -f "/root/.ssh/known_hosts" -R {호스트}
'Infra > Linux & Unix' 카테고리의 다른 글
[ubuntu] shell script 파라미터 사용법 (0) | 2019.04.09 |
---|---|
[ubuntu] sed 명령어를 사용한 php.ini 파일 내용 수정 (0) | 2019.04.09 |
[ubuntu] boot용량 꽉 찼을 때 해결 (0) | 2019.03.22 |
[ubuntu] apt-get install 에러가 자꾸 뜨는경우 (0) | 2019.03.08 |
[ubuntu] 리눅스 htop 설치 및 사용방법 (0) | 2018.06.11 |