1、修改密码
passwd www
2、编辑配置文件
vi /etc/ssh/sshd_config
将Subsystem sftp /usr/libexec/openssh/sftp-server
改为Subsystem sftp internal-sftp
3、重启
restart sshd.service
1、修改密码
passwd www
2、编辑配置文件
vi /etc/ssh/sshd_config
将Subsystem sftp /usr/libexec/openssh/sftp-server
改为Subsystem sftp internal-sftp
3、重启
restart sshd.service
本文标题:SFTP使用www用户
本文链接:https://www.haomeiwen.com/subject/izkpvxtx.html
网友评论