Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    使用ssh命令测试公钥成功,但下载需要输入密码

    D1系列-RISC-V
    5
    9
    221
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      黄色的土豆 LV 3 last edited by

      我使用ssh命令测试公钥是否上传成功,结果是成功,但是在下载使用repo init -u ssh://xx@sdk.allwinnertech.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml时,始终提示要输入密码,这是个啥子原因引起的?

      YuzukiTsuru L D 3 Replies Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 @tp055 last edited by

        @tp055 你的用户名是xx吗

        T 1 Reply Last reply Reply Quote Share 0
        • T
          黄色的土豆 LV 3 @YuzukiTsuru last edited by

          @yuzukitsuru 不是,是自己的用户名

          W 1 Reply Last reply Reply Quote Share 0
          • W
            whycan晕哥 LV 9 @tp055 last edited by

            @tp055
            发一下完整日志

            T 1 Reply Last reply Reply Quote Share 0
            • T
              黄色的土豆 LV 3 @whycan last edited by xiaowenge

              @whycan
              1b37bc06-6605-4bd9-a8b0-d814aaf7e2db-image.png

              连续输入正确密码也不行,提示几次直接退出。

              W 1 Reply Last reply Reply Quote Share 0
              • W
                whycan晕哥 LV 9 @tp055 last edited by

                @tp055

                试一试这个命令: git clone ssh://whycan@sdk.allwinnertech.com/git_repo/D1_Tina_Open/tina-d1-h/lichee/device/config/d1 (记得替换用户名)

                whycan@ubuntu:/tmp$ git clone ssh://whycan@sdk.allwinnertech.com/git_repo/D1_Tina_Open/tina-d1-h/lichee/device/config/d1
                Cloning into 'd1'...
                remote: Counting objects: 69, done.
                remote: Compressing objects: 100% (66/66), done.
                remote: Total 69 (delta 15), reused 0 (delta 0)
                Receiving objects: 100% (69/69), 779.32 KiB | 3.00 MiB/s, done.
                Resolving deltas: 100% (15/15), done.
                
                1 Reply Last reply Reply Quote Share 0
                • L
                  lgkgkfg LV 6 @tp055 last edited by

                  @tp055 重启下试试,上传公钥有时候重启下就好了

                  1 Reply Last reply Reply Quote Share 0
                  • D
                    dream LV 6 @tp055 last edited by

                    @tp055 删除并重新添加密钥试试,一次不行来两次,两次不行来三次,三次不行那就真的不行。

                    T 1 Reply Last reply Reply Quote Share 0
                    • T
                      黄色的土豆 LV 3 @dream last edited by

                      @dream 已经解决了,谢谢!

                      1 Reply Last reply Reply Quote Share 0
                      • 1 / 1
                      • First post
                        Last post

                      Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                      行为准则 | 用户协议 | 隐私权政策