V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
zhangliang5
V2EX  ›  git

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

  •  
  •   zhangliang5 · 2016-03-03 21:03:44 +08:00 · 5188 次点击
    这是一个创建于 2969 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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  
       2016-03-03 23:07:18 +08:00
    能 clone 下来吗?
    Arthur2e5
        2
    Arthur2e5  
       2016-03-04 06:01:30 +08:00 via Android
    这哪是没有权限啊,端口都没开…

    能 clone 吗 +1
    michaelOoO
        3
    michaelOoO  
       2016-03-04 13:45:32 +08:00
    ssh -T [email protected] 先测试一下,认证+端口是否正常
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1404 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 17:23 · PVG 01:23 · LAX 10:23 · JFK 13:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.