Guolin Cheng
2007-May-21 17:54 UTC
[CentOS] trying to run sshd daemon in kickstart environment
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. 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. --Guolin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070521/85e8345b/attachment.html>
Les Mikesell
2007-May-21 18:27 UTC
[CentOS] trying to run sshd daemon in kickstart environment
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
Reasonably Related Threads
- It works now -- RE: trying to run sshd daemon in kickstart environment
- RE: It works now -- RE: trying to run sshd daemon inkickstartenvironment
- How the Centos 5.0's kickstart initrd.img is build??
- custom kernel for Centos 5 kickstart?
- Strange Fedora Booting problem: can not mount "LABEL=*" partitions