Linux 下一些问题解决


问题一:执行远程拷贝的时候,提示认证变了不能拷贝

scp -r www root@192.168.1.71:/opt
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
d6:54:24:a7:1d:76:bd:75:ea:ce:cd:0a:66:fe:bf:1d.
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:1
RSA host key for 192.168.1.71 has changed and you have requested strict checking.
Host key verification failed.
lost connection

解决方法:
vi ~/.ssh/known_hosts
进入此目录,删除192.168.1.90的相关rsa的信息即可.
或者删除这个文件
cd ~/.ssh/
rm known_hosts

问题二: vi 文件的时候,提示有swap文件

解决:rm .vsftpd.conf.swap  该文件被隐藏


问题三:查看linux 系统32和64

[root@bkjia.com]# getconf WORD_BIT
32

相关内容