Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hop ¶
type Hop struct {
HostName string
Port int
*ssh.ClientConfig
}
Hop holds information needed to establish a single SSH hop
type SSHConfig ¶
type SSHConfig struct {
Alias string
User string
HostName string
Port int
KeyCheck keyCheck
IdentityFiles []string
KnownHostsFiles []string
Ciphers []string
Macs []string
HostKeyAlgos []string
KexAlgos []string
Jumps []*jumpSpec
}
SSHConfig represents an SSH config read from, e.g., ~/.ssh/config
func ParseSSHConfig ¶
func (*SSHConfig) EnsureUser ¶
func (sc *SSHConfig) EnsureUser()
Click to show internal directories.
Click to hide internal directories.