Are remote PowerShell connections encrypted / secured in some form the way that SSH is?
2 Answers
PowerShell connection protocol is defined in winrm configuration, you can retrieve it via
winrm get winrm/config
There are two "modes" available: http and https. While http is available "out-of-box", https requires certificate trust to be configured one way or another.
You can find more details here: https://support.microsoft.com/en-us/help/2019527/how-to-configure-winrm-for-https
update: powershell v6 supports ssh transport, but prior versions are limited to http\https

- 4,869
- 15
- 69
- 110

- 592
- 3
- 10
If using basic authentication, the authentication would not be encrypted unless using HTTPS (tcp/5986).
After authentication, all communication is encrypted with a per-session AES-256 symmetric key regardless if it is HTTP or HTTPS.
https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/winrmsecurity

- 35,880
- 5
- 54
- 82