Is this feature intended to be implemented anytime soon?
from /html/includes/components/scheduledbackups/ajaxcalls.php:
147 // Try loggin in
148 if (!ssh2_auth_password($s, $ssh['username'], $ssh['password'])) {
149 print json_encode(array("error" => _("Could not authenticate.")));
150 exit();
151 }
And the pecl_ssh2 documentation:
bool ssh2_auth_pubkey_file ( resource $session , string $username , string $pubkeyfile , string $privkeyfile [, string $passphrase ] )
I tend not to customize things like this on my own due to complications that will arise down the road, especially after doing an upgrade.
Public Key Auth for SSH Backups
Re: Public Key Auth for SSH Backups
Currently, scheduled backups only supports SSH authentication. I do believe you've come up with a great feature request though, for it to use SSH keys rather then a user/pass.
With that said, I've filed a feature request for this, ID 7760.
With that said, I've filed a feature request for this, ID 7760.
Former Nagios Employee