Keep forgetting how to…
- Use e.g. PuTTYgen to generate a key.
Note: Fill out “Key comment” unless you want a rather messy, uninformative
- Add public key on server:
mkdir -pm 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Should then work as long as the private key is then added to Pageant, WinSCP config, etc, etc.