gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.27k stars 670 forks source link

1.9.3添加ssh不起作用添加不上去 #1422

Closed BoyceLig closed 1 year ago

BoyceLig commented 1 year ago

"1.9.3 add ssh does not work add not up"

flaix commented 1 year ago

I am very much suspecting this is a duplicate of #1415? Running from a container?

BoyceLig commented 1 year ago

我是在windows环境下运行的,我用cmd运行时,他可以添加,但是我安装了服务之后,后台运行的服务就不能添加了

"I am running in windows environment, when I run it with cmd, he can add it, but after I installed the service, the service running in the background can't be added"

flaix commented 1 year ago

Actually I am not sure what you are talking about. Are you talking about adding SSH keys to a user profile? Or adding SSH transport to Gitblit? What are the errors you see in the log, what kind of SSH keys?

BoyceLig commented 1 year ago

我是在Gitblit自建的网站里添加SSH的公匙,但是点击添加没反应

"I am adding the SSH public key in Gitblit's self-built website, but it doesn't respond when I click Add"

flaix commented 1 year ago

Is this in any way related to #984? Ah, no, this seems to be a duplicate of #1415, just not in a docker container but in Windows. So I guess the error is not dependent on the environment. I cannot reproduce this error. Which browser are you using?

Or, since you say it works when run normally, but not when run as a service, does the service have write access to the directory data/ssh in the Gitblit install directory?

BoyceLig commented 1 year ago

具有写入权限,浏览器为Edge。我察看了#984 ,我的ssh格式是正确的,但是我在另外一台电脑去操作时候他就可以正常添加,所以我也不太清楚什么问题。我现在的电脑重新做了系统,也无法复现这个问题了。 With write access, the browser is Edge. I checked #984, my ssh format is correct, but it can be added normally when I go to another computer, so I don't know what the problem is. I have restarted the system on my current computer and can't reproduce the problem.

flaix commented 1 year ago

If this is no longer a problem for you, please feel free to close this issue here.

flaix commented 1 year ago

There was another report of it not working a while ago in #1226