Create SSH Account with RSA private key
Preview: Sometimes, user and password authentication through remote linux servers is not supported/not secured enough.
Therefore there is a need to create an alternative way in order to provide ssh connection between XpoLog to remote linux servers.
Remote Server Side
Login with the user which you would like XpoLog to use in order to create the connection. Navigate to its home directory and execute the command 'ls -la'. Ensure that the folder .ssh is already exist. Otherwise - create it manually.
Start the key procedure creation. From the .ssh folder, execute the command 'ssh-keygen' to create the private key (passphrase for the key is not needed).
Make sure that the files id_rsa and id_rsa.pub have been created.
Under the .ssh folder, create a file with the name authorized_keys. Copy the content of the id_rsa.pub into this one and change the permissions of this file via the command: 'chmod 600 authorized_keys'
Copy the private key from the server to the XpoLog server.
Change the permissions of both private and public keys under the .ssh as follows: chmod 600 id_rsa and chmod 644 id_rsa.pub
Change the permissions of the .ssh folder with the command: chmod 700 .ssh
XpoLog server
Open browser to the XpoLog UI node, and from the home page, navigate to Data->Accounts. Press on the 'New Account' button and choose ssh Account.
Please specify all the required details for the account (account name, hostname and username - the user which the keys have been created from).
In order to specify the needed private key, press on 'Advanced Settings->General' and set the path for the private key file.
Save the account
Press right click on the account-> verify and ensure the that verification is OK.