Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-10 Thread Alan Mackenzie
Hi, Stroller, On Wed, Dec 09, 2009 at 09:57:18PM +, Stroller wrote: On 9 Dec 2009, at 19:42, Alan McKinnon wrote: ... Installation is supposed to be an atomic operation - it starts then continues till it ends. It either fully completes or is considered to not have happened, meaning

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-10 Thread Neil Bothwick
On Thu, 10 Dec 2009 10:36:41 +, Alan Mackenzie wrote: The machine I was installing on was a laptop with no available desk top to place it on. Therefore I decided to get SSH up and running as early as possible so as to do the bulk of the installation from my nice comfy desktop, monitor

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-10 Thread Willie Wong
On Thu, Dec 10, 2009 at 10:36:41AM +, Penguin Lover Alan Mackenzie squawked: How did this breakage happen? I would guess that at the time the installation procedure was devised, this line # mount -o bind /dev /mnt/gentoo/dev worked perfectly OK, since /dev didn't have any

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-10 Thread Joshua Murphy
On Thu, Dec 10, 2009 at 10:27 AM, Willie Wong ww...@math.princeton.edu wrote: On Thu, Dec 10, 2009 at 10:36:41AM +, Penguin Lover Alan Mackenzie squawked: How did this breakage happen?  I would guess that at the time the installation procedure was devised, this line     # mount -o bind

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-10 Thread William Hubbs
Hi Neil and all, On Thu, Dec 10, 2009 at 02:23:13PM +, Neil Bothwick wrote: On Thu, 10 Dec 2009 10:36:41 +, Alan Mackenzie wrote: The machine I was installing on was a laptop with no available desk top to place it on. Therefore I decided to get SSH up and running as early as

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-10 Thread Mick
On Thursday 10 December 2009 14:23:13 Neil Bothwick wrote: On Thu, 10 Dec 2009 10:36:41 +, Alan Mackenzie wrote: The machine I was installing on was a laptop with no available desk top to place it on. Therefore I decided to get SSH up and running as early as possible so as to do the

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Alan Mackenzie
On Sun, Dec 06, 2009 at 01:56:06PM -0500, Joshua Murphy wrote: On Sun, Dec 6, 2009 at 11:59 AM, Florian Philipp li...@f_philipp.fastmail.net wrote: Alan Mackenzie schrieb: Hi, folks! I'm trying to get sshd working on an embryonic Gentoo installation on my laptop.  The reason is that I

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Alan McKinnon
On Wednesday 09 December 2009 17:24:16 Alan Mackenzie wrote: My first thought as well... I'd guess, just at a glance, that sshd was started in the chroot, and that /mnt/gentoo/dev/ is bind mounted properly, but /mnt/gentoo/dev/pts/ isn't. As said, I fixed the problem by mounting /dev with

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Alan Mackenzie
Hi, Alan, Thanks for the quick reply. On Wed, Dec 09, 2009 at 05:43:50PM +0200, Alan McKinnon wrote: On Wednesday 09 December 2009 17:24:16 Alan Mackenzie wrote: My first thought as well... I'd guess, just at a glance, that sshd was started in the chroot, and that /mnt/gentoo/dev/ is bind

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Alan McKinnon
On Wednesday 09 December 2009 18:46:11 Alan Mackenzie wrote: The supported method is to ssh into the LiveCD environment then chroot from that shell. It's hard to imagine a scenario where you would have more than one user doing that at the same time, so why run sshd in the chroot at all?

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Stroller
On 9 Dec 2009, at 16:46, Alan Mackenzie wrote: ... (what? There are people who only boot it once before getting Gentoo completely installed? ;-). Yes, absolutely. I would consider this to be the normal scenario. When sshd'ing from within the chrooted environment, the ssh client has to add

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Stroller
On 9 Dec 2009, at 19:42, Alan McKinnon wrote: ... Installation is supposed to be an atomic operation - it starts then continues till it ends. It either fully completes or is considered to not have happened, meaning that persistence is diametrically opposed to what an install is. It's

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Alan McKinnon
On Wednesday 09 December 2009 23:57:18 Stroller wrote: On 9 Dec 2009, at 19:42, Alan McKinnon wrote: ... Installation is supposed to be an atomic operation - it starts then continues till it ends. It either fully completes or is considered to not have happened, meaning that

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Alan Mackenzie
Hi, Alan, On Wed, Dec 09, 2009 at 09:42:56PM +0200, Alan McKinnon wrote: On Wednesday 09 December 2009 18:46:11 Alan Mackenzie wrote: The supported method is to ssh into the LiveCD environment then chroot from that shell. It's hard to imagine a scenario where you would have more than

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Dale
Stroller wrote: On 9 Dec 2009, at 16:46, Alan Mackenzie wrote: ... (what? There are people who only boot it once before getting Gentoo completely installed? ;-). Yes, absolutely. I would consider this to be the normal scenario. +1 I have done that several times, even over ssh to another

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-09 Thread Stroller
On 9 Dec 2009, at 22:35, Alan Mackenzie wrote: ... Installation is supposed to be an atomic operation - it starts then continues till it ends. It either fully completes or is considered to not have happened, meaning that persistence is diametrically opposed to what an install is. OK, we

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Mick
On Sunday 06 December 2009 14:48:36 Alan Mackenzie wrote: Is there anything I can do to get sshd working from this kernel (and if so, what?), or is there something fundamentally wrong with the kernel configuration? Not sure if this is a kernel problem. Have you tried to set up a user account

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Florian Philipp
Alan Mackenzie schrieb: Hi, folks! I'm trying to get sshd working on an embryonic Gentoo installation on my laptop. The reason is that I want to ssh from my nice comfy desktop system into this laptop to do the rest of the installation stuff. The installation kernel with which I'm having

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Walter Dnes
On Sun, Dec 06, 2009 at 02:48:36PM +, Alan Mackenzie wrote Hi, folks! I'm trying to get sshd working on an embryonic Gentoo installation on my laptop. The reason is that I want to ssh from my nice comfy desktop system into this laptop to do the rest of the installation stuff. The

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Joshua Murphy
On Sun, Dec 6, 2009 at 11:59 AM, Florian Philipp li...@f_philipp.fastmail.net wrote: Alan Mackenzie schrieb: Hi, folks! I'm trying to get sshd working on an embryonic Gentoo installation on my laptop.  The reason is that I want to ssh from my nice comfy desktop system into this laptop to do

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Alan Mackenzie
Hi, Florian, On Sun, Dec 06, 2009 at 05:59:00PM +0100, Florian Philipp wrote: Alan Mackenzie schrieb: I'm trying to get sshd working on an embryonic Gentoo installation on my laptop. The reason is that I want to ssh from my nice comfy desktop system into this laptop to do the rest of the

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Alan Mackenzie
Hi, Mick, On Sun, Dec 06, 2009 at 04:28:10PM +, Mick wrote: On Sunday 06 December 2009 14:48:36 Alan Mackenzie wrote: Is there anything I can do to get sshd working from this kernel (and if so, what?), or is there something fundamentally wrong with the kernel configuration? Not sure

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Alan Mackenzie
Hi, Joshua, On Sun, Dec 06, 2009 at 01:56:06PM -0500, Joshua Murphy wrote: On Sun, Dec 6, 2009 at 11:59 AM, Florian Philipp li...@f_philipp.fastmail.net wrote: Alan Mackenzie schrieb: I'm trying to get sshd working on an embryonic Gentoo installation on my laptop.  The reason is that I

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Joshua Murphy
On Sun, Dec 6, 2009 at 1:36 PM, Walter Dnes waltd...@waltdnes.org wrote: On Sun, Dec 06, 2009 at 02:48:36PM +, Alan Mackenzie wrote Hi, folks! I'm trying to get sshd working on an embryonic Gentoo installation on my laptop.  The reason is that I want to ssh from my nice comfy desktop

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Boy Hartsuiker
On Sun, Dec 06, 2009 at 02:48:36PM +, Alan Mackenzie wrote Hi, folks! I'm trying to get sshd working on an embryonic Gentoo installation on my laptop. The reason is that I want to ssh from my nice comfy desktop system into this laptop to do the rest of the installation stuff. The

Re: [gentoo-user] Problems setting up sshd on an installation kernel

2009-12-06 Thread Mick
On Sunday 06 December 2009 20:23:39 Alan Mackenzie wrote: Hi, Mick, On Sun, Dec 06, 2009 at 04:28:10PM +, Mick wrote: On Sunday 06 December 2009 14:48:36 Alan Mackenzie wrote: Is there anything I can do to get sshd working from this kernel (and if so, what?), or is there something