如果可以用 ssh  登录名@ip 可以登录的话,那么这样操作下

sudo vim /etc/hosts

再这个文件里面定义映射 一下主机名

就可以用 ssh  登录名@主机名 啦

ssh @ ssh: Could not resolve hostname : Name or service not known相关推荐

  1. 使用vscode连接阿里云服务器报错: ssh: Could not resolve hostname Name or service not known

    ssh: Could not resolve hostname Name or service not known vscode配置里面你把那个hostname不写试试连接 Host 公网ipPort ...

  2. ssh免密报错:Could not resolve hostname : Name or service not known

    解决方法: 需要将对应的ip地址加到文件名/etc/hosts中. 如: 192.168.128.129 cdh1 192.168.128.130 cdh2 192.168.128.131 cdh3

  3. ssh: Could not resolve hostname e.coding.net: Name or service not known

    在向git上传代码,即git push 或从git上download代码 git pull 时,会有如下错误提示: ssh: Could not resolve hostname **: Name o ...

  4. hadoop启动报错:localhost: ssh: Could not resolve hostname localhost

    hadoop启动journalnode时报错:localhost: ssh: Could not resolve hostname localhost: Temporary failure in na ...

  5. 错误提示:ssh: Could not resolve hostname devsrv: Name or service not known

    ssh: Could not resolve hostname devsrv: Name or service not known ubuntu下 scp时出错:ssh: Could not reso ...

  6. git报错 ssh: Could not resolve hostname gitee.com:xxxxxx: Name or service not known fatal

    问题 使用git进行push操作时突然出问题,报错如下: ssh: Could not resolve hostname git: xxxxx:Name or service not known fa ...

  7. ssh: Could not resolve hostname gitcafe.com: nodename nor servname provided, or not known

    今天 git push 的时候报如下错误: ssh: Could not resolve hostname gitcafe.com: nodename nor servname provided, o ...

  8. ssh:could not resolve hostname XXX:Temporary failure in name resolution

    今天使用虚拟机提交github项目发现出现: ssh:could not resolve hostname XXX:Temporary failure in name resolution 先是pin ...

  9. Git提示:ssh: Could not resolve hostname github.com: No address associated with hostname

    今天本地Git Push 代码推送远程分支,提示如下错误信息: zzg@LAPTOP-8R0KHL88 MINGW64 /e/idea_workspace (master) $ git push ss ...

最新文章

  1. 一个「PPT」框架,让超大模型调参变简单:清华刘知远、黄民烈团队力作
  2. java分布式+高可用_[Java复习] 分布式高可用-Hystrix
  3. Spark和Scala当中的collect方法的用法和例子
  4. 从源码角度深入分析ant
  5. poj 1018 Communication System
  6. 十种常见排序算法欢聚一堂
  7. 内存泄漏的原因及解决办法_浅谈 JS 内存泄漏问题
  8. 【手写数字识别】基于matlab RBF手写数字识别【含Matlab源码 471期】
  9. STM32F103和STM32F107区别
  10. Vue项目中国际化的语言切换
  11. 02、RS485 通信与 Modbus 协议
  12. hbuilder设置html格式,Hbuilder中如何设置格式化CSS代码为单行
  13. matlab中wavread函数错误改用方法
  14. 远程高效办公指南,每天都是能量满满的workaholism!
  15. postgreSql数据库学习使用
  16. 【大学生软件测试基础】三角形类型 - 白盒测试 - 语句覆盖 -02
  17. python可以自学吗需要什么基础-自学python需要什么基础,要掌握哪些知识?
  18. 如何设置火狐主页及将火狐新建的标签页也设置成主页
  19. 利用ADSL拨号上网方式如何搭建服务器
  20. 屌丝的逆袭和互联网+时代

热门文章

  1. vue-cli3,虾皮java开发面经
  2. 【Godot】SkillNode 技能节点
  3. win7打开计算机 多窗口,win7电脑无法在一个窗口中打开多个文件夹怎么办?
  4. Android APP一键退出的方法总结分析
  5. 2019百度搜索风云榜公布:元尊、圣墟、逆天邪神位列前三名
  6. 工具收集 - 搜索工具
  7. SRC挖洞之信息收集篇
  8. C语言简单进制转换器
  9. afterlogic webmail lite php,windows内网邮件服务器搭建(hMailserver+ AfterLogic WebMail Lite)
  10. SpringBoot Zxing _ Java 生成二维码(可内嵌图片)