Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPasswordAuthStatus ¶
GetPasswordAuthStatus 获取密码登录的状态
func NewCommand ¶
Types ¶
type KeyTypeConfig ¶
KeyTypeConfig 定义密钥生成的配置
type SSHAuthConfig ¶
type SSHAuthConfig struct { KeyType KeyTypeConfig // 密钥类型配置 DisablePassword bool // 是否禁用密码登录 }
SSHAuthConfig SSH认证配置
Click to show internal directories.
Click to hide internal directories.