agent

package
v0.18.1 Latest Latest
Warning

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

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

Documentation

Overview

Package agent provides an implementation of the SSH agent protocol.

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