Training on a remote Linux Server - Nerogar/OneTrainer GitHub Wiki
This assumes you have already installed OneTrainer in your home directory on the server. If not, adjust the paths accordingly. Do not start the app on the server. If you’ve done everything right it will start up automatically when you click Start Training in the client app. If you get a connection error, check the port of your SSH server and make sure it’s the same in the client app. The server instructions are for a Debian/Ubuntu based distro. Adjust commands to match your server.
Client
- ssh-keygen (no passphrase)
- Copy /.ssh/.pub to a disk
Server
- Copy the file into /home//.ssh/
- Rename the file "authorized_keys" (no extension)
- chmod 700 /home//.ssh && chmod 600 /home//.ssh/authorized_keys
- chown -R : /home//.ssh
- sudo apt update
- sudo apt install openssh-server
- sudo systemctl start ssh
- sudo systemctl enable ssh
OneTrainer Settings
