ssh

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package ssh contains helpers for handling ssh-agent sockets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysAvailable

func KeysAvailable(identites []string) (bool, error)

KeysAvailable returns True if there is at least one key that the ssh agent knows about, otherwise false. err will be set if there is an error along the way.

func ShouldEnable added in v0.6.0

func ShouldEnable(identities []string) (bool, error)

ShouldEnable returns true if the ssh agent should be enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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