PC macOS [macOS] Generating SSH Keys

Overview

This guide covers how to generate SSH keys on macOS.

Steps

1. Navigate to ~/.ssh directory

cd ~/.ssh

Warning: If the directory does not exist, create it first.

2. Generate a key

ssh-keygen -t rsa -b 4096 -C "email@example.com"

Leave a comment