Topics Map > Library Technology Group (LTG)
Topics Map > Admin / Procedures
Generate an SSH Key in macOS
This KB provides instructions for generating an SSH key in macOS that can be used with LCB hosts.
Table of Contents
Process
- Launch Terminal.
- Enter the following command:
- ssh-keygen - rsa
- Press Return to accept the default location (i.e., ~/.ssh/).
- Enter a passphrase or press Return to accept the default settings (i.e., no passphrase).
- macOS will generate the key pair.
Notes
- Your private key is saved to the id_rsa file.
- Your public key is saved to the “id_rsa.pub” file.