sshagent

package
v0.0.0-...-de0f673 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Entrypoint

func Entrypoint() *cobra.Command

func Run

func Run(
	ctx context.Context,
	baseurl string,
	token string,
	logger *log.Logger,
) error

Types

type AgentServer

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

implements golang.org/x/crypto/ssh/agent.Agent

func (*AgentServer) Add

func (a *AgentServer) Add(key agent.AddedKey) error

func (*AgentServer) List

func (a *AgentServer) List() ([]*agent.Key, error)

func (*AgentServer) Lock

func (a *AgentServer) Lock(passphrase []byte) error

func (*AgentServer) Remove

func (a *AgentServer) Remove(key ssh.PublicKey) error

func (*AgentServer) RemoveAll

func (a *AgentServer) RemoveAll() error

func (*AgentServer) Sign

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

func (*AgentServer) Signers

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

func (*AgentServer) Unlock

func (a *AgentServer) Unlock(passphrase []byte) error

Jump to

Keyboard shortcuts

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