Create the SSH Keys
1.) ssh-keygen
2.) Enter passphrase (empty for no passphrase): We recommend setting one for security.
3.) ssh-copy-id root@interworxipaddress
4.) type yes to continue.
5.) nano /root/.ssh/id_rsa.pub
or if that doesn't work try: nano /root/.ssh/authorized_keys
and copy the big line for your key.
Copy the file and save it as a .pub file. You can now use that .pub file to log into your server.
Disable password access
1.) nano /etc/ssh/sshd_config
2.) Find PermitRootLogin
and set it to PermitRootLogin without-password
3.) Reboot the SSH service via nodeworx.