Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: vr on April 01, 2010, 10:30:17 AM

Title: [solved] openssh on tinycore how to?
Post by: vr on April 01, 2010, 10:30:17 AM
I have TC operating from hda1 instead of USB or CD booting. Where is the appropriate place to put the sshd_config so it's automatically kept/re-used on reboots and I can ssh in?
Title: Re: openssh on tinycore how to?
Post by: lucky13 on April 01, 2010, 11:17:44 AM
http://wiki.tinycorelinux.com/tiki-index.php?page=Backup+-+Restore
Title: Re: openssh on tinycore how to?
Post by: vr on April 01, 2010, 11:23:29 AM
Thanks for the link. I understand those say where to backup restore files from but I'm not seeing something identifying where the sshd_config file should be placed?
Title: Re: openssh on tinycore how to?
Post by: gerald_clark on April 01, 2010, 12:38:51 PM
Add to /opt/.filetool.lst
usr/local/etc/ssh

Then do a
filetool.sh  backup
Title: Re: openssh on tinycore how to?
Post by: vr on April 01, 2010, 04:51:17 PM
OK, the path /usr/local/etc/ssh was the answer I was needing. I did:

Code: [Select]
cp /usr/local/etc/ssh/sshd_config.example /usr/local/etc/ssh/sshd_config

and edited sshd_config with my options then added it as you suggested.

Thank you!
Title: Re: [solved] openssh on tinycore how to?
Post by: ^thehatsrule^ on April 03, 2010, 07:31:50 PM
Don't forget to read the .info !