[ 
https://issues.apache.org/jira/browse/SSHD-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lyor Goldstein resolved SSHD-1012.
----------------------------------
    Resolution: Information Provided

In the future,  such questions are better suited to be posed on 
dev@mina.apache.org - we try and reserve issues for action items that require 
code changes and/or research.

As per your question - see {{SshServer#main}} code as an example - simply 
ignore the code that initializes the shell and/or the SCP command factory.

> Force SSH connections to SFTP
> -----------------------------
>
>                 Key: SSHD-1012
>                 URL: https://issues.apache.org/jira/browse/SSHD-1012
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 0.5.0
>         Environment: Windows Server 2012
>            Reporter: Shiva
>            Priority: Critical
>              Labels: SFTP, SSH, disable, newbie, sshd
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to