Apple 표준 버전의 --apple-use-keychain에 있는 ssh-add 옵션은 ssh-agent에 SSH 키가 추가될 때 키 집합에 암호를 자동으로 저장합니다. 다른 버전의 ssh-add를 설치한 경우 --apple-use-keychain가 지원되지 않을 수 있습니다.
문제 해결
ssh-agent에 SSH 프라이빗 키를 추가하기 위해 Apple 버전의 ssh-add에 대한 경로를 지정할 수 있습니다.
/usr/bin/ssh-add --apple-use-keychain ~/.ssh/id_ed25519
참고
*
--apple-use-keychain 옵션은 ssh-add의 Apple 표준 버전에 있습니다. Monterey(12.0) 이전 macOS 버전에서는 -K 대신 --apple-use-keychain를 사용합니다.
- 데이터 재사용.ssh.ssh-agent에-ssh-키-추가 %}
추가 참고 자료
-
[AUTOTITLE](/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) -
[ssh-add에 대한 Linux 기본 페이지](http://man7.org/linux/man-pages/man1/ssh-add.1.html) - SSH-ADD에 대한 Apple 기본 페이지를 보려면 터미널에서
man ssh-add를 실행합니다.