Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go installation fails #41

Closed
csabadm opened this issue Oct 30, 2019 · 3 comments
Closed

go installation fails #41

csabadm opened this issue Oct 30, 2019 · 3 comments

Comments

@csabadm
Copy link

csabadm commented Oct 30, 2019

I'm trying to install sshpiper using go get -u -tags pam github.com/tg123/sshpiper/sshpiperd but I get the following error:

# github.com/tg123/sshpiper/sshpiperd/challenger
go/src/github.com/tg123/sshpiper/sshpiperd/challenger/provider.go:12:84: undefined: ssh.AdditionalChallengeContext
# github.com/tg123/sshpiper/sshpiperd/upstream
go/src/github.com/tg123/sshpiper/sshpiperd/upstream/provider.go:17:59: undefined: ssh.AdditionalChallengeContext
go/src/github.com/tg123/sshpiper/sshpiperd/upstream/provider.go:17:103: undefined: ssh.AuthPipe

Tried with go version 1.12 and 1.13.

@tg123
Copy link
Owner

tg123 commented Oct 30, 2019

go get does not work well with go mod
please try

git clone https://github.com/tg123/sshpiper.git
cd sshpiper/sshpiperd/
GO111MODULE=on go build

and

GO111MODULE=on go install

if you want to install to $GOPATH/bin

@csabadm
Copy link
Author

csabadm commented Oct 31, 2019

It worked.
Thank you.

@csabadm csabadm closed this as completed Oct 31, 2019
@tg123
Copy link
Owner

tg123 commented Nov 14, 2019

golang/go#30354

eesaanatluri pushed a commit to eesaanatluri/sshpiper that referenced this issue Aug 1, 2024
Update kernel version to be used

This updates the kernel version to the most recent included with the centos7 release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants