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: timeout needed when requesting session with PTY #36227
What version of Go are you using (
From SSH perspective, this is working as expected.
There is no room in the protocol to react a SendRequest call not getting a response. If you want to do something with timeouts, you can kill the entire connection if it doesn't complete your work within a set time.
I think I pieced this together from some code I had written and some example code. Been a few weeks so hard to remember.…
On Tue, Jan 7, 2020 at 4:46 AM Han-Wen Nienhuys ***@***.***> wrote: https://play.golang.org/p/jLTIkNRWjLH line 177 of your server is ignoring incoming requests. you should discard them explicitly. Did you copy & paste this example from somewhere? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#36227?email_source=notifications&email_token=AAJQZLQ7NVF3E2VWQ27LO3DQ4R2TDA5CNFSM4J5WKHD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIX6CI#issuecomment-571571977>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJQZLXGISNYUJL6TNRR2FLQ4R2TDANCNFSM4J5WKHDQ> .
-- John Doak www.obscuredworld.com