Ich möchte git clone https://...
ohne username
und password
verwenden, funktioniert es nicht auf meinem Server.Git Klon ohne Benutzername und Passwort
Befehl: sudo git clone https://gitlab.com/****/****.git
Problem: Sie fragen mich, den Benutzernamen und Passwort ein.
Mit SSH fragen sie mich die Passphrase, und ich möchte nichts nach git clone
eingeben.
Irgendwelche Ideen?
Edit # 1
Befehl: sudo ssh-keygen -p -P "myoldpassword" -n "" -f /root/.ssh/id_rsa.pub
Ergebnis:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/root/.ssh/id_rsa.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /root/.ssh/id_rsa.pub
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/root/.ssh/id_rsa.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /root/.ssh/id_rsa.pub
Bad passphrase.
Wenn es sich um ein privates oder auf andere Weise eingeschränktes Repository handelt, können Sie neben dem SSH-Zugriff nicht viel mehr tun. Hast du das aktiviert? – Makoto
Ja, es ist ein privates Repository. Und ja, ich habe SSH aktiviert, aber mit einer Passphrase und ich will sie nicht ... – tonymx227