From e886e6f5b0bdd288a0295e9e4833e353cd53f432 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 24 Jan 2002 15:41:47 +0000 Subject: [PATCH] mmm cvs --- README | 6 ++++++ iceaccess_server | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README b/README index 5a4f75e..5cf62eb 100644 --- a/README +++ b/README @@ -23,6 +23,12 @@ To use: - copy iceaccessd to /usr/local/bin/iceaccessd on the icecast server(s) - chmod a+rx /usr/local/bin/iceaccessd on the icecast server(s) - set the parameters in icelog.conf and copy it to /etc/icelog.conf + - setup SSH keys: + As the freeside user (on your freeside machine), generate an authentication key using ssh-keygen. Since this is for unattended operation, use a blank passphrase. +Append the newly-created identity.pub file to ~root/.ssh/authorized_keys on the remote machine(s). +Some new SSH v2 implementation accept v2 style keys only. Use the -t option to ssh-keygen, and append the created id_dsa.pub or id_rsa.pub to ~root/.ssh/authorized_keys2 on the remote machine(s). +You may need to set PermitRootLogin without-password (meaning with keys only) in your sshd_config file on the remote machine(s). + - on the central database machine, run: iceaccess_server icecast.machine /path/to/icecast/access.log 0 for each remote icecast.machine diff --git a/iceaccess_server b/iceaccess_server index bc98560..6d868fe 100755 --- a/iceaccess_server +++ b/iceaccess_server @@ -8,7 +8,7 @@ # ivan-icelog@420.am use strict; -use vars qw( $Debug ); +use vars qw( $Debug $dsn $username $password ); use DBI; use IO::Handle; use Net::SSH qw(sshopen2); -- 2.11.0