在ubuntu14.04上运行ssh - keygen 出现ssh:could not resolve hostname
来源:互联网 发布:数据库中序列自增 编辑:程序博客网 时间:2024/05/21 11:10
在学习hadoop的时候装一个ubuntu虚拟机然后配置了java环境,又配置了hadoop之后使用ssh 设置密钥对的时候出现了 ssh: could not reslove hostname
当时就很不理解我的什么都配置好了为什么还出现这样的问题呢,我的/etc/hosts下面的主机名也已经有了,也是困扰了一天的时间,不过当我后来又仔细看了看别人的文章的时候发现
原来是我写错了应该是 ssh-keygen这是在一起的不能分开的,如下图
然后使用ssh-keygen后出现下面的图示
注意这里的如果使用sudo是在用户目录下的密钥,如果使用sudo则是在root目录下的密钥
0 0
- 在ubuntu14.04上运行ssh - keygen 出现ssh:could not resolve hostname
- ssh: Could not resolve hostname
- ssh: Could not resolve hostname
- ssh: Could not resolve hostname ...
- Hadoop中ssh: Could not resolve hostname问题
- ssh: Could not resolve hostname问题终于解决了。
- 错误:ssh:could not resolve ....
- ssh: Could not resolve hostname devsrv: Name or service not known
- ssh: Could not resolve hostname code.csdn.net: Name or service not known
- ssh: Could not resolve hostname hadoop0: Name or service not known
- [git]ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known
- Linux-SSH报错:Could not resolve hostname node1: Name or service not know
- hadoop启动时,报ssh: Could not resolve hostname xxx: Name or service not known
- ssh: Could not resolve hostname guard.: Name or service not known
- git错误--ssh: Could not resolve hostname ssh.github.com: Name or service not known--解决方式
- git错误--ssh: Could not resolve hostname ssh.github.com: Name or service not known--解决方式
- hadoop-2.2.0安装警告 (ssh: Could not resolve hostname warning)
- ssh: Could not resolve hostname you: Temporary failure in name resolution
- CentOS6.6如何搭建DNS服务器
- 心灵鸡汤
- 一看就明白的爬虫入门讲解:基础理论篇
- (子)图同构算法VF2实现(2)——源代码与具体实现
- 9.c/c++程序员面试宝典-递归
- 在ubuntu14.04上运行ssh - keygen 出现ssh:could not resolve hostname
- 如何设置字段的长度查询最快又节省空间?
- hdu 1671 Phone List 字典树
- Android高效加载大图、多图解决方案,有效避免程序OOM---读后总结
- struts2中action向action之间传数据和action向jsp传数据理解
- Android高级之Volley框架(三):ImageRequest、ImageLoader、NewworkImageView的使用
- iOS开发——学习runtime的理解和心得
- 理解CSS3 transform中的Matrix(矩阵)
- 数据库