A long time ago, an ftp server was installed with vsftpd, but the user data source was not modified. by default, users in the system were used. The ssh port is enabled without any restrictions. after a user logs on to the server, most of the content on the server is readable, so some things that do not want ordinary users to see will be seen by others ~~ Vsftpd works well, that is, you can configure chroot. Then, disable ssh port access. the specific method is sudovi/e.
A long time ago, an ftp server was installed with vsftpd, but the user data source was not modified. by default, users in the system were used. The ssh port is enabled without any restrictions. after a user logs on to the server, most of the content on the server is readable, so some things that do not want ordinary users to see will be seen by others ~~
Vsftpd works well, that is, you can configure chroot.
Then, disable ssh port access. the specific method is as follows:
Sudo vi/etc/ssh/sshd_config
Search for AllowUsers. if not, add it.
AllowUsers meiking root
The above expression means that only the meiking and root users are allowed to log on remotely.