How to allow chroot-ed user both SSH and SFTP access [closed]
I encountered same problem, figured out through the help ofhttps://www.howtoforge.com/restricting-users-to-sftp-plus-setting-up-chrooted-ssh-sftp-debian-squeeze#-enabling-chrooted-sshSolution mentioned in the last few lines of the section 'Enabling Chrooted SSH'.
To support both SSH and SFTP, your configuration should be:
Subsystem sftp internal-sftpMatch group chrootedgroup ChrootDirectory /var/chroot/