agent

package
v2.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package agent provides a client implementation for the SSH agent.

Index

Constants

This section is empty.

Variables

View Source
var ErrSSHAgent = errors.New("connect ssh agent")

ErrSSHAgent is returned when connection to SSH agent fails.

Functions

func NewClient

func NewClient() (agent.Agent, error)

NewClient returns an SSH agent if a socket address is defined in SSH_AUTH_SOCK environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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