-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to clone repo via SSH [Podman pod, rootless container] #19150
Comments
Rootless doesn't use the authorized_key file as it runs an SSH server internal to the golang binary and fetches keys directly from the database. You mention changing sshd_config, can you provide more details on that, as above opensshd is not used. Do you mean your Are you able to attempt connecting using ssh directly ( |
I have a similar issue but I'm not sure if I have the same environment( search keyword my environment is with truenas scale box and gitea installed via truenas charts, so my installed version is After a fresh install, I add the ssh pub key from gitea web UI, and
Gitea log shows the same warning as OP.
is there anything I can do to provide more information? |
About the problem for rootless container: This issue is inactive for long time and Gitea 1.16.x is out-dated. Feel free to re-open or open a new issue if there is any other problem. |
Gitea Version
1.16.4
Git Version
2.30.2
Operating System
Podman rootless container on openSUSE MicroOS host
How are you running Gitea?
I am running my self-hosted Gitea instance on home server. I create simple script to run Podman's pod with Postgre and Gitea-rootless container behind Caddy reverse proxy
Caddyfile
I use built-it SSH server so in installation wizard on browser I put port 2222 in config and my domain name
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
I've setup added server, user and port in my
sshd_config
, added my public key to my user account, created repo and during clone I received an error:On the Gitea's log I see only these two lines (I've increased log level to debug):
I also manually run
Update the '.ssh/authorized_keys' file with Gitea SSH keys.
cron task from UI but it didn't change anything. What else can I check?Screenshots
No response
The text was updated successfully, but these errors were encountered: