13 Commits

Author SHA1 Message Date
Pudong
3b6621c77f
Fix compatibility with golang crypto ssh (#18406) 2023-08-02 19:25:27 +08:00
Pudong
2e2833a8b5
[ssh-gateway] fix missing output when running simple command (#18366)
* [ssh-gateway] fix missing output when running simple command

* upgrade golang-crypto library

* only close when all of stdout stderr request stream finish

* upgrade golang-crypto
2023-08-01 03:21:26 +08:00
Pudong
7d7fcbb366
[ssh-gateway] support stderr forward in shell session (#16546) 2023-02-28 10:01:58 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Anton Kosyakov
6533581a0e [ssh-proxy] only mark first active when user establish ssh connection
VS Code Remote SSH will reestablish a ssh connection even if window is not uesd.
It will retrigger heartbeat over and over in SSH Gateway.
SSH Gateway should only triggert heartbeat if pty sessions is present.

Co-authored-by: Pudong <tianshi8650@gmail.com>
2022-11-09 21:46:39 +02:00
Pudong Zheng
1361d22be5 [ssh-gateway] add track for send closed heartbeat 2022-06-28 19:09:38 +05:30
Pudong Zheng
3522b7b3cd [ssh-gateway] only send heartbeat when it explicitly request pty 2022-06-28 19:09:38 +05:30
Pudong Zheng
9dc436aa92 [SSH Gateway] remove priavte key requirement when ownerToken is provide 2022-06-17 12:13:26 +05:30
Pudong Zheng
09d34a55b2 [ws-proxy] SSH gateway support full channel type 2022-05-28 23:46:46 +05:30
Pudong Zheng
f7f4dbde8e If pty channel closed then send closed flag and fix timer leak 2022-01-25 00:00:16 +01:00
Pudong Zheng
16f8fe6f94 refactory and improve SSH gateway compatibility with some automatic client 2022-01-25 00:00:16 +01:00
Christian Weichel
8091962e85 [sshproxy] Add heartbeating 2022-01-25 00:00:16 +01:00
Pudong Zheng
d9955ccc74 Add SSH Gateway to ws-proxy 2022-01-06 17:29:00 +01:00