WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [solved] openssh on tinycore how to?  (Read 2733 times)

Offline vr

  • Newbie
  • *
  • Posts: 17
[solved] openssh on tinycore how to?
« 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?
« Last Edit: April 01, 2010, 04:51:33 PM by vr »

Offline lucky13

  • Jr. Member
  • **
  • Posts: 76
    • my mostly linux-related blog

Offline vr

  • Newbie
  • *
  • Posts: 17
Re: openssh on tinycore how to?
« Reply #2 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?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: openssh on tinycore how to?
« Reply #3 on: April 01, 2010, 12:38:51 PM »
Add to /opt/.filetool.lst
usr/local/etc/ssh

Then do a
filetool.sh  backup

Offline vr

  • Newbie
  • *
  • Posts: 17
Re: openssh on tinycore how to?
« Reply #4 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!

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: [solved] openssh on tinycore how to?
« Reply #5 on: April 03, 2010, 07:31:50 PM »
Don't forget to read the .info !