LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   noob question perhaps - Cannot ssh into gentoo liveCD virtualbox (https://www.linuxquestions.org/questions/gentoo-87/noob-question-perhaps-cannot-ssh-into-gentoo-livecd-virtualbox-4175579953/)

JulianD 05-16-2016 02:57 PM

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

business_kid 05-16-2016 03:03 PM

Keys Generated? Both ports open? VBox Guest Additions?(I think you need them)

JulianD 05-17-2016 12:48 PM

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

Emerson 05-17-2016 12:52 PM

Log in as user and su to root, this is how it is done in real life. No remote root logins.

273 05-17-2016 01:01 PM

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.

c0wb0y 09-28-2016 03:16 PM

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.