Hi,
this is a tutorial how to run SSH server on Linux Microcore. These are the steps:
1. Start Microcore with Qemuqemu ./linux-microcore-2.11.5.imgAfter boot you should see a prompt.
2. Check if openssh extension is installedls /mnt/hda1/tce/optional/openssh*/mnt/hda1/tce/optional/openssh.tcz
/mnt/hda1/tce/optional/openssh.tcz.dep
/mnt/hda1/tce/optional/openssh.tcz.md5.txt
If you can't see the files above you should get them first. Run this command in terminal:
tc-load -w opensshMake openssh extension being loaded during the boot of Microcore Linux:
echo "openssh.tcz" >> /mnt/hda1/tce/onboot.lst3. Start openssh daemon (as a root)/usr/local/etc/init.d/openssh startYou can see is an error message about missing sshd-config configuration file. So we need to create it.
mv /usr/local/etc/ssh/sshd_config.example /usr/local/etc/ssh/sshd_configIf you don't edit sshd_config file all the uncomment lines are used by default by opennssh deamon . Now we may run openssh again.
/usr/local/etc/init.d/openssh startFirst time you successfully start openssh daemon, the public/private rsa key pair and public/private dsa key are generated.
4. Automatic start openssh deamon after boot of Microcoreecho "/usr/local/etc/init.d/openssh start" >> /opt/bootlocal.sh5. Backup of configuration directory "/usr/local/etc/ssh" echo "/usr/local/etc/ssh" >> /opt/.filetool.lst/usr/bin/filetool.sh backup6. Test ssh server (password is root)ssh root@localhostYou should be able to login now.
This is the end of tutorial.
This is the qemu image with linux-microcore-2.11.5.img enabled for ssh server. D-ITG [Internet traffic Generator] is also included and available in "/home/tc/bin" directory
Quote:
http://rapidshare.com/files/406232944/linux-microcore-2.11.5.img.html
Cheers,