1. Make sure Tiny Core Linux is connected to the internet. Simple ping test to google.com is enough. If there is reply from google.com, it means that internet is working fine. However, if there is no reply, then you need to check the connection.
2. Open terminal and type “ab openssh”. Ab is stand for AppBrowser.
3. Once the Ab (AppBrowser) found the OpenSSH package which is openssh.tcz, enter “1” to select it.
4. The following menu explaining about openssh.tcz will be presented. Enter “q” to quit from the info page.
5. Enter “i” to install the openssh package.
6. Wait for a few minutes as OpenSSH package and the necessary dependencies will be downloaded to your Tiny Core Linux box.
Another quick way to install openssh is by using tce-load command as follows:
tce-load –wi openssh.tcz
-w = wget
-i = to install
7. Change your directory to “/usr/local/etc/ssh” by typing:
cd /usr/local/etc/ssh
8. You’ll find there are three files in it by typing
ls –al
9. Copy sshd_config.example to sshd_config by executing command
cd /usr/local/etc/ssh
sudo cp sshd_config.example sshd_config
10. The next step is to start the OpenSSH service by typing
sudo /usr/local/etc/init.d/openssh start
11. Once the OpenSSH service started, you’ll find the TCP port 22 is listening. You can verify this by executing command
netstat -an
12. Test your OpenSSH configuration by from ssh client. I’ll be using PuTTY for this purpose.
13. If your SSH configuration is working, you’ll be presented by login prompt
14. To login, change the tc user’s password by using “passwd” command.
15. Go back to the putty client, and login with the new password of tc user.
16. Congratulation! You’ve just successfully configured a OpenSSH server for your Tiny Core Linux
Pingback: Tiny Core Persistence « Steven Blass
Pingback: OpenSSH « Steven Blass
Hi,
This was very useful and saved me some time to understand Tiny Core.
Thanks,
Paul
Thanks for writing this up. New to tinylinux as well.
Pingback: How to make ssh server configuration permanent? | A Firewall Engineer
Thanks you so much. Simple precise and easy to follow.