WinSCP .NET Login Prompts
Hi,
I currently have a PowerShell script that was working until recently. Unfortunately, as of yesterday, the server I am trying to connect to added a prompt that I need to hit enter for in order to log in. I've attached an image from the GUI to explain exactly what I'm talking about. Here is the log:
. 2019-06-06 15:00:33.922 Attempting keyboard-interactive authentication
. 2019-06-06 15:00:34.032 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Password: ")
. 2019-06-06 15:00:34.032 Using stored password.
. 2019-06-06 15:00:34.078 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "You have logged in using cached account information. Some network services
. 2019-06-06 15:00:34.078 will be unavailable.
. 2019-06-06 15:00:34.078
. 2019-06-06 15:00:34.078 Press Enter to Continue.")
. 2019-06-06 15:00:34.078 Disconnected: Unable to authenticate
My question is - and I was not able to find this in the documentation, is there a way to have WinSCP confirm that prompt? (it doesn't need a password entry, simply hitting enter connects to the server).
Thanks.
I currently have a PowerShell script that was working until recently. Unfortunately, as of yesterday, the server I am trying to connect to added a prompt that I need to hit enter for in order to log in. I've attached an image from the GUI to explain exactly what I'm talking about. Here is the log:
. 2019-06-06 15:00:33.922 Attempting keyboard-interactive authentication
. 2019-06-06 15:00:34.032 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Password: ")
. 2019-06-06 15:00:34.032 Using stored password.
. 2019-06-06 15:00:34.078 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "You have logged in using cached account information. Some network services
. 2019-06-06 15:00:34.078 will be unavailable.
. 2019-06-06 15:00:34.078
. 2019-06-06 15:00:34.078 Press Enter to Continue.")
. 2019-06-06 15:00:34.078 Disconnected: Unable to authenticate
My question is - and I was not able to find this in the documentation, is there a way to have WinSCP confirm that prompt? (it doesn't need a password entry, simply hitting enter connects to the server).
Thanks.