Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/crypto/ssh: Session.Run returns error EOF #28108
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
this is the code i run against some device which implements SSH server.
The program returns the following:
unable to run the command: EOF.
After I enabled debugMux variable
after changed WantReply to false in Start function in session.go
here is comment from @hanwen
I have a question here. if the server doesn't send message when the command finishes, how the ssh client knows when it finish?
on the first trace, it ended up with returning EOF. The ssh client didn't get any data.