I install Gitea on win10. I create a user ‘git’ and set the ‘RUN_USER’ as ‘git’. And if I set the
[server] SSH_ROOT_PATH as
git\.ssh\authorized_keys, Gitea will create a empty dir instead of a file.
Should I run gitea as ‘git’? Gitea write public key in user.ssh instead of git.ssh.
When I use OpenSSH Server on win10, I can
ssh user@serverbut when I try to
git clone git@server:xxxI get
git@server: Permission denied (publickey,password,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
- When I use the build-in ssh server, I can clone but when I try to
ssh user@serverI get
user@server: Permission denied (publickey).
Could anyone help me? Thanks!