Initially, nvmesh doesn’t know anything about the NVMesh environment and no credentials are set. The tool requires NVMesh management / API login information (administrative account) and if there is no pre-shared SSH key set up with all the involved hosts, servers and clients, the root SSH credential is required as well. 
The easiest and quickest way to configure the required credentials is to launch nvmesh and run the check cluster command:

$ nvmesh check cluster

The tool will ask will ask for the SSH credentials where you can choose between sudo and root.

To use sudo for SSH:

nvmesh # define sshuser
Do you require sudo for SSH remote command execution? [Yes|No] :y
Please provide the user name to be used for SSH connectivity: <your username>
Please provide the SSH password:

To use root for SSH:

nvmesh # define sshuser
Do you require sudo for SSH remote command execution? [Yes|No] :n
Please provide the root level SSH user name: root
Please provide the SSH password:

If preshared keys are set up throughout, leave the password prompt empty and just hit enter. There is no need to provide a password if preshared keys for the root level user are set up.
 Then it will ask for the NVMesh API user credentials and the management server to be used.
The API user and password, and the SSH user and password are stored under the users home directory. 
Passwords are stored encoded and obfuscated as additional protection. In addition, the NVMesh management server information is stored in the users home directory.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Email Excelero Support

Post Comment