SSH .config file for Windows 10's SSH?

Solution 1:

The OpenSSH configuration and key files (including the config, known_hosts, authorized_keys, id_rsa, id_dsa, etc.), which on Unix go to ~/.ssh, on Win32-OpenSSH they go to %USERPROFILE%\.ssh.

That typically is:

C:\Users\username\.ssh

Though there's an exception for administrator authorized_keys. Win32-OpenSSH uses %ALLUSERSPROFILE%\ssh\administrators_authorized_keys instead. See my guide to Setting up SSH public key authentication on Win32-OpenSSH server.


Win32-OpenSSH is a Microsoft build of OpenSSH, which is now a standard part of Windows 10.