WinSCP.com actions being duplicated?
I can't tell if the actions WinSCP is taking are actually being duplicated or if it's some kind of echo issue, but here is the command I'm running and the output I'm seeing. Sensitive info masked
Everything seems to function as expected but it almost appears if it's creating a session within a session or something and executing the steps a second time.
C:\Repository\support\tools\WinSCP>"C:\Repository\support\tools\WinSCP\WinSCP.com" -hostkey=* <username>@<servername> /privatekey=C:\Repository\support\tools\WinSCP\putty_ssh.ppk /command "call pwd" "exit" Opening session using command-line parameter in scripting is deprecated. Use 'open' command instead. Searching for host... Connecting to host... Authenticating... WARNING! Giving up security and accepting any host key as configured! Using username "<username>". Authenticating with public key "imported-openssh-key". Authenticated. Starting the session... Session started. Active session: [1] <username>@<servername> Searching for host... Connecting to host... Authenticating... WARNING! Giving up security and accepting any host key as configured! Using username "<username>". Authenticating with public key "imported-openssh-key". Authenticated. Starting the session... Session started. /home/<username> C:\Repository\support\tools\WinSCP>
Everything seems to function as expected but it almost appears if it's creating a session within a session or something and executing the steps a second time.