teleagent

package
v0.2.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2016 License: Apache-2.0 Imports: 9 Imported by: 78

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentServer added in v1.0.0

type AgentServer struct {
	agent.Agent
}

AgentServer is implementation of SSH agent server

func NewServer added in v1.0.0

func NewServer() *AgentServer

NewServer returns new instance of agent server

func (*AgentServer) ListenAndServe added in v1.0.0

func (a *AgentServer) ListenAndServe(addr utils.NetAddr) error

ListenAndServe is similar http.ListenAndServe

type Client added in v1.0.0

type Client struct {
	agent.Agent
}

Client is a client connection to SSH agent

func NewClient added in v1.0.0

func NewClient(addr utils.NetAddr) (*Client, error)

NewClient returns a new client connected to remote agent

func (*Client) Login added in v1.0.0

func (a *Client) Login(proxyAddr string,
	user string, pass string, hotpToken string,
	ttl time.Duration, insecure bool) error

Login logins with remote proxy and adds the certificate to it

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL