Nagios Backup from GUI via ssh
Posted: Thu Feb 20, 2020 5:19 pm
Hi team,
I am using nagiosxi version 5.6.8 with PHP version 5.3.3.
Nagiosxi has version OpenSSH_5.3p1, OpenSSL 1.0.1e-fips and remote server is OpenSSH_8.0p1, OpenSSL 1.1.1d
the ssh backup is failing from gui.
I have tried on gentoo and ubunto box it works from command line using SCP and SFTP but it doesn't work from Web. gives generic error of permission and directory.
does it use scp ? or sftp? does web uses PHP separately without using either scp or sftp? what could be the issue here?? I am not sure where and what to look at
below are the ssh logs from remote server.
Feb 19 13:57:45 mgmt-tori sshd[24319]: PAM unable to resolve symbol: pam_sm_chauthtok
Feb 19 13:57:45 mgmt-tori sshd[201]: Accepted publickey for nagiosxi from 192.168.x.x port 46139 ssh2: RSA SHA*******************
Feb 19 13:57:45 mgmt-tori sshd[24319]: pam_unix(sshd:session): session opened for user nagiosxi by (uid=0)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [start] called (pam_tacplus v1.3.7)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tac_srv_no=1
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: username [nagiosxi] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tty [ssh] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: rhost [192.168.x.x] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: connected with fd=5 (srv 0)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [start] for [nagiosxi] sent
Feb 19 13:57:45 mgmt-tori sshd[201]: Received disconnect from 192.168.x.x port 46139:11: PECL/ssh2 (http://pecl.php.net/packages/ssh2)
Feb 19 13:57:45 mgmt-tori sshd[201]: Disconnected from user nagiosxi 192.168.x.x port 46139
Feb 19 13:57:45 mgmt-tori sshd[24319]: pam_unix(sshd:session): session closed for user nagiosxi
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [stop] called (pam_tacplus v1.3.7)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tac_srv_no=1
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: username [nagiosxi] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tty [ssh] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: rhost [192.168.x.x] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: connected with fd=5 (srv 0)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [stop] for [nagiosxi] sent
I am using nagiosxi version 5.6.8 with PHP version 5.3.3.
Nagiosxi has version OpenSSH_5.3p1, OpenSSL 1.0.1e-fips and remote server is OpenSSH_8.0p1, OpenSSL 1.1.1d
the ssh backup is failing from gui.
I have tried on gentoo and ubunto box it works from command line using SCP and SFTP but it doesn't work from Web. gives generic error of permission and directory.
does it use scp ? or sftp? does web uses PHP separately without using either scp or sftp? what could be the issue here?? I am not sure where and what to look at
below are the ssh logs from remote server.
Feb 19 13:57:45 mgmt-tori sshd[24319]: PAM unable to resolve symbol: pam_sm_chauthtok
Feb 19 13:57:45 mgmt-tori sshd[201]: Accepted publickey for nagiosxi from 192.168.x.x port 46139 ssh2: RSA SHA*******************
Feb 19 13:57:45 mgmt-tori sshd[24319]: pam_unix(sshd:session): session opened for user nagiosxi by (uid=0)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [start] called (pam_tacplus v1.3.7)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tac_srv_no=1
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: username [nagiosxi] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tty [ssh] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: rhost [192.168.x.x] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: connected with fd=5 (srv 0)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [start] for [nagiosxi] sent
Feb 19 13:57:45 mgmt-tori sshd[201]: Received disconnect from 192.168.x.x port 46139:11: PECL/ssh2 (http://pecl.php.net/packages/ssh2)
Feb 19 13:57:45 mgmt-tori sshd[201]: Disconnected from user nagiosxi 192.168.x.x port 46139
Feb 19 13:57:45 mgmt-tori sshd[24319]: pam_unix(sshd:session): session closed for user nagiosxi
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [stop] called (pam_tacplus v1.3.7)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tac_srv_no=1
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: username [nagiosxi] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: tty [ssh] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: rhost [192.168.x.x] obtained
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: connected with fd=5 (srv 0)
Feb 19 13:57:45 mgmt-tori sshd[24319]: _pam_account: [stop] for [nagiosxi] sent