diff options
author | ivan <ivan> | 2002-01-24 15:41:47 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-01-24 15:41:47 +0000 |
commit | e886e6f5b0bdd288a0295e9e4833e353cd53f432 (patch) | |
tree | 41418c70d0cd2efd210d710fb378ffaa22e9192a | |
parent | 383add202012146f37009832ad19d27945e555f1 (diff) |
mmm cvs
-rw-r--r-- | README | 6 | ||||
-rwxr-xr-x | iceaccess_server | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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); |