sshagent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAPIAgent

type CAPIAgent struct {
	// contains filtered or unexported fields
}

func (*CAPIAgent) Add

func (*CAPIAgent) Add(key agent.AddedKey) error

func (*CAPIAgent) Extension

func (s *CAPIAgent) Extension(extensionType string, contents []byte) ([]byte, error)

func (*CAPIAgent) Free

func (s *CAPIAgent) Free() (err error)

func (*CAPIAgent) List

func (s *CAPIAgent) List() (keys []*agent.Key, err error)

func (*CAPIAgent) Lock

func (*CAPIAgent) Lock(passphrase []byte) error

func (*CAPIAgent) Remove

func (*CAPIAgent) Remove(key ssh.PublicKey) error

func (*CAPIAgent) RemoveAll

func (*CAPIAgent) RemoveAll() error

func (*CAPIAgent) Sign

func (s *CAPIAgent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)

func (*CAPIAgent) SignWithFlags

func (s *CAPIAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)

func (*CAPIAgent) Signers

func (*CAPIAgent) Signers() ([]ssh.Signer, error)

func (*CAPIAgent) Unlock

func (*CAPIAgent) Unlock(passphrase []byte) error

type Server

type Server struct {
	Agent agent.Agent
}

func (*Server) SSHAgentHandler

func (s *Server) SSHAgentHandler(conn io.ReadWriteCloser)

Jump to

Keyboard shortcuts

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