You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2022/07/29 08:21:00 UTC
[jira] [Closed] (SSHD-1286) how to disable the SSH login and allow only SCP and SFTP
[ https://issues.apache.org/jira/browse/SSHD-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lyor Goldstein closed SSHD-1286.
--------------------------------
Resolution: Duplicate
> how to disable the SSH login and allow only SCP and SFTP
> ---------------------------------------------------------
>
> Key: SSHD-1286
> URL: https://issues.apache.org/jira/browse/SSHD-1286
> Project: MINA SSHD
> Issue Type: Bug
> Reporter: Sreedhar J
> Priority: Major
>
> how do I disable the SSH login and allow only SFTP and SCP calls to Server ?
> i.e allowing below two commands only
> sftp -P 1234 user@hostname
> scp -P 1234 test1.txt user@hostname
> but don't allow the following command exeuction
> ssh -p 1234 user@hostname
> or SSH login from Putty others
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org