萌新来问deepin下git的ssh为什么无权限呢,密钥对都正常配的
Tofloor
poster avatar
limengyu
deepin
2019-10-20 06:10
Author
甚至拿来其他服务器的密钥对粘贴到这个deepin的密钥文件里,还是git clone  无权限,各位大佬有没有遇到这种情况并解决的,各种百度无效后特来请教。
今天刚买的荣耀magicbook pro linux版,初次遇到了这个问题,求问各位大佬
Reply Favorite View the author
All Replies
avatar
Feng Yu
deepin
2019-10-20 08:17
#1
私钥的权限不能太高,必须600,你直接复制下来权限肯定不对
Reply View the author
avatar
limengyu
deepin
2019-10-20 09:00
#2
https://bbs.deepin.org/post/183996
私钥的权限不能太高,必须600,你直接复制下来权限肯定不对

可是生成的密钥对也无效,这跟openssh-server有关系吗
Reply View the author
avatar
Feng Yu
deepin
2019-10-20 18:22
#3
https://bbs.deepin.org/post/183996
可是生成的密钥对也无效,这跟openssh-server有关系吗

没关系。GIT_SSH_COMMAND="ssh -v" git clone example 看看ssh详细的输出信息,就知道问题在哪了
Reply View the author