Error on git push

Hi,

I am using ssh authentication to connect to SCM-Manager and push my repos and use the command line to do all my git operations.

After my server is restarted and I go to push to my repo I immediately get an authentication error.

I did a search and found that to work around this I needed to logon to my server through the web interface at least once before doing a push, this works without an issue.

While this is not a major issue for me it would be nice not to have to logon to the web interface before my first push after a server restart.

So my question is - Is there a configuration setting I can change to ensure authentication happens on the server without having to logon through the web interface all the time.

The server is behind a firewall and non internet facing.

Thanks.

Geoff.

Hey Geoff,

this sounds strange, and I cannot reproduce this. Do you use the internal user authentication of SCM-Manager or do you have an external auth server? And do you know where you read about this issue?

Thanks,
René

Hi René,

I use the internal user authentication of SCM-Manager.

This is the message I receive when I try to do a git push to the server after the restart, as you can see here I am using PowerShell on my Windows 11 dev machine.

PS D:\MainDevFolder\mini_rpg_project_2> git push -u origin main
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Once I login with my User on the SCM-Server it works immediately, it happens after every restart of the Linux Mint machine that hosts the SCM-Server.

For clarity, I do not have a login on the Linux Mint machine, that has its own maintenance user login, and I also recently changed from http authentication to ssh authentification.

Thanks.

Geoff.