AuthMode Parameter (Invoke-PowerShellServer Cmdlet)
The type of authentication used by the cmdlet.
Invoke-PowerShellServer -AuthMode string
Normally, the cmdlet will attempt to log in to the SSH server and authenticate via username and password. This behavior can be changed to use client key (RSA) authentication by setting this parameter to 'PublicKey'.
|Password||Password authentication used with the SSH server.|
|PublicKey||When Public Key authentication is used, the cmdlet will search the certificate store specified in CertStore for a private key associated with CertSubject when logging onto the SSH server. This private key is used to verify the client's identity during the user authentication phase of the SSH logon process.|
|GSSAPI||GSSAPI-With-MIC authentication using NTLM.|