首页 » 折腾 » 正文

gitea 无法ssh clone push解决

首先确认ssh key已经添加,但还是无法push, docker后台提示Authentication refused: bad ownership or modes for directory /data/git/.sshAuthentication refused: bad ownership or modes for directory /data/git/.ssh

原因可能是对应权限问题,进入docker容器运行 chmod 755 /data/git/.ssh 可以解决问题.

发表评论