The password in my PowerShell script was wrong, not completely clear from the logging.
- remkop
Error: Exception calling "Open" with "1" argument(s): "Connection has been unexpectedly closed. Server sent command exit status 0.
Authentication log (see session log for details):
Using username "XXX".
Access denied.
Authentication failed."
Waiting for the server to continue with the initialization
. 2021-05-03 12:29:38.670 Prompt (keyboard interactive, "SSH server: password", "Enter password for XXXXX", "Password:")
. 2021-05-03 12:29:38.670 Using stored password.
. 2021-05-03 12:29:38.709 Detected network event
. 2021-05-03 12:29:38.709 Waiting for the server to continue with the initialization
. 2021-05-03 12:29:38.709 Keyboard-interactive authentication failed
! 2021-05-03 12:29:38.710 Access denied
SessionOptions
(as Password
), So why does it try to do it interactively?