@dside Практически никаких изменений относительно инструкции:
```
curl -d '{"title":"${KEY}",\"key":"'"$(cat ~/.ssh/${KEY}.pub)"'"}' -H 'Content-Type: application/json' https://gitlab.com/api/v4/user/keys?private_token==${TOKEN}
```
Здесь KEY=testkey
а TOKEN=abCdef-Gkjml
@dside Кусок вывода с -v:
* We are completely uploaded and fine
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 400
< server: cloudflare
< date: Tue, 12 Nov 2024 09:28:01 GMT
< content-type: text/html
< content-length: 155
< cf-ray: 8e157d501abdc415-LED
<
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
* Connection #0 to host gitlab.com left intact
В целом я понял, что все ломается об cloudflare, но понимания как фиксить это не добавляет :/
@dside Кусок вывода с -v:
* We are completely uploaded and fine
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 400
< server: cloudflare
< date: Tue, 12 Nov 2024 09:28:01 GMT
< content-type: text/html
< content-length: 155
< cf-ray: 8e157d501abdc415-LED
<
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>