Ad

SSH-keys-in-macOS-Sierra-keychain: macOS SSH key management

This repository addresses the issue of SSH key persistence in macOS Sierra after reboot, providing solutions to automatically add keys to the keychain and ssh-agent.
Screenshot of jirsbek/SSH-keys-in-macOS-Sierra-keychain homepage

SSH-keys-in-macOS-Sierra-keychain manages SSH keys securely within the macOS Sierra keychain. The project addresses a change in macOS Sierra (10.12.2) where SSH keys added with ssh-add -K are not automatically loaded into ssh-agent after a reboot. This repository provides configuration methods to ensure persistent key availability for seamless SSH access.

This project provides practical solutions for maintaining SSH key persistence, offering both configuration file adjustments and automated launch agent setup. The solutions are well-documented and cater to different user preferences, offering flexibility in implementation. The project directly addresses a known macOS change, providing a readily usable workaround.

  • Configuration File: Includes a config file modification for specifying key paths and enabling keychain integration.
  • Launch Agent: Offers a launch agent plist file for automating the ssh-add -A command on system startup.
  • Alternative Methods: Provides information on using third-party tools like Lingon for managing SSH keys.
  • Troubleshooting: Includes notes on addressing potential ssh-add option errors.
  • Security: Leverages the macOS keychain for secure storage of SSH private keys.
  • Compatibility: Specifically targeted at macOS Sierra (10.12.2) and later versions.
  • Ease of Use: Presents clear, concise instructions for implementing the solutions.

The project addresses a specific problem related to a known macOS update. It is maintained with relevant instructions and solutions. The initial release focused on providing immediate workarounds and has been updated with troubleshooting guidance. Documentation is present and provides clear instructions.

This project is beneficial for macOS users who require persistent SSH key access after reboot. It provides a straightforward solution to automatically manage SSH keys, eliminating the need for manual re-addition. It helps ensure secure and convenient SSH connectivity by leveraging the macOS keychain and ssh-agent functionality. It's a valuable resource for maintaining SSH sessions on macOS Sierra and later.

Summarize:
Share:
Stars
935
Forks
43
Issues
0
Created
9 years ago
Commit
8 years ago
License
None
Archived
Yes
Updated 20 days ago

Similar Repositories