Hi Stefan.

On 28/09/2011, Stefan Johnson <[email protected]> wrote:
> Please disregard my last... gmail sent the email before I was finished
> composing it.

I figured as much.

> Using false for your shell is okay for ftp.  It is not for ssh/sftp.

I kind of expect that SSH (the shell) either passes commands directly
to the sftp-server or the sftp-server is enough of a shell to take
over (in the same way that ftpd has enough vocabulary) ...
In that sense it wouldn't seem useful to have another shell in play.

I'm not saying you're wrong but unless I get something definitive
(e.g. a man page) I'll test it anyway.

>  Match User sftpuser
>        X11Forwarding no
>        AllowTcpForwarding no
>        ForceCommand internal-sftp
>        ChrootDirectory /home/sftpuser
>
> Where the user is named sftpuser and the home directory for the user is
> /home/sftpuser.

Yeah I got that bit worked out and I've got the forwarding commands globally.

>>
>> Hope this helped.
> Stefan Johnson
>

Absolutely.

Best wishes.

Reply via email to