您的位置:首页 > 编程语言 > PHP开发

SFTP不能生效

2013-11-12 08:34 405 查看
Go to Shell (SSH)

Edit /etc/ssh/sshd_config using the text editor of your choice (vim, vi, pico, nano etc)

Add in

Subsystem sftp /usr/libexec/openssh/sftp-server

at the end of the file. Make sure that is the right location. You can check by running this in shell

locate sftp-server

Make sure the output matches the path above (but that's usually the default path)

Restart SSH

/etc/init.d/sshd restart
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: