Die Option -K ist die Standardversion von ssh-add von Apple, bei der die Passphrase für das Hinzufügen eines SSH-Schlüssels zum SSH-Agenten in Deiner Keychain (Schlüsselkette) gespeichert wird. Wenn Du eine andere Version von ssh-add installiert hast, fehlt möglicherweise die Unterstützung von -K.
Das Problem beheben
Um Deinen privaten SSH-Schlüssel zum SSH-Agenten hinzuzufügen, kannst Du den Pfad zur Apple-Version von ssh-add angeben:
$ /usr/bin/ssh-add -K ~/.ssh/id_rsa
Hinweis: If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_ed25519 in the command with the name of your private key file.
Weiterführende Informationen
- „Einen neuen SSH-Schlüssel generieren und zum SSH-Agenten hinzufügen“
- Linus-Manpage für SSH-ADD
- Um die Apple-Manpage für SSH-ADD anzuzeigen, führe in Terminal
man ssh-addaus

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
