I want someone from windows to log in into my server using SSH, so he can edit files and install things. Is there a step to step how to do it? I need to:
- Create his user account.
- Configure it, giving him access to a single folder and nothing else (how?)
- Generate a public key for him on Windows (how?)
- Add his public key to authorized_keys correctly.
- Tell him the command he needs to use to actually log in from Window's terminal.
I pretty much only know how to create the account. How to accomplish the latter steps?