noob question perhaps - Cannot ssh into gentoo liveCD virtualbox
Hallo,
I have been following http://elatov.github.io/2014/11/runn...in-virtualbox/ to get gentoo installed inside virtualbox. I encounter something .. In /etc/ssh/ssh_config I edit so that PermitRootLogin yes and start sshd and passwd so that I can login from kitty but with correct password it reports access denied. Could anybody give me an idea what step I forgot? thanks Julian |
Keys Generated? Both ports open? VBox Guest Additions?(I think you need them)
|
ok
Hi,
Keys generated? - ssh generated when started, so done. both ports open - ssh port 22 but what else? guest additions? Should this be needed so early ? Am trying at the moment. I got to ssh before when I did this once before but I never logged my steps. thanks Julian |
Log in as user and su to root, this is how it is done in real life. No remote root logins.
|
How are the keyboards set up? If the guest is different to the host the password may not be what you think it is.
I second the above, though, log in then become root -- unless your application needs otherwise, which is fair enough. |
How's the VirtualBox networking setup? I would suggest to setup something like this:
1st NIC for NAT, where you pull emerge-webrsync files from 2nd NIC host-only via vboxnet0, then setup an static IP (ie 192.168.56.2/24) to SSH on. On VBox, the first and only NIC, by default is setup to NAT. You CANNOT ssh into that. It's ip will be something like 10.0.2.x/24. No way you can ssh into that. Lastly, dont' forget to check that the virtual cables are plugged in. Give it an extra kick just to make sure :) |
All times are GMT -5. The time now is 04:31 PM. |