Documentation
¶
Index ¶
- type AddKeysToAgent
- type BlockStatement
- type CASignatureAlgorithms
- type CanonicalizeFallbackLocal
- type CanonicalizeHostname
- type CanonicalizeMaxDots
- type CanonicalizePermittedCNames
- type CertificateFile
- type ChallengeAuthentication
- type CheckHostIP
- type Ciphers
- type ClearAllForwardings
- type Compression
- type CompressionLevelStatement
- type ConnectionAttempts
- type ConnectionTimeout
- type ControlMaster
- type ControlPath
- type ControlPersist
- type DynamicForward
- type EscapeChar
- type ExitOnForwardFailure
- type FingerprintHash
- type ForwardAgent
- type ForwardX11
- type ForwardX11Timeout
- type ForwardX11Trusted
- type GSSApiAuthentication
- type GSSApiDelegateCredentials
- type GatewayPorts
- type GlobalKnownHostsFile
- type HashKnownHosts
- type HostBasedAuthentication
- type HostBasedKeyTypes
- type HostKeyAlgorithms
- type HostKeyAlias
- type HostName
- type HostStatement
- type IPQoS
- type IdentitiesOnly
- type IdentityAgent
- type IdentityFile
- type Include
- type KbdInteractiveAuthentication
- type KbdInteractiveDevices
- type LocalCommand
- type LocalForward
- type LogLevelStatement
- type Macs
- type Match
- type NoHostAuthentication
- type Node
- type NumberOfPasswordPrompts
- type PCKS11Provider
- type PasswordAuthentication
- type PermitLocalCommand
- type Port
- type PreferredAuthentications
- type ProxyCommand
- type ProxyJump
- type ProxyUserFDPass
- type PubkeyAcceptedKeyTypes
- type PubkeyAuthentication
- type RekeyLimit
- type RemoteCommand
- type RemoteForward
- type RequestTTY
- type SSHConfig
- type SendEnv
- type ServerAliveOption
- type SetEnv
- type Statement
- type StreamLocalBindMask
- type StreamLocalBindUnlink
- type StrictHostKeyChecking
- type TCPKeepAlive
- type Tunnel
- type TunnelDevice
- type UpdateHostKeys
- type UseKeyChain
- type User
- type UserKnownHostsFile
- type VerifyHostKeyDNS
- type VisualHostKey
- type XAuthLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddKeysToAgent ¶
AddKeysToAgent ...
type BlockStatement ¶
type BlockStatement struct {
Statements []Statement
}
BlockStatement anything after the 'Host' statement
func (*BlockStatement) TokenLiteral ¶
func (b *BlockStatement) TokenLiteral() string
TokenLiteral ...
type CASignatureAlgorithms ¶
CASignatureAlgorithms ...
func (*CASignatureAlgorithms) TokenLiteral ¶
func (c *CASignatureAlgorithms) TokenLiteral() string
TokenLiteral ...
type CanonicalizeFallbackLocal ¶
CanonicalizeFallbackLocal ...
func (*CanonicalizeFallbackLocal) String ¶
func (c *CanonicalizeFallbackLocal) String() string
String ...
func (*CanonicalizeFallbackLocal) TokenLiteral ¶
func (c *CanonicalizeFallbackLocal) TokenLiteral() string
TokenLiteral ...
type CanonicalizeHostname ¶
CanonicalizeHostname ...
func (CanonicalizeHostname) TokenLiteral ¶
func (c CanonicalizeHostname) TokenLiteral() string
TokenLiteral ...
type CanonicalizeMaxDots ¶
CanonicalizeMaxDots ...
func (CanonicalizeMaxDots) TokenLiteral ¶
func (c CanonicalizeMaxDots) TokenLiteral() string
TokenLiteral ...
type CanonicalizePermittedCNames ¶
CanonicalizePermittedCNames ...
func (CanonicalizePermittedCNames) String ¶
func (c CanonicalizePermittedCNames) String() string
String ...
func (CanonicalizePermittedCNames) TokenLiteral ¶
func (c CanonicalizePermittedCNames) TokenLiteral() string
TokenLiteral ...
type CertificateFile ¶
CertificateFile ...
func (CertificateFile) TokenLiteral ¶
func (c CertificateFile) TokenLiteral() string
TokenLiteral ...
type ChallengeAuthentication ¶
ChallengeAuthentication ...
func (ChallengeAuthentication) TokenLiteral ¶
func (c ChallengeAuthentication) TokenLiteral() string
TokenLiteral ...
type CheckHostIP ¶
CheckHostIP ...
type ClearAllForwardings ¶
ClearAllForwardings ...
func (ClearAllForwardings) TokenLiteral ¶
func (c ClearAllForwardings) TokenLiteral() string
TokenLiteral ...
type Compression ¶
Compression ...
type CompressionLevelStatement ¶
CompressionLevelStatement ...
func (CompressionLevelStatement) String ¶
func (c CompressionLevelStatement) String() string
String ...
func (CompressionLevelStatement) TokenLiteral ¶
func (c CompressionLevelStatement) TokenLiteral() string
TokenLiteral ...
type ConnectionAttempts ¶
ConnectionAttempts ...
func (ConnectionAttempts) String ¶
func (c ConnectionAttempts) String() string
func (ConnectionAttempts) TokenLiteral ¶
func (c ConnectionAttempts) TokenLiteral() string
TokenLiteral ...
type ConnectionTimeout ¶
ConnectionTimeout ...
func (ConnectionTimeout) TokenLiteral ¶
func (c ConnectionTimeout) TokenLiteral() string
TokenLiteral ...
type ControlMaster ¶
ControlMaster ...
type ControlPath ¶
ControlPath ...
type ControlPersist ¶
ControlPersist ...
func (ControlPersist) String ¶
func (c ControlPersist) String() string
type DynamicForward ¶
DynamicForward ...
type EscapeChar ¶
EscapeChar ...
type ExitOnForwardFailure ¶
ExitOnForwardFailure ...
func (ExitOnForwardFailure) String ¶
func (e ExitOnForwardFailure) String() string
func (ExitOnForwardFailure) TokenLiteral ¶
func (e ExitOnForwardFailure) TokenLiteral() string
TokenLiteral ...
type FingerprintHash ¶
FingerprintHash ...
func (FingerprintHash) TokenLiteral ¶
func (f FingerprintHash) TokenLiteral() string
TokenLiteral ...
type ForwardAgent ¶
ForwardAgent ...
type ForwardX11 ¶
ForwardX11 ...
type ForwardX11Timeout ¶
ForwardX11Timeout ...
func (ForwardX11Timeout) TokenLiteral ¶
func (f ForwardX11Timeout) TokenLiteral() string
TokenLiteral ...
type ForwardX11Trusted ¶
ForwardX11Trusted ...
func (ForwardX11Trusted) TokenLiteral ¶
func (f ForwardX11Trusted) TokenLiteral() string
TokenLiteral ...
type GSSApiAuthentication ¶
GSSApiAuthentication ...
func (GSSApiAuthentication) TokenLiteral ¶
func (g GSSApiAuthentication) TokenLiteral() string
TokenLiteral ...
type GSSApiDelegateCredentials ¶
GSSApiDelegateCredentials ...
func (GSSApiDelegateCredentials) String ¶
func (g GSSApiDelegateCredentials) String() string
String ...
func (GSSApiDelegateCredentials) TokenLiteral ¶
func (g GSSApiDelegateCredentials) TokenLiteral() string
TokenLiteral ...
type GatewayPorts ¶
GatewayPorts ...
type GlobalKnownHostsFile ¶
GlobalKnownHostsFile ...
func (GlobalKnownHostsFile) String ¶
func (g GlobalKnownHostsFile) String() string
func (GlobalKnownHostsFile) TokenLiteral ¶
func (g GlobalKnownHostsFile) TokenLiteral() string
TokenLiteral ...
type HashKnownHosts ¶
HashKnownHosts ...
type HostBasedAuthentication ¶
HostBasedAuthentication ...
func (HostBasedAuthentication) TokenLiteral ¶
func (h HostBasedAuthentication) TokenLiteral() string
TokenLiteral ...
type HostBasedKeyTypes ¶
HostBasedKeyTypes ...
func (HostBasedKeyTypes) String ¶
func (h HostBasedKeyTypes) String() string
func (HostBasedKeyTypes) TokenLiteral ¶
func (h HostBasedKeyTypes) TokenLiteral() string
TokenLiteral ...
type HostKeyAlgorithms ¶
HostKeyAlgorithms ...
func (HostKeyAlgorithms) TokenLiteral ¶
func (h HostKeyAlgorithms) TokenLiteral() string
TokenLiteral ...
type HostKeyAlias ¶
HostKeyAlias ...
type HostStatement ¶
type HostStatement struct {
Token token.Token // the 'Host' token
Value string
Statement *BlockStatement
}
HostStatement statement
func (*HostStatement) TokenLiteral ¶
func (ls *HostStatement) TokenLiteral() string
TokenLiteral ...
type IdentitiesOnly ¶
IdentitiesOnly ...
type IdentityAgent ¶
IdentityAgent ...
type IdentityFile ¶
IdentityFile ...
type KbdInteractiveAuthentication ¶
KbdInteractiveAuthentication ...
func (KbdInteractiveAuthentication) String ¶
func (k KbdInteractiveAuthentication) String() string
String
func (KbdInteractiveAuthentication) TokenLiteral ¶
func (k KbdInteractiveAuthentication) TokenLiteral() string
TokenLiteral ...
type KbdInteractiveDevices ¶
KbdInteractiveDevices ...
func (KbdInteractiveDevices) TokenLiteral ¶
func (k KbdInteractiveDevices) TokenLiteral() string
TokenLiteral ...
type LocalCommand ¶
LocalCommand ...
type LocalForward ¶
LocalForward ...
type LogLevelStatement ¶
LogLevelStatement ...
func (LogLevelStatement) TokenLiteral ¶
func (l LogLevelStatement) TokenLiteral() string
TokenLiteral ...
type NoHostAuthentication ¶
NoHostAuthentication ...
func (NoHostAuthentication) TokenLiteral ¶
func (n NoHostAuthentication) TokenLiteral() string
TokenLiteral ...
type NumberOfPasswordPrompts ¶
NumberOfPasswordPrompts ...
func (NumberOfPasswordPrompts) String ¶
func (n NumberOfPasswordPrompts) String() string
func (NumberOfPasswordPrompts) TokenLiteral ¶
func (n NumberOfPasswordPrompts) TokenLiteral() string
TokenLiteral ...
type PCKS11Provider ¶
PCKS11Provider ...
type PasswordAuthentication ¶
PasswordAuthentication ...
func (PasswordAuthentication) TokenLiteral ¶
func (p PasswordAuthentication) TokenLiteral() string
TokenLiteral ...
type PermitLocalCommand ¶
PermitLocalCommand ...
func (PermitLocalCommand) TokenLiteral ¶
func (p PermitLocalCommand) TokenLiteral() string
TokenLiteral ...
type PreferredAuthentications ¶
PreferredAuthentications ...
func (PreferredAuthentications) String ¶
func (p PreferredAuthentications) String() string
String ...
func (PreferredAuthentications) TokenLiteral ¶
func (p PreferredAuthentications) TokenLiteral() string
TokenLiteral ...
type ProxyCommand ¶
ProxyCommand ...
type ProxyUserFDPass ¶
ProxyUserFDPass ...
func (ProxyUserFDPass) TokenLiteral ¶
func (p ProxyUserFDPass) TokenLiteral() string
TokenLiteral ...
type PubkeyAcceptedKeyTypes ¶
PubkeyAcceptedKeyTypes ...
func (PubkeyAcceptedKeyTypes) TokenLiteral ¶
func (p PubkeyAcceptedKeyTypes) TokenLiteral() string
TokenLiteral ...
type PubkeyAuthentication ¶
PubkeyAuthentication ...
func (PubkeyAuthentication) TokenLiteral ¶
func (p PubkeyAuthentication) TokenLiteral() string
TokenLiteral ...
type RekeyLimit ¶
RekeyLimit ...
type RemoteCommand ¶
RemoteCommand ...
type RemoteForward ¶
RemoteForward ...
type RequestTTY ¶
RequestTTY ...
type SSHConfig ¶
type SSHConfig struct {
Statements []Statement
}
SSHConfig data structure holds Host and Match blocks.
type ServerAliveOption ¶
ServerAliveOption ...
func (ServerAliveOption) TokenLiteral ¶
func (s ServerAliveOption) TokenLiteral() string
TokenLiteral ...
type StreamLocalBindMask ¶
StreamLocalBindMask ...
func (StreamLocalBindMask) TokenLiteral ¶
func (s StreamLocalBindMask) TokenLiteral() string
TokenLiteral ...
type StreamLocalBindUnlink ¶
StreamLocalBindUnlink ...
func (StreamLocalBindUnlink) TokenLiteral ¶
func (s StreamLocalBindUnlink) TokenLiteral() string
TokenLiteral ...
type StrictHostKeyChecking ¶
StrictHostKeyChecking ...
func (StrictHostKeyChecking) TokenLiteral ¶
func (s StrictHostKeyChecking) TokenLiteral() string
TokenLiteral ...
type TCPKeepAlive ¶
TCPKeepAlive ...
type TunnelDevice ¶
TunnelDevice ...
type UpdateHostKeys ¶
UpdateHostKeys ...
type UseKeyChain ¶
UseKeyChain ...
type UserKnownHostsFile ¶
UserKnownHostsFile ...
func (UserKnownHostsFile) TokenLiteral ¶
func (u UserKnownHostsFile) TokenLiteral() string
TokenLiteral ...
type VerifyHostKeyDNS ¶
VerifyHostKeyDNS ...
func (*VerifyHostKeyDNS) TokenLiteral ¶
func (v *VerifyHostKeyDNS) TokenLiteral() string
TokenLiteral ...
type VisualHostKey ¶
VisualHostKey ...
type XAuthLocation ¶
XAuthLocation ...