Giter Site home page Giter Site logo

ssh-agent's People

Contributors

aaronfriel avatar abakum avatar ngyuki avatar omerzi avatar radeksimko avatar svanharmelen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ssh-agent's Issues

Add support for ssh agent that comes with git for windows (git-bash/ cygwin)

As discussed on the rclone forum it would be great if this library could work with the ssh agent which comes with git-bash.

This is a packaged up version of cygwin and is very popular for running git on windows.

For example git-bash is installed on all Azure pipelines builders and GitHub actions builders by default.

I guess that in this case the library should just use the unix way of connecting to the ssh-agent. Perhaps detected by the presence of the correct environment variables?

compile failures

Using Go 1.11 beta 1, I get the following errors:

# github.com/xanzy/ssh-agent
-: Pointer redeclared in this block
./pageant_windows.go:6:62: 	other declaration of Pointer
./pageant_windows.go:144:43: cannot convert nameP (variable of type *uint16) to syscall.Pointer
./pageant_windows.go:144:68: cannot convert nameP (variable of type *uint16) to syscall.Pointer
./pageant_windows.go:113:46: cannot convert ptr (variable of type uintptr) to syscall.Pointer
./pageant_windows.go:122:19: cannot convert &(mapNameBytesZ[0]) (value of type *byte) to syscall.Pointer
./pageant_windows.go:125:69: cannot convert &cds (value of type *copyData) to syscall.Pointer
./pageant_windows.go:33:2: "unsafe" imported but not used

I have a Mac and built by running:

GOOS=windows go test ./...

Update dependencies, issue on Mac M1 (arm64)

Hi Sander,

I came across the following error message, more than a few times ;-)
verifying go.mod: github.com/xanzy/[email protected]/go.mod: cannot authenticate record data in server response

Please forgive me if I draw the wrong conclusion, just started Go programming for a terraform provider so this is all pretty new to me.

But, I am on a Mac M1 (darwin/arm64) I came across the same error message wether is was during the go get of the terraform-provider-sdk v2.7.0, terraform-exec or the install of goreleaser.
I think it al comes down to the dependency off ssh-agent on go-winio v0.4.14 (see error messages below)
From version >= v0.4.17 all goes well and the go-winio installs without any issues.

go install github.com/goreleaser/goreleaser@latest: github.com/goreleaser/goreleaser@none updating to. 
	github.com/goreleaser/goreleaser@v0.174.1 requires. 
	github.com/goreleaser/nfpm/v2@v2.6.0 requires. 
	github.com/go-git/go-git/v5@v5.3.0 requires. 
	github.com/xanzy/ssh-agent@v0.3.0: verifying go.mod: github.com/xanzy/ssh-agent@v0.3.0/go.mod: cannot 
authenticate record data in server response```

```go get github.com/Microsoft/go-winio@v0.4.14
# github.com/Microsoft/go-winio/pkg/guid
/Users/me/go/pkg/mod/github.com/!microsoft/go-winio@v0.4.14/pkg/guid/guid.go:47:11: undefined: windows.GUID```

Add support for Windows 10 Native SSH agent

I use this library in rclone (thank you very much) for windows ssh support.

I recently had a request rclone/rclone#2988 for adding support for "Windows 10 native ssh-agent".

According to one of the posts on that issue

It uses a Named Pipe located at \\.\pipe\openssh-ssh-agent

Could this library be tweaked to allow that as well as pagent?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.