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

Can't ssh root@127.0.0.1 via vagrant if root login disabled in /etc/ssh/sshd_config #456

Closed
vertilon opened this issue Sep 14, 2014 · 3 comments

Comments

@vertilon
Copy link

I've found this bug when using beaker via vagrant with debian 6(squeeze), so simple solution is to change PermitRootLogin option in sshd_config before sshing to vm box as root

vertilon added a commit to vertilon/beaker that referenced this issue Sep 15, 2014
vertilon added a commit to vertilon/beaker that referenced this issue Sep 15, 2014
vertilon added a commit to vertilon/beaker that referenced this issue Sep 15, 2014
vertilon added a commit to vertilon/beaker that referenced this issue Sep 15, 2014
@radeksimko
Copy link

I think this always depends on a particular box. Do you use any publicly available prebuilt Debian 6 Vagrant box or it's a custom-built box?

@vertilon
Copy link
Author

vertilon commented Oct 6, 2014

Yes, it's true, it depends on a box. I've used vyos prebuilt box, that was built on the debian6, also if we have this function that replaces this option in config, why just didn't run it every time on every box? Time spend on doing this is very small..

On 6 æîâò. 2014, at 16:45, Radek Simko notifications@github.com wrote:

I think this always depends on a particular box. Do you use any publicly available prebuilt Debian 6 Vagrant box or it's a custom-built box?


Reply to this email directly or view it on GitHub.

anodelman pushed a commit to anodelman/beaker that referenced this issue Nov 3, 2014
... login disabled in /etc/ssh/sshd_config

- add enable_root_login step by default
- clean up spurious 'end' when generating/using an extra disk on
  virtualbox instances
- tested clean locally
colinPL added a commit that referenced this issue Nov 4, 2014
(gh-456) Can't ssh root@127.0.0.1 via vagrant if root...
@anodelman
Copy link
Contributor

Fixed in PR #517.

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

3 participants