I need to run a script on the Appliance and then gather the output. How can I upload the file on the Appliance and then download the output from it?
You can use any SFTP/SCP client (for example FileZilla or WinSCP) to connect to the Appliance. SFTP/SCP clients are programs that use SSH to access, manage, and transfer files. As it is using SSH, the port to use is port 22.
Simply enter the IP address or FQDN of the Appliance and provide the credentials. The credentials are the same as the ones used when connecting using a command line interface (CLI).
Here is an example describing how to connect with WinSCP:
By default, after connecting, you will be in the /home/nexthink directory. Make sure the file(s) you wish to copy has the correct permissions. You will need at least read permission for the ‘nexthink’ user.
Should you get a ‘permission denied’ error in WinSCP when you attempt to copy the file off the appliance then you’d have to login by Ssh and perform the following command:
sudo chmod 755 /home/nexthink/your_output_file
After this, you should be able to copy the file of the appliance.