Toggle navigation
XTCEL Blog
All Posts
ios
tech
BOOKS
ARCHIVE
ABOUT
XTCEL Blog
关注技术,热爱设计
CentOS 配置 sftp
安装依赖 yum install openssh-server openssl 备份 cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak 修改ssh配置文件 vi /etc/ssh/sshd_config 文末添加 Subsystem sftp internal-sftp Match Group sftpgroup Match User xgwxsftp X11Forwarding no AllowTcpForwarding no ChrootDirectory /data/www/ ForceCommand internal-sftp 配置目录权限 mkdir -p /sftp/sftpuser //-p 表示parents,即递归创建
Posted by "xtcel" on Saturday, June 29, 2019
FEATURED TAGS
cangjie
centos
electron
flutter
ios
mac
仓颉
仓颉编程语言
仓颉语言
仓颉语言入门
崩溃
防火墙配置