Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

remkop

The password in my PowerShell script was wrong, not completely clear from the logging.
remkop

Keyboard-interactive authentication failed

Using the simple basic example of the .NET Assembly in combination with Powershell I get an error that
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."

When checking the Session-log it tells:
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

I did save the password in the SessionOptions (as Password), So why does it try to do it interactively?