- 博客(2)
- 收藏
- 关注
原创 netopeer2-cli连接localhost失败
原因: ssh会把访问过的计算机公钥(public key)记录在~/.ssh/known_hosts中。当下次访问相同计算机时,OpenSSH会核对公钥。如果公钥不同,OpenSSH会发出警告,避免你受到DNS Hijack之类的***。 解决办法: 打开known_hosts文件:vi /root/.ssh/known_hosts 删除其中的内容即可,wq退出 再次执行进入netopeer2-cli,执行connect,yes,输入密码即可登录成功 ...
2021-09-29 12:55:48
597
原创 Linux下配置ip的方法
1、ifconfig sudo ifconfig eth1 10.0.0.1/24$ sudo ifconfig eth1 up 2、ip addr ip addr add 10.0.0.1/24 dev eth1 ip link set up eth1 ifconfig和ip addr命令分别属于net-tools和iproute2.
2021-09-24 10:10:07
149
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人