git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
zhangliang5
V2EX  ›  git

gitlab 搭建好以后, git push -u origin master 提示没权限

  •  
  •   zhangliang5 · Mar 3, 2016 · 6522 views
    This topic created in 3870 days ago, the information mentioned may be changed or developed.

    userdeMacBook-Pro:letu2 apple$ git push -u origin master
    ssh: connect to host 192.168.1.105 port 22: Connection refused
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    userdeMacBook-Pro:letu2 apple$

    这是什么问题,已经把本机的生成的 id_rsa.pub 在网页里添加。

    nicevar
        1
    nicevar  
       Mar 3, 2016
    能 clone 下来吗?
    Arthur2e5
        2
    Arthur2e5  
       Mar 4, 2016 via Android
    这哪是没有权限啊,端口都没开…

    能 clone 吗 +1
    michaelOoO
        3
    michaelOoO  
       Mar 4, 2016
    ssh -T [email protected] 先测试一下,认证+端口是否正常
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2279 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:50 · PVG 23:50 · LAX 08:50 · JFK 11:50
    ♥ Do have faith in what you're doing.