What it is
Your SSH private keys, known hosts and config.
Can you delete it?
No, not by hand. Keys that are not backed up cannot be recovered; you would lose access to servers and git hosts.
How to clean it safely
- Leave it alone. It is tiny.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".ssh" 2>/dev/nullStep-by-step guide: Developer caches on a Mac →
Related folders
- Nix store ·
/nix/store - Apple Intelligence and system assets ·
/System/Library/AssetsV2 - Swap files and sleepimage ·
/private/var/vm - Group containers ·
~/Library/Group Containers - Keychains ·
~/Library/Keychains - App containers ·
~/Library/Containers
Questions
Is it safe to delete ~/.ssh?
No, not by hand. Keys that are not backed up cannot be recovered; you would lose access to servers and git hosts.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac