配置的用户,能够通过ssh来登陆,禁止
sudo vi /etc/ssh/sshd_config
DenyUsers username
登陆时500
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
问题的是因为用户的根目录可写,并且使用了chroot限制,修改vsftpd.conf
allow_writeable_chroot=YES
上传时550 Permission denied
修改vsftpd.conf
将write_enable=YES前面的#取消。