PermitRootLogin 问题解决

新装系统,登录git服务器clone,突然报这个错误,以前从来没有碰到过,解决过程如下:
seaside@vmdev:~/csdn_git/mcp$ git clone [email protected]:huyongfu2004/mcp.git

Cloning into 'mcp'...

/etc/ssh/ssh_config: line 54: Bad configuration option: permitrootlogin

/etc/ssh/ssh_config: terminating, 1 bad configuration options

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

打开配置文件:
sudo vim /etc/ssh/ssh_config
permitrootlogin这个配置应该 放到s

PermitRootLogin 问题解决最先出现在Python成神之路

版权声明:
作者:主机优惠
链接:https://www.techfm.club/p/11761.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>