Saturday, August 15, 2026

Configuring the SSH server on Tiny Core Linux using OpenSSH

  1. Create (and persist) a proper user

    The default tc user is passwordless, so you either want to set a password for it or perhaps create a separate user. Creating a user and setting a password is the same as on other Linux distributions. Once you do that, you'll need to persist the changes. Add these lines to the /opt/.filetool.lst:

    etc/passwd
    etc/shadow
    etc/group

  2. Install the openSSH package

  3. Create the SSHD configuration from the template

    cd /usr/local/etc/ssh/
    sudo cp sshd_config.orig sshd_config
  4. Start the SSH daemon

    sudo /usr/local/etc/init.d/openssh start

    At this point you should be able to ssh into your machine.
  5. Make the SSH configuration persistent

    sudo echo 'usr/local/etc/ssh' >> /opt/.filetool.lst

  6. Edit the system startup file

    sudo echo '/usr/local/etc/init.d/openssh start &' >> /opt/bootlocal.sh

  7. Backup your configuration files

    backup 

  8. Reboot the system 

That should be it!