go-ssh-agent

command module
v0.0.0-...-cc597e3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 8 Imported by: 0

README

Go SSH Agent as executables

SSH agent, derived from golang's rich SSH libraries, turned into standalone executables for Windows and Linux.

You might prefer this over Microsoft's port of OpenSSH as that one lacks a few things like, timed expiration when loading new credentials

INSTALL

Generally you can just install this with and it should just install to your $GOPATH/bin/,

go install github.com/sarfarazahmad89/go-ssh-agent

Alternatively, BUILD, like

Linux or Windows
$ git clone https://github.com/sarfarazahmad89/go-ssh-agent
$ cd go-ssh-agent
$ go build .
$ ./ssh_agent -h
Usage of ./ssh_agent:
  -sshpipe string
        UNIX socket for the OpenSSH agent (default "/home/ahmad/.ssh/ssh-auth-sock")
$ ./ssh_agent
2023/02/12 11:31:21 started ssh agent on `/home/user1/.ssh/ssh-auth-sock`
Cross build (Linux -> Windows)
$ git clone https://github.com/sarfarazahmad89/go-ssh-agent
$ cd go-ssh-agent
$ GOOS="windows" GOARCH="amd64" go build .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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