mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 09:44:51 +00:00
53f9537b86
* Ensure ssh connection rejection errors are returned #18302 altered the connection flow which changed the communication via ssh. Prior to the change an ssh channel was opened first, then global requests were sent. After the change a global request is sent prior to opening a channel. This caused users to no longer receive a human readable rejection message a la: `ssh: rejected: administratively prohibited (too many concurrent ssh connections for user`, instead only an `EOF` was returned. To ensure that the correct message is provided to users two changes are made, although only the client side change is strictly required. 1) the tracing ssh client now returns any rejected errors cached from opening the tracing channel 2) the ssh server now processes global requests during it's wait period waiting for a channel to reject and send the replies to any requests with said rejection `TestLockInForce` was updated to include attempting to send a global request so both scenarios are covered as order should not matter. |
||
---|---|---|
.. | ||
scp | ||
sftp | ||
x11 | ||
authority.go | ||
ctx.go | ||
ctx_test.go | ||
fingerprint.go | ||
forward.go | ||
marshal.go | ||
req.go | ||
server.go | ||
server_test.go | ||
signer.go | ||
tcpip.go |