Re: trying to run sshd daemon in kickstart environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux