Details
Description
Hi,
I am implementing the SFTP server using Apache Mina SSHD server. I want to force any SSH connections to the SFTP server to use SFTP mode and disable shell access to avoid exposing the file system to clients.
In the traditional SSH server on Linux, we use the "ForceCommand internal-sftp" in the sshd_config file to achieve this.
Can someone please help to achieve this in SFTP server implementation using Apache Mina?
Thank you for any help in advance.
Regards,
Shiva