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

Public key authentication for debug session #9053

Open
native-api opened this issue Jan 12, 2018 · 3 comments
Open

Public key authentication for debug session #9053

native-api opened this issue Jan 12, 2018 · 3 comments

Comments

@native-api
Copy link

native-api commented Jan 12, 2018

https://docs.travis-ci.com/user/running-build-in-debug-mode/ warns that there's no authentication for debug SSH access which is a security hazard.

This is easily fixable by allowing a user to specify SSH public key(s) to authenticate with.

The key can be specified in web UI either in a custom entry, or, to reuse existing facilities and UI, as some specific environment variable. Then all it takes is to append it to ~/.ssh/authorized_keys in a startup script.

@stale
Copy link

stale bot commented Apr 16, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@cyberhck
Copy link

cyberhck commented Nov 27, 2019

actually we could just use a random generated password, that way user doesn't have to configure public key

I've described that here: https://travis-ci.community/t/enable-debug-mode-everywhere/6154

@aweisberg
Copy link

CircleCI uses the SSH keys from your GH account. See https://circleci.com/docs/2.0/ssh-access-jobs/

I would prefer this approach because for most people it would "just work" with no config options required.

I think this a huge QoL improvement.

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

No branches or pull requests

5 participants