SSH Backup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

SSH Backup

Post by psasines »

Hi all,

I have the payed version with support active but cannot create a new post on that section.

I am trying to perform backups via SSH to another server.
I have setup everything with my details and when testing the connection i get this information: "Connection established. Username/Password OK."
When i try to test SCP transfer i am getting this error: "Could not transfer file. Permissions may be wrong or folder may not exist."

I have tested using another client with the same credentials and am able to create and delete files and folders.

How can i troubleshoot this issue?

Thanks in advance.

Kind regards,
Rodrigo Catarino
You do not have the required permissions to view the files attached to this post.
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: SSH Backup

Post by psasines »

Hi all,

I have just now created a local FTP server but have the same result, can authenticate but cannot perform the test upload.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: SSH Backup

Post by npolovenko »

Hi, @psasines. Please use the following link to associate your XI license with the forum username.
https://support.nagios.com/add-contact/
This should give you the access to the customer section of the forum.

On the remote server please run the following command and show me the output:
ls -ld /NAGIOS/
Please run a test scp command from the nagios XI server towards the remote SCP server:
scp somefile.txt username@remoteserverIP:/NAGIOS/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: SSH Backup

Post by psasines »

Hi npolovenko,

I cannot do a "ls -ld /NAGIOS/" as it is a windows server with Solarwinds SFTP/SCP server.
I was able to copy a file to the SCP server.

Please check the file attached.

Kind regards,
Rodrigo Catarino
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: SSH Backup

Post by lmiltchev »

I cannot do a "ls -ld /NAGIOS/" as it is a windows server with Solarwinds SFTP/SCP server.
"/NAGIOS/" doesn't look like a Windows directory... Can you tell us how you installed and configured the SSH server on the Windows machine? Can you show us the permissions of the "/NAGIOS/" directory?
Be sure to check out our Knowledgebase for helpful articles and solutions!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: SSH Backup

Post by npolovenko »

@psasines, I see you have opened a ticket for the same issue in our ticketing system, so I will be closing this thread. In the future please only open one or the other so we can focus our efforts. Thank you!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked