Directive 'Ciphers' is not allowed within a Match block
This is because your
/etc/ssh/sshd_config is not syntactically correct. When adding the Match Group block, ensure that you are appending it to the end of the file or closing the Match Group by adding
Match all right after its definition, so that the group is correctly closed.
Match Group sftp
Re-run the command
sudo /usr/sbin/sshd -t to verify the syntax and relaunch the service.
also tell me how to restrict this user to its own directory
ChrootDirectory directive should take care of that, but I am afraid we don't have specific documentation on how to properly configure the
I see you are trying to use FileZilla, we have a video that covers the set up process for file transfer in GCP: