-
你是以什么方式运行onedev的?(docker/bare metal/k8s)
-
Previous Value Current Value Open
Closed
-
如果以docker方式运行,可以将6611映射为22端口,如果以bare metal方式运行,可以在conf/server.properties里改端口。
-
如果映射为22端口,即可省略。这种情况下ssh登陆需要改为其他的端口。另外也可以考虑继续使用6611端口,但在ssh客户端做适当配置来省略端口号:
https://superuser.com/questions/1386282/how-to-setup-ssh-config-for-git-on-non-standard-port
| Type |
Question
|
| Priority |
Normal
|
| Assignee |
Issue Votes (0)
“ssh://域名/项目名.git"这种模式,最重要的是不含端口,不知道该如何配置ps:我看过文档,知道怎么配置域名,但是端口不知道怎么去掉