WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
2015.01.08
[root@zhanglin4 u02]# scp exp0107.tar.gz 172.17.210.183:/orabak/dmp
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
f0:b9:39:0d:9e:6f:62:ba:b1:71:e4:52:f5:a3:cf:2f.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:2
RSA host key for 172.17.210.183 has changed and you have requested strict checking.
Host key verification failed.
lost connection
解決辦法:
[root@zhanglin4 ~]# cat ~/.ssh/known_hosts
172.17.210.112 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1z7xmsR/2l7ihPDco6Bdon3SgeN13MUT5qKgfkwlS0AHWMhBUQ761oi20OC+ZV0YkeachfjIF9xELFo0+wsDFyKbNaHsMoeWD8TzMCeQd8WiR6gDiky7l0mbgh6CX+jvkHG/RBCsKkHtyk/wT7JeRElRRN7hvfna639hzqxAZVmT3o9BpEFV2pjayvhl1YuJthJeSl+c3xJMmrfVmo6yy8c37+zwXqd2MbbL+nNaa3nCPC7oLeVYs5CXC4E0vuI0mYg30TDvGdcrCxW0nByVxAzeEvsD9yzwS2aZTi+RMnMq2XACP11PzMLJljGMwe5cTjjYcSLChROHDKsg63RrYQ==
172.17.210.183 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2ei4okk+hIbCPnQgJSw9EzLMWGd3s1byPrwA9/fXiRFsZatUP4CFDzmT/AdOZAlTG+lyGhRZDg5Q2mhmd+tIt8OCcImTAZMPexGxo0q5ZZCZOvv9AHL7Vu1sB6FSiXkLKfm5Fr2n2SZcZGb33lSpLXOJlt5rBF9kY1nT/Fwt5c1NAjFGpcwH+T820+NtxdX7+ZzCjmsLd7Hk2L6MRAAozq+rS3Kco9yx4na0HwTNQra0B3oZunsOn9z847zwvSEQ9g0Mb26zMFUpT3noqnftsw8sjocXAR17SYh0NyAWOJ3tXbXEk24LQccgqbblDSeqQ2xWJjGCxoawpMC0t6Ig9Q==
172.17.210.184 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtuQ8ZczO5F63dEm+CUM2AFjU9+tWnfemjY6IsM1vsvvONtXBWhJEtBhtIBzmbO2OfYT+8WD4QENtkD2GnA4unXIgUA27EqQi8gV22SdfCMFqekB47TB17mYP3kYqj5HYGIuCEVT/krhpg1/TNOVz01tOhyEUuKhObJjncnZrqgn4dsXYFhejmP67u1S0rzL03YILsAMN9TpXFZViPfPVtWJtxod3ZxwtG44/3Eqb2Ymh6wmioXPgwCBQxa37HHPGkxe/S3AFxdZkcreEMgADqKw/bvsNgGmqFkF+cW7yx/Xp0zYp2XtolZMu00NahY66zode41Jut5dIRpDwBywWLw==
[root@zhanglinbidevelop4 ~]#
把172.17.210.183 這條刪掉後,儲存檔案即可!
這個./ssh下面儲存的是你曾經ssh過的伺服器的密匙檔案。如果對方伺服器使用者的密碼修改了,你本機再次ssh的時候就會對照本地儲存的,看是否匹配。不匹配就會丟擲錯誤!
[root@zhanglin4 u02]# scp exp0107.tar.gz 172.17.210.183:/orabak/dmp
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
f0:b9:39:0d:9e:6f:62:ba:b1:71:e4:52:f5:a3:cf:2f.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:2
RSA host key for 172.17.210.183 has changed and you have requested strict checking.
Host key verification failed.
lost connection
解決辦法:
[root@zhanglin4 ~]# cat ~/.ssh/known_hosts
172.17.210.112 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1z7xmsR/2l7ihPDco6Bdon3SgeN13MUT5qKgfkwlS0AHWMhBUQ761oi20OC+ZV0YkeachfjIF9xELFo0+wsDFyKbNaHsMoeWD8TzMCeQd8WiR6gDiky7l0mbgh6CX+jvkHG/RBCsKkHtyk/wT7JeRElRRN7hvfna639hzqxAZVmT3o9BpEFV2pjayvhl1YuJthJeSl+c3xJMmrfVmo6yy8c37+zwXqd2MbbL+nNaa3nCPC7oLeVYs5CXC4E0vuI0mYg30TDvGdcrCxW0nByVxAzeEvsD9yzwS2aZTi+RMnMq2XACP11PzMLJljGMwe5cTjjYcSLChROHDKsg63RrYQ==
172.17.210.183 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2ei4okk+hIbCPnQgJSw9EzLMWGd3s1byPrwA9/fXiRFsZatUP4CFDzmT/AdOZAlTG+lyGhRZDg5Q2mhmd+tIt8OCcImTAZMPexGxo0q5ZZCZOvv9AHL7Vu1sB6FSiXkLKfm5Fr2n2SZcZGb33lSpLXOJlt5rBF9kY1nT/Fwt5c1NAjFGpcwH+T820+NtxdX7+ZzCjmsLd7Hk2L6MRAAozq+rS3Kco9yx4na0HwTNQra0B3oZunsOn9z847zwvSEQ9g0Mb26zMFUpT3noqnftsw8sjocXAR17SYh0NyAWOJ3tXbXEk24LQccgqbblDSeqQ2xWJjGCxoawpMC0t6Ig9Q==
172.17.210.184 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtuQ8ZczO5F63dEm+CUM2AFjU9+tWnfemjY6IsM1vsvvONtXBWhJEtBhtIBzmbO2OfYT+8WD4QENtkD2GnA4unXIgUA27EqQi8gV22SdfCMFqekB47TB17mYP3kYqj5HYGIuCEVT/krhpg1/TNOVz01tOhyEUuKhObJjncnZrqgn4dsXYFhejmP67u1S0rzL03YILsAMN9TpXFZViPfPVtWJtxod3ZxwtG44/3Eqb2Ymh6wmioXPgwCBQxa37HHPGkxe/S3AFxdZkcreEMgADqKw/bvsNgGmqFkF+cW7yx/Xp0zYp2XtolZMu00NahY66zode41Jut5dIRpDwBywWLw==
[root@zhanglinbidevelop4 ~]#
把172.17.210.183 這條刪掉後,儲存檔案即可!
這個./ssh下面儲存的是你曾經ssh過的伺服器的密匙檔案。如果對方伺服器使用者的密碼修改了,你本機再次ssh的時候就會對照本地儲存的,看是否匹配。不匹配就會丟擲錯誤!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2018406/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SSH登入:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- Linux - SSH: WARNING REMOTE HOST IDENTIFICATION HAS CHANGEDLinuxREMIDE
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解決方法REMIDE
- SSH登入警告(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)REMIDE
- ssh無法連線 WARNING REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- SSH登陸錯誤 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- REMOTE HOST IDENTIFICATION HAS CHANGED 問題解決REMIDE
- Linux scp 提示"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED" 的解決方案LinuxREMIDE
- linux之 ssh連線伺服器,WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!Linux伺服器REMIDE
- ssh登陸 “remote host identification has changed!“ 解決方案REMIDE
- ssh問題:ssh_exchange_identification: Connection closed by remote hostIDEREM
- [原創] How to pull code when shared repo commit history has been changedMIT
- The partner transaction manager has disabled its support for remote/network transactions.REM
- PHP Warning: exec() has been disabled for security 問題解決辦法PHP
- ORA-02354: ORA-01466: unable to read data - table definition has changed
- 12C Duplicating a Database to a Remote Host by Using Backup-based DuplicationDatabaseREM
- 安裝RAC,Actual Result: Unknown Host Exception has Occurred錯誤解決Exception
- Redis Cluster [WARNING] Node 127.0.0.1:7003 has slots in migrating state (15495).Redis127.0.0.1
- Starting sendmial: make: Warning: File 'virtusertable.db' has ..的解決辦法2
- rhel5上配置vsftpd_421 Service not available, remote server has closed connectionFTPAIREMServer
- Mysql 錯誤日誌出現大量[Warning] Aborted connection to db user host的解決思路MySql
- Warning: Permanently added the RSA host key for IP address '13.250.177.223' to the list of known hos
- Linux WebServer WebRoot Path IdentificationLinuxWebServerIDE
- proxy_set _header Host $host;Header
- WPF Backgroundworker dowork work completed progress changed
- mysql WarningMySql
- jQuery has()jQuery
- jQuery :has()jQuery
- oracle hasOracle
- AttributeError: 'dict' object has no attribute 'has_key'ErrorObject
- [CSS 3] :has()CSS
- Host是什麼?如何設定host檔案?
- mac修改hostMac
- ubuntu配置HOSTUbuntu
- Google:host配置Go
- ubuntu修改hostUbuntu
- Feature Mask Network for Person Re-identificationIDE
- mysql報錯Changed limits: max_open_files: 5000MySqlMIT