Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[agent_docker] Cannot scp during debug mode #969

Open
anthonygego opened this issue Sep 18, 2023 · 1 comment
Open

[agent_docker] Cannot scp during debug mode #969

anthonygego opened this issue Sep 18, 2023 · 1 comment
Labels
Bug Triage needed Project maintainers still have to review this issue

Comments

@anthonygego
Copy link
Member

Describe the bug
When a submission is triggered in SSH debug mode, scp does not work and always returns Permission denied, even when specifying password as authentication method. It seems this could be caused by the interactive-ness of the shell, and probably

"-o", "ForceCommand=echo LOGIN: Good luck !; script -q .ssh_logs; cp .ssh_logs /task/student/.ssh_logs; echo LOGOUT: Good bye!",

(to be confirmed)

INGInious installation details

  • Version: v0.8+

To Reproduce
Steps to reproduce the behavior:

  1. Launch a submission using SSH debug mode
  2. Use scp with the same host, port and SSH options
  3. scp closed with Permission denied
@nrybowski
Copy link
Member

Do we really want allowing scp'ing files in both directions?
What about a size limit on the amount of data that one can transfer in/from the container?

From what I understood of the use case that triggered this issue, file size is undetermined and could possibly be quite large.

@nrybowski nrybowski added the Triage needed Project maintainers still have to review this issue label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Triage needed Project maintainers still have to review this issue
Projects
None yet
Development

No branches or pull requests

2 participants