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

Invalid Handle problem #45

Open
lonnietc opened this issue Dec 24, 2022 · 0 comments
Open

Invalid Handle problem #45

lonnietc opened this issue Dec 24, 2022 · 0 comments

Comments

@lonnietc
Copy link

Hello,

I just tried to use goph to test it one of my servers that has ssh, but get an error:

test> go run .\examples\goph\main.go --ip 192.168.0.35 --pass --cmd ls
go: downloading github.com/pkg/sftp v1.13.4
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
Enter SSH Password: panic: The handle is invalid.

goroutine 1 [running]:
main.askPass({0x5ebee3, 0xd})
        D:/dMUSE/SCP/test07/test/examples/goph/main.go:169 +0xe5 main.main()
        D:/dMUSE/SCP/test07/test/examples/goph/main.go:116 +0x13e exit status 2

Any thoughts on how to fix this?
Thanks

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

1 participant