sshagent

package module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

ssh-agent

Create a new agent.Agent on any type of OS (so including Windows) from any Go application.

Limitations

When compiled for Windows, it will only support Pageant as the SSH authentication agent.

Credits

Big thanks to Давид Мзареулян (David Mzareulyan) for creating the go-pageant package!

Issues

If you have an issue: report it on the issue tracker

Author

Sander van Harmelen (sander@vanharmelen.nl)

License

The files pageant_windows.go and sshagent_windows.go have their own license (see file headers). The rest of this package is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available() bool

Available returns true is a auth socket is defined

func New

func New() (agent.Agent, net.Conn, error)

New returns a new agent.Agent that uses a unix socket

Types

This section is empty.

Jump to

Keyboard shortcuts

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