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

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

  •  
  •   zhangliang5 · Mar 3, 2016 · 6647 views
    This topic created in 3912 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
    nicevar
    Mar 3, 2016
    1
    能 clone 下来吗?
    Arthur2e5
    Arthur2e5
    Mar 4, 2016 via Android
    2
    这哪是没有权限啊,端口都没开…

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