warpgate icon indicating copy to clipboard operation
warpgate copied to clipboard

SSH stops when command execution stops

Open MJCheon opened this issue 8 months ago • 1 comments

After establishing an SSH connection using PuTTY or Terminus, if I use the cat command on a large file (ex. 20GB) and press Ctrl + C while the output is being displayed, the screen freezes.

On the server side, the logs stop, but the memory usage continues to increase.

MJCheon avatar Apr 08 '25 04:04 MJCheon

Similarly, if you run docker logs CONTAINER and hit CTRL + C, SSH will hang, presumably until Warpgate finishes receiving the stream from the server.

If you then close the connection, WarpGate will panic:

thread 'tokio-runtime-worker' panicked at /reproducible-cwd/src/cryptovec.rs:241:25:
Realloc failed, pointer = <empty> 2172
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

wolveix avatar May 16 '25 10:05 wolveix