更新 Linux远程拷贝同步命令案例.md

This commit is contained in:
小柒2012 2018-12-03 19:56:20 +08:00
parent 661bc68715
commit f490e5e472
1 changed files with 12 additions and 0 deletions

View File

@ -17,4 +17,16 @@ rsync -avz /mnt/domains/blog.52itstyle.com root@115.29.143.135:/home/backups/
```
如果出现:
```
RSA host key for [ip address] has changed and you have requested strict checking
```
可能是系统重装后本地机和服务器内部ssh对不上导致错误因此只需要删除本地机ssh缓存信息即可恢复。
在本地机输入一下命令行:
```
ssh-keygen -R IP
```