zoukankan      html  css  js  c++  java
  • ssh: connect to host gitlab.alpha.com port 22: Network is unreachable

    在这里只说明我遇到的问题和解决方法,可能并不能解决你遇到的问题:

    git clone git@gitlab.alpha.com:ipcam/ambarella.git
    Cloning into 'ambarella'...
    ssh: connect to host gitlab.alpha.com port 22: Network is unreachable
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

    1、检查网络是否可以ping 通

      ping xxx.xxx.xxx.xxx

    2、查看/etc/network/interfaces

      address 一栏和要下载的code server是否在同一网段

    3、不在同一网段添加路由
      sudo route add default gw xxx.xxx.xxx.xxx

  • 相关阅读:
    TeX中的引号
    竖式问题
    蛇形填数
    开灯问题
    排列
    分数化小数
    子序列的和
    cookie
    post请求
    get请求
  • 原文地址:https://www.cnblogs.com/Malphite/p/10471694.html
Copyright © 2011-2022 走看看