gitblit icon indicating copy to clipboard operation
gitblit copied to clipboard

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

Open BoyceLig opened this issue 1 year ago • 2 comments

BoyceLig avatar Jul 30 '22 07:07 BoyceLig

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

flaix avatar Aug 02 '22 20:08 flaix

我是在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"

BoyceLig avatar Aug 09 '22 05:08 BoyceLig

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?

flaix avatar Oct 08 '22 14:10 flaix

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

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

BoyceLig avatar Oct 22 '22 01:10 BoyceLig

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?

flaix avatar Oct 24 '22 19:10 flaix

具有写入权限,浏览器为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.

BoyceLig avatar Oct 25 '22 02:10 BoyceLig

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

flaix avatar Oct 26 '22 15:10 flaix

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

flaix avatar Oct 26 '22 17:10 flaix