mmm cvs
authorivan <ivan>
Thu, 24 Jan 2002 15:41:47 +0000 (15:41 +0000)
committerivan <ivan>
Thu, 24 Jan 2002 15:41:47 +0000 (15:41 +0000)
README
iceaccess_server

diff --git a/README b/README
index 5a4f75e..5cf62eb 100644 (file)
--- 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
index bc98560..6d868fe 100755 (executable)
@@ -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);