LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 05-16-2016, 02:57 PM   #1
JulianD
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Rep: Reputation: Disabled
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
 
Old 05-16-2016, 03:03 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Keys Generated? Both ports open? VBox Guest Additions?(I think you need them)
 
Old 05-17-2016, 12:48 PM   #3
JulianD
LQ Newbie
 
Registered: Nov 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-17-2016, 12:52 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Log in as user and su to root, this is how it is done in real life. No remote root logins.
 
Old 05-17-2016, 01:01 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 09-28-2016, 03:16 PM   #6
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The LFS LiveCd doesn't work on Oracle VirtualBox LFS-Hunter Linux From Scratch 34 03-22-2012 06:11 PM
[SOLVED] Problem running a Gnome lenny LiveCD in virtualbox linx win Debian 3 08-09-2010 01:49 PM
noob question about SSH Orange Sunshine Linux - Newbie 5 11-19-2009 02:40 PM
Gentoo LiveCD Hondro Linux - Distributions 6 06-01-2006 07:09 PM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration