Page 3 of 3

Re: Nagios Backup from GUI via ssh

Posted: Thu Mar 05, 2020 7:20 pm
by absarcompass
my nagiosxi is on centos6 with OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013

Re: Nagios Backup from GUI via ssh

Posted: Fri Mar 06, 2020 11:40 am
by lmiltchev
I haven't tested this with Gentoo or Arch Linux, but tried it on CentOS 6 (with the default sshd config) and it worked for me.

My test Nagios XI server

Code: Select all

[root@TEST_XI_CentOS_6 ~]# grep full /usr/local/nagiosxi/var/xiversion
full=5.6.8
[root@TEST_XI_CentOS_6 ~]# cat /etc/issue
CentOS release 6.10 (Final)
Kernel \r on an \m

[root@TEST_XI_CentOS_6 ~]# uname -a
Linux TEST_XI_CentOS_6 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@TEST_XI_CentOS_6 ~]# yum list installed | grep openssh
openssh.x86_64                     5.3p1-124.el6_10            @updates
openssh-clients.x86_64             5.3p1-124.el6_10            @updates
openssh-server.x86_64              5.3p1-124.el6_10            @updates
[root@TEST_XI_CentOS_6 ~]# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
[root@TEST_XI_CentOS_6 ~]#


In the GUI
example01.PNG
Remote machine

Code: Select all

[root@centos6x64 ~]# cat /etc/issue
CentOS release 6.9 (Final)
Kernel \r on an \m

[root@centos6x64 ~]# uname -a
Linux centos6x64 2.6.32-696.20.1.el6.x86_64 #1 SMP Fri Jan 26 17:51:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@centos6x64 ~]# yum list installed | grep openssh
openssh.x86_64                       5.3p1-123.el6_9                  @updates
openssh-clients.x86_64               5.3p1-123.el6_9                  @updates
openssh-server.x86_64                5.3p1-123.el6_9                  @updates
[root@centos6x64 ~]# yum list installed | grep openssl
openssl.x86_64                       1.0.1e-58.el6_10                 @updates
openssl-devel.x86_64                 1.0.1e-58.el6_10                 @updates
[root@centos6x64 ~]# ll /backups/nagiosxi/
total 101296
-rw-r--r-- 1 root root 103721948 Mar  6 10:30 nagiosxi.1583512202.tar.gz
-rw-r--r-- 1 root root       110 Mar  6 10:27 ssh_test_secure_copy.txt
I discussed the issue with our developers, and they believe that the problem is caused by the sshd config.