Using OpenSSH 5.1 on Ubuntu Linux If you setup a home directory as a cifs share you cannot chroot and connect through sftp. If you turn off the cifs share then the connection works as expected with the same config file and permissions.