As foo@server_host, create ~/.paraslash/server.users by typing the
following commands:
+ user=bar
target=~/.paraslash/server.users
- key=~/.paraslash/key.pub.bar
+ key=~/.paraslash/key.pub.$user
perms=AFS_READ,AFS_WRITE,VSS_READ,VSS_WRITE
mkdir -p ~/.paraslash
- echo "user bar $key $perms" >> $target
+ echo "user $user $key $perms" >> $target
This gives "bar" the full privileges.
Change to the bar account on client_host and generate the key-pair
with the commands
- key=~/.paraslash/key.bar
+ key=~/.paraslash/key.$LOGNAME
mkdir -p ~/.paraslash
(umask 077 && openssl genrsa -out $key)
Next, extract its public part:
- pubkey=~/.paraslash/key.pub.bar
+ pubkey=~/.paraslash/key.pub.$LOGNAME
openssl rsa -in $key -pubout -out $pubkey
and copy the public key just created to server_host (you may
Start streaming manually
------------------------
- para play
- para stat 2
+ para_client play
+ para_client stat 2
This starts streaming and dumps some information about the current
audio file to stdout.
/var/paraslash/audiod_socket.$HOSTNAME
-so the /var/paraslash directory should be owned by the user who
+so the /var/paraslash directory should be writable for the user who
runs para_audiod.
If you want to change the location of the socket, use the -s option