New
Create ~/.ssh/config on Windows
Writes a host entry to the Windows SSH config, which lives in your user profile rather than under /home.
The real path is C:\Users\YourName\.ssh\config. Write it as UTF8 without a BOM: Set-Content adds a BOM by default and OpenSSH then fails to parse the first line. Use forward slashes for IdentityFile even on Windows.
When you need this: On Windows, wherever a guide tells you to edit ~/.ssh/config.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.