passphrase prompt when connecting to JPMorgan using ssh. Will connect one passphrase is entered. Cannot connect using VBScript:
open sftp://JPMorgan_Test:***@999.99.99.99 -privatekey=C:\Program Files\WinSCP\JPMorgan_SSH_Key_20160823_Private.ppk -passphrase=XXXXXXXX
Excerpt from log file:
Looking up host "159.53.86.67"
. 2016-08-25 08:54:57.414 Connecting to 159.53.86.67 port 22
. 2016-08-25 08:54:57.476 Selecting events 63 for socket 440
. 2016-08-25 08:54:57.476 Waiting for the server to continue with the initialization
. 2016-08-25 08:54:57.476 Looking for incoming data
. 2016-08-25 08:54:57.476 Looking for network events
. 2016-08-25 08:54:57.476 Detected network event
. 2016-08-25 08:54:57.476 Enumerating network events for socket 440
. 2016-08-25 08:54:57.476 Enumerated 18 network events making 18 cumulative events for socket 440
. 2016-08-25 08:54:57.476 Handling network write event on socket 440 with error 0
. 2016-08-25 08:54:57.476 Handling network connect event on socket 440 with error 0
. 2016-08-25 08:54:57.476 Looking for network events
. 2016-08-25 08:54:57.539 Detected network event
. 2016-08-25 08:54:57.539 Enumerating network events for socket 440
. 2016-08-25 08:54:57.539 Enumerated 1 network events making 1 cumulative events for socket 440
. 2016-08-25 08:54:57.539 Handling network read event on socket 440 with error 0
. 2016-08-25 08:54:57.539 Server version: SSH-2.0-SSHD
. 2016-08-25 08:54:57.539 Using SSH protocol version 2
. 2016-08-25 08:54:57.539 We claim version: SSH-2.0-WinSCP_release_5.5.3
. 2016-08-25 08:54:57.539 Waiting for the server to continue with the initialization
. 2016-08-25 08:54:57.539 Looking for incoming data
. 2016-08-25 08:54:57.539 Looking for network events
. 2016-08-25 08:54:57.601 Detected network event
. 2016-08-25 08:54:57.601 Enumerating network events for socket 440
. 2016-08-25 08:54:57.601 Enumerated 1 network events making 1 cumulative events for socket 440
. 2016-08-25 08:54:57.601 Handling network read event on socket 440 with error 0
. 2016-08-25 08:54:57.601 Doing Diffie-Hellman group exchange
. 2016-08-25 08:54:57.601 Waiting for the server to continue with the initialization
. 2016-08-25 08:54:57.601 Looking for incoming data
. 2016-08-25 08:54:57.601 Looking for network events
. 2016-08-25 08:54:57.757 Detected network event
. 2016-08-25 08:54:57.757 Enumerating network events for socket 440
. 2016-08-25 08:54:57.757 Enumerated 1 network events making 1 cumulative events for socket 440
. 2016-08-25 08:54:57.757 Handling network read event on socket 440 with error 0
. 2016-08-25 08:54:57.757 Doing Diffie-Hellman key exchange with hash SHA-256
. 2016-08-25 08:54:57.789 Waiting for the server to continue with the initialization
. 2016-08-25 08:54:57.789 Looking for incoming data
. 2016-08-25 08:54:57.789 Looking for network events
. 2016-08-25 08:54:57.867 Detected network event
. 2016-08-25 08:54:57.867 Enumerating network events for socket 440
. 2016-08-25 08:54:57.867 Enumerated 1 network events making 1 cumulative events for socket 440
. 2016-08-25 08:54:57.867 Handling network read event on socket 440 with error 0
. 2016-08-25 08:54:57.945 Verifying host key rsa2 0x10001,0xed5dc512267933b8 e0e0a0a639d5c424 02c85ba3e4231098 97e859ae9a8158b1 3438a55c6dc546e0 e80a9ec4f9b1768b f9daf91adc303d56 029ed6b004fa4f9b 52adb16e842670bb ec098a4625e621ba 5c0410e2af7a9ea6 8a7c2d5125ac88e6 1ddab4e4aaf6460c 4ac5315c4a8b0261 daa5901f0a68b9b9 69cb3c18862a1e9d 40ec36c9e503488e ee44b1991d3d6777 2d5d573612d80fb1 2b4b5f8c08a5bbfc 9a4ce57787f21338 d785eacf35d8c11f f151b12ca3a1a296 7d5055635477a775 9b41a4afea9d9253 340660e8ebbf75b1 dae6a6fa75b44ae8 cceb649e526092c7 af71701581e47cc0 cb27fb89c96f47f7 ad2770a7172dcac1 a41fe130f3a00843 with fingerprint ssh-rsa 2048 84:d7:50:b5:fa:4e:94:b3:74:59:c2:ed:ed:a1:d3:2c
. 2016-08-25 08:54:57.945 Asking user:
. 2016-08-25 08:54:57.945 **Continue connecting to an unknown server and add its host key
The server's host key was not found in the cache. You have no guarantee that the server is the computer you think it is.
If you trust this host, press Yes. To connect without adding host key to the cache, press No. To abandon the connection press Cancel. ()
. 2016-08-25 08:54:57.945 Attempt to close connection due to fatal exception:
* 2016-08-25 08:54:57.945 Host key fingerprint is ssh-rsa 2048 84:d7:50:b5:fa:4e:94:b3:74:59:c2:ed:ed:a1:d3:2c.
* 2016-08-25 08:54:57.945 (Exception) Host key wasn't verified!
. 2016-08-25 08:54:57.945 Closing connection.
I have tried from a command line and VBScript. There are log files