Skip to content

Golang implementation of mediawiki/keyholder - Securely share ssh agents among groups of users

License

Notifications You must be signed in to change notification settings

xor-gate/go-ssh-keyholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d61ed0e · Jul 16, 2023

History

13 Commits
Jul 16, 2023
Oct 31, 2018
Jul 16, 2023
Oct 31, 2018
Jul 16, 2023
Jul 16, 2023
Oct 3, 2021
Oct 3, 2021
Oct 3, 2021
Oct 3, 2021
Oct 3, 2021
Oct 3, 2021
Oct 3, 2021

Repository files navigation

go-ssh-keyholder

Go implementation of the MediaWiki KeyHolder for securely sharing ssh a secured and system wide SSH agent among groups of users.

Installation

The go-ssh-keyholder only works under UNIX-like OS'es. Currently supported are Linux SO_PEERCRED and FreeBSD LOCAL_PEERCRED for reading the Uid and Gid of the unix socket ssh agent client connection.

go get github.com/xor-gate/go-ssh-keyholder

Usage

go-ssh-keyholder -config /path/to/go-keyholder.yml
export SSH_AUTH_SOCK=/path/to/go-keyholder.agent.sock
ssh-add
ssh <host>

Documentation

See also

License

MIT