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/groupInstall the openSSH package
Create the SSHD configuration from the template
cd /usr/local/etc/ssh/
sudo cp sshd_config.orig sshd_configStart the SSH daemon
sudo /usr/local/etc/init.d/openssh start
At this point you should be able to ssh into your machine.Make the SSH configuration persistent
sudo echo 'usr/local/etc/ssh' >> /opt/.filetool.lst
Edit the system startup file
sudo echo '/usr/local/etc/init.d/openssh start &' >> /opt/bootlocal.sh
Backup your configuration files
backup
Reboot the system
That should be it!
No comments:
Post a Comment