centos启用sftp子系统
时间: 2023-08-31 21:12:05 浏览: 106
Centos7搭建sftp服务流程
要在CentOS上启用SFTP子系统,可以按照以下步骤进行操作:
1. 修改SSH的配置文件:打开`/etc/ssh/sshd_config`文件,并将原来的`Subsystem`设置注释掉,然后添加以下内容:
```
#Subsystem sftp /usr/libexec/openssh/sftp-server // 注释掉原来的Subsystem设置
Subsystem sftp internal-sftp // 启用internal-sftp
```
这
#### 引用[.reference_title]
- *1* *3* [在CentOS8.3 配置SFTP](https://blog.csdn.net/Ritottt/article/details/119634790)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [CentOS搭建SFTP服务器步骤详解](https://blog.csdn.net/ttyy1112/article/details/108990772)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文