By installing OpenSSH on a Windows host and setting PowerShell as default shell, PAM can do SSH relay to a Windows PowerShell session. However, PowerShell output is not properly audit for some reason.

It would be very interesting adapting SSH relay to support this use case.

Comments