Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchEnvPattern ¶
MatchEnvPattern matches an environment variable name against a SendEnv pattern. Patterns can use * and ? wildcards. A '-' prefix negates.
Types ¶
type AgentHandler ¶
type AgentHandler struct{}
AgentHandler implements sshclient.AgentForwarder.
func (*AgentHandler) ForwardAgent ¶
func (h *AgentHandler) ForwardAgent(sshClient *ssh.Client, session *ssh.Session, opts *sshclient.Options) error
ForwardAgent enables SSH agent forwarding on a session.
Click to show internal directories.
Click to hide internal directories.