How do I add a public key in terminal?
Answer
Set up SSH on macOS/Linux
Answer
Set up SSH on macOS/Linux
- From the terminal, enter ssh-keygen at the command line. The command prompts you for a file to save the key in: …
- Press the Enter or Return key to accept the default location. …
- Enter and re-enter a passphrase when prompted. …
- List the contents of ~/.