My configuration:
Hosting server running on Windows 10 Home
Gitea v1.22.1
OpenSSH for Windows
Git 2.46.0.windows.1
app.ini
APP_NAME = gitea home
RUN_USER = gitea
WORK_PATH = C:\SHARE
RUN_MODE = prod
[repository]
ROOT = C:/SHARE/repos
[server]
SSH_DOMAIN = localhost
DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:3000/
APP_DATA_PATH = C:\SHARE\data
DISABLE_SSH = false
SSH_PORT = 22
Note: HTTP just works. No issues there.
What I’m having a two-prong issue with is the following:
-
I’m being forced to enter my password for the SSH connection:
$ git clone gitea@localhost:/repos/testvob.git
Cloning into ‘testvob’…
gitea@localhost’s password: -
After I enter the password, the host returns an error message that reads:
fatal: ‘’/repos/testvob.git’’ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The host settings used are mostly the default settings. Only one account being used “gitea”. This account also was created locally on the Windows 10 desktop.
The SSH key was added and verified to include a verified signature.
From the error message, I thought the repo has some permission problem on the host side. I don’t see that. Also the repo is configured as “public”.
Please assist if you can.