>open fish://server
>should work.

Thanks, dunno why I was that stupid here :)

I now think I'm starting to get a bit off-topic (away from ftp clients) but 
someone maybe can give me an advice...

I got more problems...

I'm now using lftp 2.4.6 and I now _can_ connect to the server with the fish 
protocol. That works just perfect!

1. Is there a way to limit the user to the homedir structure? I'd like to 
chroot the user into his homedir. Right now he can traverse the whole 
filesystem :( Do I need to patch openssh with some kind of chroot patch? 
Then I think I also need to use some kind of unix-tree in the user's 
homedir... not beautiful. :(

2. To not give out shell-access I've heared that you can give the user 
"/bin/true" as his shell and then add "/bin/true" to /etc/shells . I've done 
so now but I can't connect to the server :(

$ lftp -u myuser fish://serv
Password:
lftp te@serv:~> ls
`ls' at 0 [Connecting...]
`ls' at 0 [Delaying before reconnect: 22]

Any idea what's wrong?

serv# grep myuser /etc/passwd
myuser:x:500:500::/ftp:/bin/true

serv# grep /bin/true /etc/shells
/bin/true


Best regards,

    Jonap

_________________________________________________________________
H�mta MSN Explorer kostnadsfritt p� http://explorer.msn.se

Reply via email to