我尝试在GitBlit中禁用SSH并将其隐藏在Repository-URL中,例如ssh:// user @ domain:29418/MyProj.git.我只需要http和https访问权限,例如https://user@domain/gitblit/MyProj.git
GitBlit在JBoss 4上运行.
谢谢你的帮助.
将端口设置为小于0的数字以禁用它.
更多信息可以在这里找到:http: //gitblit.com/properties.html
# The port for serving the SSH service. <= 0 disables this service.
# On Unix/Linux systems, ports < 1024 require root permissions.
# Recommended value: 29418
#
# SINCE 1.5.0
# RESTART REQUIRED
git.sshPort = 29418
Run Code Online (Sandbox Code Playgroud)