Hello all,
I use winscp to put a file in a sftp server.When I set up the keys, I entered a passphrase, because I understand that this is good practice
I follow this link
https://winscp.net/eng/docs/ui_pageant
I succeed to connect to the sftp without to enter the passphrase with winscp.My objective is to call some SFTP scripts from SSIS packages.I run the pageant in the same account with the account who launch the ssis package.But in the log i don't see that the pageant it detect by winscp.
How we can ensure that the ssis detect the pageant.Please find the log
===============================================================================================. 2014-06-19 10:53:09.098 --------------------------------------------------------------------------
. 2014-06-19 10:53:09.098 WinSCP Version 4.2.9 (Build 938) (OS 5.2.3790 Service Pack 2)
. 2014-06-19 10:53:09.098 Login time: Thursday, June 19, 2014 10:53:09 AM
. 2014-06-19 10:53:09.098 --------------------------------------------------------------------------
. 2014-06-19 10:53:09.098 Session name: XXX.XXX.XXXXX
. 2014-06-19 10:53:09.098 Host name: XXX.XXX.XXXXX (Port: 50022)
. 2014-06-19 10:53:09.098 User name: XXX.XXX.XXXXX (Password: No, Key file: Yes)
. 2014-06-19 10:53:09.098 Tunnel: No
. 2014-06-19 10:53:09.098 Transfer Protocol: SFTP
. 2014-06-19 10:53:09.098 Ping type: -, Ping interval: 30 sec; Timeout: 60 sec
. 2014-06-19 10:53:09.098 Proxy: none
. 2014-06-19 10:53:09.098 SSH protocol version: 2; Compression: No
. 2014-06-19 10:53:09.098 Bypass authentication: No
. 2014-06-19 10:53:09.098 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2014-06-19 10:53:09.098 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2014-06-19 10:53:09.098 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2014-06-19 10:53:09.098 SFTP Bugs: -,-
. 2014-06-19 10:53:09.098 Return code variable: Autodetect; Lookup user groups: Yes
. 2014-06-19 10:53:09.098 Shell: default
. 2014-06-19 10:53:09.098 EOL: 0, UTF: 2
. 2014-06-19 10:53:09.098 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2014-06-19 10:53:09.098 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2014-06-19 10:53:09.098 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2014-06-19 10:53:09.098 Cache directory changes: Yes, Permanent: Yes
. 2014-06-19 10:53:09.098 DST mode: 1
. 2014-06-19 10:53:09.098 --------------------------------------------------------------------------
. 2014-06-19 10:53:09.098 Looking up host "XXX.XXX.XXXXX"
. 2014-06-19 10:53:10.363 Connecting to 202.67.146.50 port 50022
. 2014-06-19 10:53:10.676 Selecting events 63 for socket 476
. 2014-06-19 10:53:10.676 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:10.676 Looking for incoming data
. 2014-06-19 10:53:10.676 Looking for network events
. 2014-06-19 10:53:10.676 Detected network event
. 2014-06-19 10:53:10.676 Enumerating network events for socket 476
. 2014-06-19 10:53:10.676 Enumerated 18 network events making 18 cumulative events for socket 476
. 2014-06-19 10:53:10.676 Handling network write event on socket 476 with error 0
. 2014-06-19 10:53:10.676 Handling network connect event on socket 476 with error 0
. 2014-06-19 10:53:10.676 Looking for network events
. 2014-06-19 10:53:11.004 Detected network event
. 2014-06-19 10:53:11.004 Enumerating network events for socket 476
. 2014-06-19 10:53:11.004 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:11.004 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:11.004 Server version: SSH-2.0-OpenSSH_5.3
. 2014-06-19 10:53:11.004 We believe remote version has SSH-2 ignore bug
. 2014-06-19 10:53:11.004 Using SSH protocol version 2
. 2014-06-19 10:53:11.004 We claim version: SSH-2.0-WinSCP_release_4.2.9
. 2014-06-19 10:53:11.004 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:11.004 Looking for incoming data
. 2014-06-19 10:53:11.004 Looking for network events
. 2014-06-19 10:53:11.332 Detected network event
. 2014-06-19 10:53:11.332 Enumerating network events for socket 476
. 2014-06-19 10:53:11.332 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:11.332 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:11.332 Doing Diffie-Hellman group exchange
. 2014-06-19 10:53:11.332 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:11.332 Looking for incoming data
. 2014-06-19 10:53:11.332 Looking for network events
. 2014-06-19 10:53:12.020 Detected network event
. 2014-06-19 10:53:12.020 Enumerating network events for socket 476
. 2014-06-19 10:53:12.020 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:12.020 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:12.020 Doing Diffie-Hellman key exchange with hash SHA-1
. 2014-06-19 10:53:12.051 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:12.051 Looking for incoming data
. 2014-06-19 10:53:12.051 Looking for network events
. 2014-06-19 10:53:12.379 Detected network event
. 2014-06-19 10:53:12.379 Enumerating network events for socket 476
. 2014-06-19 10:53:12.379 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:12.379 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:12.426 Selecting events 63 for socket 476
. 2014-06-19 10:53:12.426 Host key fingerprint is:
. 2014-06-19 10:53:12.426 XXX.XXX.XXXXX
. 2014-06-19 10:53:12.426 Initialised AES-256 SDCTR client->server encryption
. 2014-06-19 10:53:12.426 Initialised HMAC-SHA1 client->server MAC algorithm
. 2014-06-19 10:53:12.426 Initialised AES-256 SDCTR server->client encryption
. 2014-06-19 10:53:12.426 Initialised HMAC-SHA1 server->client MAC algorithm
. 2014-06-19 10:53:12.426 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:12.426 Looking for incoming data
. 2014-06-19 10:53:12.426 Looking for network events
. 2014-06-19 10:53:13.129 Detected network event
. 2014-06-19 10:53:13.129 Enumerating network events for socket 476
. 2014-06-19 10:53:13.129 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:13.129 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:13.129 Reading private key file "XXX.XXX.XXXXX"
! 2014-06-19 10:53:13.129 Using username "XXX.XXX.XXXXX".
. 2014-06-19 10:53:13.129 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:13.129 Looking for incoming data
. 2014-06-19 10:53:13.129 Looking for network events
. 2014-06-19 10:53:14.035 Detected network event
. 2014-06-19 10:53:14.035 Enumerating network events for socket 476
. 2014-06-19 10:53:14.035 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:14.035 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:14.035 Offered public key
. 2014-06-19 10:53:14.035 Waiting for the server to continue with the initialisation
. 2014-06-19 10:53:14.035 Looking for incoming data
. 2014-06-19 10:53:14.035 Looking for network events
. 2014-06-19 10:53:14.364 Detected network event
. 2014-06-19 10:53:14.364 Enumerating network events for socket 476
. 2014-06-19 10:53:14.364 Enumerated 1 network events making 1 cumulative events for socket 476
. 2014-06-19 10:53:14.364 Handling network read event on socket 476 with error 0
. 2014-06-19 10:53:14.364 Offer of public key accepted
! 2014-06-19 10:53:14.364 Authenticating with public key "rsa-key-20140519"
. 2014-06-19 10:53:14.364 Prompt (2, SSH key passphrase, , Passphrase for key "rsa-key-20140519": )
! 2014-06-19 10:53:14.364 Wrong passphrase
. 2014-06-19 10:53:14.364 Prompt (2, SSH key passphrase, , Passphrase for key "rsa-key-20140519": )
! 2014-06-19 10:53:14.364 Wrong passphrase
. 2014-06-19 10:53:14.364 Prompt (2, SSH key passphrase, , Passphrase for key "rsa-key-20140519": )
! 2014-06-19 10:53:14.364 Wrong passphrase
. 2014-06-19 10:53:14.364 Prompt (2, SSH key passphrase, , Passphrase for key "rsa-key-20140519": )
! 2014-06-19 10:53:14.364 Wrong passphrase
. 2014-06-19 10:53:14.364 Prompt (2, SSH key passphrase, , Passphrase for key "rsa-key-20140519": )
! 2014-06-19 10:53:14.364 Wrong passphrase
. 2014-06-19 10:53:14.364 Prompt (2, SSH key passphrase, , Passphrase for key "rsa-key-20140519": )
. 2014-06-19 10:53:14.364 Selecting events 0 for socket 476
. 2014-06-19 10:53:14.364 Disconnected: Unable to authenticate