* create user in your system using the command provided below
``useradd xrambad --shell=/bin/true``
this will make the user have no shell + sftp and scp access.
* create ssh key for the user.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.