Hello everyone,

I am in the process of moving away from vsFTPD as I would like to have something encrypted. My ideal way of ftp is to tunnel it through SSH, however I am having some problems trying to get this to work with openSSHd. So here are a few of my questions:

1. Can SSH and SFTP be running at the same time on port 22?
2. Is it possible to chroot everyone logging in via sftpd to the same directory rather than their home directory?

Right now I am trying this in my sshd_config file to get things going, but no luck? For me it is only allowing the root user to login and it is forcing the root account to view its home directory regardless of the ChrootDirectory value.

I am using this for my commands:
Match Group users
ChrootDirectory /mypublicfolder
AllowTCPForwarding no
X11Forwarding no
ForceCommand /usr/lib/openssh/sftp-server

Thanks in advance!
noop