|
I am running Redhat 8.0 and have installed
sfs-0.7.2-1.i386.rpm. I am able to connect to the SFS test server with SFS. I
typed all commands using putty SSH to connect to port 1025 of this server (as it
is behind a firewall restricting SSH on the normal port). "%: " I use as prompt,
"-- " I use for readability, and denotes all console output. I have replaced all
occurences of my username with "username" and of my domain with
"myhostname.mydomain"
As root I have made a /etc/sfs directory, and
successfully created the sfs_host_key. This is my /var/sfs: %: ls -Rla
/var/sfs -- .: -- total 20 -- drwxr-xr-x 4
sfs
sfs 4096 Mar 21 10:16
. -- drwxr-xr-x 18 root
root 4096 Mar 3 17:27
.. -- -rw------- 1 sfs
sfs 49 Mar 21
10:48 random_seed -- drwxr-xr-x 3
sfs
sfs 4096 Mar 21 09:59
root -- drwxr-x--- 2 sfs
sfs 4096 Mar 21 10:49
sockets -- ./root: -- total 12 -- drwxr-xr-x 3
sfs
sfs 4096 Mar 21 09:59
. -- drwxr-xr-x 4 sfs
sfs 4096 Mar 21 10:16
.. -- drwxr-xr-x 2 sfs
sfs 4096 Mar 21 09:59
bhuisman -- ./root/bhuisman: -- total 8 -- drwxr-xr-x
2 sfs
sfs 4096 Mar 21 09:59
. -- drwxr-xr-x 3 sfs
sfs 4096 Mar 21 09:59
.. -- ./sockets: -- total 8 -- drwxr-x--- 2
sfs
sfs 4096 Mar 21 10:49
. -- drwxr-xr-x 4 sfs
sfs 4096 Mar 21 10:16
.. -- srw-rw---- 1 root
sfs 0
Mar 21 11:11 agent.sock -- srw-rw---- 1
root
sfs 0
Mar 21 11:11 sfsrwcd_1.sock (last two in sockets only show up when sfscd is
run)
I have a /username directory (because I thought you
might not be able to mount your home directory without doing something extra,
wich I read in your faq). I have chowned it the username:username, chmod 755.
These are my sfsrwsd_config and my exports
file: %:cat /etc/sfs/sfsrwsd_config -- Export /var/sfs/root / -- Export
/bhuisman /bhuisman %:cat /etc/exports -- /var/sfs/root
localhost(rw) -- /var/sfs/root/username localhost(rw) -- /username
localhost(rw)
I restarted nfs (/etc/init.d/nfs restart) and ran
sfs as: %:/usr/sbin/sfscd -d -l -L -- sfscd: version 0.7.2, pid
16397 -- sfsrwcd: version 0.7.2, pid 16398 -- sfscd: not dropping
privileges for debugging -- nfsmounter: version 0.7.2, pid 16399 --
nfsmounter: mounted /sfs -- nfsmounter: mounted /sfs/.mnt/wait
(just running sfscd without -l or -L did not change
any of the behaviour I report now).
Now as user "username", logged in remote through
SSH on port 1025, I did: %:sfskey register -- sfskey:
/home/username/.sfs/random_seed: No such file or directory -- sfskey:
creating directory /home/username/.sfs -- sfskey: creating directory
/home/username/.sfs/authkeys -- Creating new key: username@xxxxxxxxxxxxxxxxxxx#1
(Rabin) -- Key Label: username@xxxxxxxxxxxxxxxxxxx#1 --
Enter
passphrase: --
Again: -- -- sfskey needs secret bits with which to seed the random
number generator. -- Please type some random or unguessable text until you
hear a beep: -- DONE -- /var/sfs/sockets/authd.sock: No such file or
directory -- sfskey: fatal: No changes made -- localhost: Could not
connect to host: Connection refused
Using "iptraf" I do not see any extra trafic going
from or to localhost after running sfskey register.
Does anybody have a clue what I'm doing wrong?
Maybe my NFS server is not setup up correctly (never used it prior to trying out
sfs), or maybe my redhat 8.0 firewall is too restrictive (even on localhost ??).
Help would be much appreciated.
Bastiaan Huisman
|