sdhanru
(sdhanru)
April 22, 2022, 7:25am
1
Install pagure 5.13.3 according tohttps://src.fedoraproject.org/rpms/pagure/blob/f35/f/pagure-README.Fedora
When I clone a repository, git clone failed after added the ssh public key.
Has anyone else had the similar problem?
And access log
tail -f /var/log/nginx/pagure.access.log
172.30.202.250 - - [22/Apr/2022:15:21:42 +0800] “GET /pv/ssh/checkaccess/ HTTP/1.1” 405 178 “-” “python-requests/2.20.0”
vwbusguy
(Scott Williams)
April 22, 2022, 11:05pm
2
Is client2.test.test a host that resolves from that machine? Do you get a resolution with getent hosts client2.test.test
?
If you like to git clone ssh ....
the service sshd on client2 has to be active:
systemctl status sshd
checks the status
systemctl start sshd
start it if it is inactive
Please check and give feedback.
sdhanru
(sdhanru)
April 23, 2022, 2:48pm
4
Thank U!
I had solved error 405 after changing the protocal from http to https of APP_URL.
Now APP_URL is set to ‘https://client2.test.test/ ’.
1 Like
Then you should be able just to use git clone https:// ...
?!
1 Like
sdhanru
(sdhanru)
April 24, 2022, 12:59am
6
The URL to use to clone git repositories
Now git clone works normally by https and ssh.
1 Like