-
Notifications
You must be signed in to change notification settings - Fork 326
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
Comments
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? |
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..
|
... 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
(gh-456) Can't ssh root@127.0.0.1 via vagrant if root...
Fixed in PR #517. |
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
The text was updated successfully, but these errors were encountered: