[CentOS] trying to run sshd daemon in kickstart environment

Mon May 21 18:27:34 UTC 2007
Les Mikesell <lesmikesell at gmail.com>

Guolin Cheng wrote:
> Hi,
> 
>   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.

What if your command is '/path/to/shell -i'?

-- 
   Les Mikesell
    lesmikesell at gmail.com