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

TA ssh key is only readable by root #40

Open
romain-jacob opened this issue Feb 8, 2024 · 1 comment
Open

TA ssh key is only readable by root #40

romain-jacob opened this issue Feb 8, 2024 · 1 comment

Comments

@romain-jacob
Copy link
Contributor

Currently, when the mini-internet is built, the ssh key located in /groups is only readable by root, hence is only usable to ssh into the student containers using sudo.

I find it a bit odd and easy to fix. But I wonder: is there a (security?other?) reason behind it?

@NotSpecial
Copy link
Contributor

I don't believe there is any particular reason for it, we usually never use the key on the server itself. On the server itself, most actions are easier to perform using docker exec.

So usually we share this key via chat with the assistants, so the permission issue doesn't really come up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants