I recently bought my MBWE II and I am very happy with it :)
But I am facing one problem with the vsftpd configuration and after many hours of testing, searching and scratching my head, I am stuck.
I configured that local users has access to jailed folder and all works fine, but I would like to restrict the access to SSH for them.
I tried this:
1. Edit the /etc/passwd and change /bin/sh to /bin/false or /bin/true or /sbin/nologin. This block the SSH and FTP access, so it doesn't do the trick.
2. Edit the /etc/ssh_config to use the AllowUser, DenyUser, ..Group.. and etc, but none of them worked as expected, later I saw that this version of openBSD / openSsh doesn't support those.
Do you have any other suggestions that may help me define users that are allowed to login to the FTP, but not SSH?
Thank you in advance,