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@server
but when I try togit clone git@server:xxx
I 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@server
I getuser@server: Permission denied (publickey).
Could anyone help me? Thanks!