节点SSH登录自动使用集群设置

This commit is contained in:
刘祥超
2022-10-26 19:23:29 +08:00
parent 1d66029ef0
commit cb3bf14df8
6 changed files with 4552 additions and 4518 deletions

View File

@@ -0,0 +1,11 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package nodeconfigs
func DefaultSSHParams() *SSHParams {
return &SSHParams{Port: 22}
}
type SSHParams struct {
Port int `json:"port"`
}