trying to run sshd daemon in kickstart environment

Chris Edillon jce at zot.com
Tue May 22 16:41:32 UTC 2007


On Mon, 2007-05-21 at 10:54 -0700, Guolin Cheng wrote:

>   I tried to make kickstart environment a little bit more charming by
> firing up openssh daemon in the limited environment. I edited/checked
> a bunch of files and almost succeeded but still not.
> 
>   I can reach the machine to run a command like ‘ssh –x
> <kickstartClient> <command>’ and it does work for %pre and both chroot
> and non-chroot %post sections, in fact, you can run a command on
> kickstartClient through ssh connections without problems.  But it
> still fails because I can not ssh into the kickstartClient to get a
> local command shell. 
> 
>  In short, ‘ssh –x <kickstartClient>’ fails, ‘ssh –x <kickstartClient>
> <command>’ works.
> 
>  Any one has succeeded in this topic? Life will be much happier if we
> can freely turn on/off sshd daemon for Kickstart environment. Thanks.

  you may need to force ssh to allocate a pseudo-tty,
try "ssh -t -x <ksClient>".  the -t option is described
in the ssh manpage.

chris





More information about the Kickstart-list mailing list