--- alx-src/trunk/tinyalxconfig-ng/functions/config_ssh_auth.sh 2008/06/04 17:13:19 389 +++ alx-src/trunk/tinyalxconfig-ng/functions/config_ssh_auth.sh 2008/06/04 17:19:37 390 @@ -1,4 +1,4 @@ -# $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_ssh_auth.sh,v 1.2 2008-06-04 17:13:19 niro Exp $ +# $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_ssh_auth.sh,v 1.3 2008-06-04 17:19:37 niro Exp $ # exchanges the public server and client ssh keys gen_keys() @@ -52,6 +52,6 @@ mysqldo "update ssh_auth_clients set public_key='$(< /etc/dropbear/dropbear_rsa_host_key.pub)' where serial=${ALX_SERIAL};" else # run an insert - mysqldo "insert into ssh_auth_clients(serial,public_key) values('${ALX_SERIAL}','$(< /etc/ssh/ssh_host_rsa_key.pub)')" + mysqldo "insert into ssh_auth_clients(serial,public_key) values('${ALX_SERIAL}','$(< /etc/dropbear/dropbear_rsa_host_key.pub)')" fi }