scp登录The authenticity of host 192.168.0.xxx can't be established. 的问题
scp 1.txt root@192.168.1.25:/tmp
The authenticity of host '192.168.1.25 (192.168.1.25)' can't be established.
RSA key fingerprint is 6c:28:23:df:45:d5:c8:79:4d:9e:ed:f6:f2:73:22:4c.
Are you sure you want to continue connecting (yes/no)?
提示输入yes后,屏幕不断出现y,只有按ctrl + c结束
错误是:The authenticity of host 192.168.1.xxx can't be established.
执行ssh -o StrictHostKeyChecking=no 192.168.1.xxx 就OK
然后
在一,在linux100主机里的用户
运行
#ssh-keygen -t rsa
结果如下
QUOTE:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/.username/ssh/id_rsa):#回车
Enter passphrase (empty for no passphrase):#回车
Enter same passphrase again:#回车
Your identification has been saved in /home/.username /.ssh/id_rsa.
Your public key has been saved in /home/.username /.ssh/id_rsa.pub.
The key fingerprint is:
38:25:c1:4d:5d:d3:89:bb:46:67:bf:52:af:c3:17:0c username@localhost
Generating RSA keys:
Key generation complete.
会在用户目录~/.ssh/产生两个文件,id_rsa,id_rsa.pub
二,把linux100主机上的id_rsa.pub文件拷贝到linux200主机的root用户主目录下的.ssh目录下,并且改名为authorized_keys
即:
/root/.ssh/authorized_keys
如果已经有authorized_keys这个文件,将id_rsa.pub的内容拷贝到 authorized_keys文件中。cat id_rsa.pub >> authorized_keys 便可以。
scp登录The authenticity of host 192.168.0.xxx can't be established. 的问题相关推荐
- ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
scp免密码登录:Linux基础 - scp免密码登陆进行远程文件同步 执行scp一直是OK的,某天在本地生成了公钥私钥后,scp到某个IP报以下错误 The authenticity of host ...
- 好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题...
用ssh登录一个机器(换过ip地址),提示输入yes后,屏幕不断出现y,只有按ctrl + c结束 错误是:The authenticity of host 192.168.0.xxx can't b ...
- 好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
http://blog.csdn.net/kimsoft/article/details/5865418 用ssh登录一个机器(换过ip地址),提示输入yes后,屏幕不断出现y,只有按ctrl + c ...
- 可以ping通 但ssh: connect to host 192.168.0.2 port 22: Connection refused
目录 问题描述 原因 解决 问题描述 自己在树莓派端通过SCP指令给电脑上ubuntu传输文件发现提示:ssh: connect to host 192.168.0.2 port 22: Connec ...
- 解决mac报错ssh:connect to host 192.168.xx.xxx port 22: Connection refused
遇到的问题 机器A ssh连接 机器B失败,机器B ssh连接 机器A成功 mac在ssh远程登录的过程中出现报错ssh:connect to host 192.168.xx.xxx port 22: ...
- LINUX开启ssh服务,报错:ssh: connect to host 192.168.0.101 port 22: Connection refused
Ubuntu下测试ssh时使用ssh localhost 命令,出现错误提示connect to host localhost port 22:Connection refused 造成这个错误的原因 ...
- ssh: connect to host 192.168.1.20 port 22: No route to host解决方案
ping 192.168.1.20 | ping 192.168.1.21 | ping 192.168.1.22 不通 解释:在一台服务器上ip为(192.168.1.31):部署三台虚拟机(192 ...
- 192.168.0.1登录入口
有不少的用户在反馈,说在设置路由器的时候,192.168.0.1登录入口打不开/找不到,从而无法对路由器进行设置,问我应该怎么办? 根据鸿哥的经验来看,出现无法打开路由器的192.168.0.1登录入 ...
- 学校计算机打不开d,D-Link路由器192.168.0.1登录页面打不开怎么解决【解决方法】...
本文介绍了D-Link路由器的192.168.0.1登录页面打不开的解决办法,引起无法打开D-Link无线路由器的192.168.0.1登录页面的原因有很多种,不错常见的还是由于用户的粗心大意所致,今 ...
- css101路由密码,192.168.0.101登陆官网登录入口
192.168.0.101 IP地址说明 192.168.0.101是路由器的专有地址:如果你想通过192.168.0.101访问路由器的管理页面请输入192.168.0.101到Web浏览器的地址栏 ...
最新文章
- java中日期的数据类型是啥_用于存储日期和时间的最合适的SQL和Java数据类型
- 女生读计算机专业好,女生选择计算机专业就读好吗?
- mini2440的时钟
- mediasoup-client 和 libmediasoupclient 指南
- leetcode--207. 课程表
- 对传统视觉惯性的颠覆
- 前端学习(2951):上午回顾
- 三国中最精辟的十句话
- 【英语学习】【Level 07】U05 Best Destination L6 Paradise on Earth
- tensorflow保存和恢复模型saver.restore
- leetcode 503. 下一个更大元素 II
- QTreeView设置branch图标大小
- 有了5G手机和套餐,如何正确使用5G网络?
- Kali新安装时软件安装及配置[自用 欢迎补充]
- 移动端H5页面必用代码
- 全自动过滤器:全自动叠片过滤器工作原理及应用范围
- PNG免抠素材网,免费商用,设计师赶紧马住。
- pip国内常用镜像源汇总
- 《小白兔到大黑牛》第十四篇Hadoop中五个进程作用
- 苹果消息推送服务教程:第一部分(共2部分)