View Full Version : "no driver for security type 'ssh'"

October 22nd, 2008, 09:42 AM

Im running Amanda 2.5.2p1 on Debian. Id like to migrate to using ssh authentication and I have setup a test host on Solaris, needless to say dozens of hosts are currently being backed up via bsd auth.

I've followed the wiki doc http://wiki.zmanda.com/index.php/Configuring_SSH_authentication and I can successfully ssh as the user amanda to the configured test host without entering a password/passphrase.


<hostname> c0d0s0 solaris-ssh


define dumptype solaris-ssh {
auth "ssh"
ssh_keys "/var/backups/.ssh/id_rsa"
client_username "amanda"
amandad_path "/opt/amanda/libexec/amandad"

Running amcheck against the host, gives the following output:

$ /usr/local/sbin/amcheck <config> <hostname>
Amanda Tape Server Host Check
Holding disk /dumps/amanda: 55858688 KB disk space available, using 55858688 KB
slot 5: Found a non-amanda tape, will label it `tape-05'.
NOTE: skipping tape-writable test
Found a brand new tape, will label it tape-05.
WARNING: tapecycle (5) <= runspercycle (5).
NOTE: index dir /etc/amanda/<conf>/index/<hostname> does not exist
NOTE: it will be created on the next run.
Server check took 0.209 seconds
amandad: no driver for security type 'ssh'

Amanda Backup Client Hosts Check
WARNING: <hostname>: selfcheck request failed: EOF on read from <hostname>
Client check: 1 host checked in 10.376 seconds, 1 problem found

On the host, /tmp/amanda/amandad/amandad.<datestamp>.debug shows the following:

# cat amandad.20081022172401.debug
amandad: debug 1 pid 1272 ruid 10002 euid 10002: start at Wed Oct 22 17:24:01 2008
Reading conf file "/opt/amanda/etc/amanda/amanda-client.conf".
amandad: time 0.003: security_getdriver(name=ssh) returns NULL
amandad: time 0.009: no driver for security type 'ssh'

amandad: time 0.009: pid 1272 finish time Wed Oct 22 17:24:01 2008

Any ideas?

Thanks in advance,

October 24th, 2008, 07:20 AM
An update to anyone else that sees this, I managed to fix it by doing a 'make clean' and re-compiling from scratch - dont ya just hate that!