x/crypto/ssh: ssh client hangs on waitting for the openConfirm message. #50604
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The hang problem arises when using the library, the ssh client key code in file ssh/mux.go:
The process hangs on the line of "switch msg := (<-ch.msg).(type) ",it may loss the OpenConfirm msg because of the sshd server or the net status.
Maybe we should add the timeout when waitting for the confirm msg.
The text was updated successfully, but these errors were encountered: