遇见bug

bug log

#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 RSA key sent by the remote host is
SHA256:6zKiuPSPE90dB6PNCj1fICgA1DTrTxPFiVbl82+sS0E.
Please contact your system administrator.
Add correct host key in /c/Users/xuliugen/.ssh/known_hosts to get rid of this message.
Offending RSA key in /c/Users/xuliugen/.ssh/known_hosts:4
RSA host key for 192.168.107.150 has changed and you have requested strict checking.
Host key verification failed.
------------------------------解决办法------------------------------------
vi ~/.ssh/known_hosts
#删除相关IP的公钥后重新链接 快捷键dd删除整行
root@localhost ~]# docker run -ti -p 80:80 nginx  /bin/bash
WARNING: IPv4 forwarding is disabled. Networking will not work.  
------------------------------解决办法------------------------------------
vi /usr/lib/sysctl.d/00-system.conf
#添加如下代码:
net.ipv4.ip_forward=1
#重启network服务
systemctl restart network
# 删除掉做错的容器,再次创建就可以了 :
docker rm -f 
本作品采用《CC 协议》,转载必须注明作者和本文链接
你还差得远呐!
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!