Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSystemSSHVersion ¶
GetSystemSSHVersion attempts to query the system SSH for its current version.
Types ¶
type SSHConfig ¶
type SSHConfig struct {
// contains filtered or unexported fields
}
func NewSSHConfig ¶
NewSSHConfig creates a SSHConfig initialized with provided values or defaults otherwise.
func (*SSHConfig) GetSSHConfig ¶
func (c *SSHConfig) GetSSHConfig(sb *strings.Builder, config *SSHConfigParameters) error
type SSHConfigApps ¶
type SSHConfigApps string
SSHConfigApps represent apps that support ssh config generation.
const ( TshApp SSHConfigApps = teleport.ComponentTSH TbotApp SSHConfigApps = teleport.ComponentTBot )
type SSHConfigParameters ¶
type SSHConfigParameters struct { AppName SSHConfigApps ClusterNames []string KnownHostsPath string IdentityFilePath string CertificateFilePath string ProxyHost string ExecutablePath string DestinationDir string }
SSHConfigParameters is a set of SSH related parameters used to generate ~/.ssh/config file.
Click to show internal directories.
Click to hide internal directories.