Page 1 of 1

SSH Backup

Posted: Wed Nov 21, 2018 7:55 am
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

Re: SSH Backup

Posted: Wed Nov 21, 2018 9:46 am
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.

Re: SSH Backup

Posted: Wed Nov 21, 2018 1:42 pm
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/

Re: SSH Backup

Posted: Thu Nov 22, 2018 4:06 am
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

Re: SSH Backup

Posted: Mon Nov 26, 2018 3:12 pm
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?

Re: SSH Backup

Posted: Mon Nov 26, 2018 3:21 pm
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!