Install:
Change default shell to PowerShell 6 (If you need one):
Generate keys for remote access:
- Login under proper user.
- Execute
ssh-keygen.exe
.
- Copy
$Env:UserProfile\.ssh\id_rsa
to your ssh client.
- Move or add
$Env:UserProfile\.ssh\id_rsa.pub
to $Env:UserProfile\.ssh\authorized_keys
.
- Fix key file permissions:
For localized Windows: there’s no “Everyone”, but something in your language. Use GUI.
If things go wrong, debug with PSTools
: