hashicorp / boundary

Boundary enables identity-based access management for dynamic infrastructure.
https://boundaryproject.io
Other
3.84k stars 287 forks source link

Scp crushes session recording #5004

Closed hillout closed 1 month ago

hillout commented 1 month ago

Describe the bug There is a clear bug with session recording. Once you log in to a target via ssh and session starts recording, open a new terminal and try to copy something over ssh via scp -P 35901 /home/john/mongodb-compass_1.43.0_amd64.deb john@127.0.0.1:/home/john/upload_test. Stop the session in boundary. Check the recording, there will be something like this: Screenshot from 2024-08-09 14-04-27

Session details: "Failed".

To Reproduce Steps to reproduce the behavior:

  1. Run boundary controller and worker.
  2. Add a ssh target.
  3. SSH to the target using Boundary Client.
  4. Open an additional terminal and try to scp some file to the target.
  5. Stop the session from Boundary Client.
  6. Check session recordings from Boundary Admin UI.

Expected behavior I can see both channels - first is for scp, second - is for a terminal session and I can playback them.

Additional context As for storage I used Minio.

moduli commented 1 month ago

Thanks for reporting. We were able to successfully reproduce the error and have filed a ticket internally.