Is there SessionOptions equivalent to 'Respond with password to the first prompt'?
I have a script that connects to an SFTP server. It works well with most servers, but with one server I get the following. My thought is that I need to do the equivalent to the 'Respond with password to the first prompt' that's available from the Site Manager setup windows. The other server offer 'publickey, password, keyboard-interactive' as authentication methods, but this one only offers 'publickey, password'. Is there something else we need to be doing here?
. 2025-04-01 14:01:47.545 Server offered these authentication methods: publickey,password . 2025-04-01 14:01:47.545 Offered public key . 2025-04-01 14:01:47.607 Offer of public key accepted ! 2025-04-01 14:01:47.607 Authenticating with public key "rsa-key-20250124" < 2025-04-01 14:01:47.607 Script: Authenticating with public key "rsa-key-20250124". . 2025-04-01 14:01:47.654 Sent public key signature ! 2025-04-01 14:01:47.701 Further authentication required < 2025-04-01 14:01:47.701 Script: Further authentication required . 2025-04-01 14:01:47.701 Further authentication required . 2025-04-01 14:01:47.701 Server offered these authentication methods: password . 2025-04-01 14:01:47.701 Prompt (password, "SSH password", <no instructions>, "&Password: ") . 2025-04-01 14:01:47.701 Prompting user for the credentials. . 2025-04-01 14:01:47.701 Prompt cancelled. . 2025-04-01 14:01:47.701 User aborted at password prompt . 2025-04-01 14:01:47.701 Attempt to close connection due to fatal exception: * 2025-04-01 14:01:47.701 **Credentials were not specified.** . 2025-04-01 14:01:47.701 Closing connection. < 2025-04-01 14:01:47.701 Script: Credentials were not specified. < 2025-04-01 14:01:47.701 Authentication log (see session log for details): < 2025-04-01 14:01:47.701 Using username "blah". < 2025-04-01 14:01:47.701 Authenticating with public key "rsa-key-20250124". < 2025-04-01 14:01:47.701 Further authentication required < 2025-04-01 14:01:47.701 < 2025-04-01 14:01:47.701 Authentication failed.