SFTP with private key connection
Hi
We have WINSCP to connect to a clients site using a Private key, which we can connect to using the GUI, however we have an some automation software which we use to transfer files and when we use this we get this error "Failed to get the host key from sftp://111.999.666.444: getaddrinfo sftp://135.196.161.142: hostname nor servname provided, or not known"
For a previos client we used to just pass the username password and port number.
Does anyone have an example of WINSCP command Line script I could use to pass "Username", "Private Key", "IP Address" and "Port Number"
Thanks Andy
We have WINSCP to connect to a clients site using a Private key, which we can connect to using the GUI, however we have an some automation software which we use to transfer files and when we use this we get this error "Failed to get the host key from sftp://111.999.666.444: getaddrinfo sftp://135.196.161.142: hostname nor servname provided, or not known"
For a previos client we used to just pass the username password and port number.
Does anyone have an example of WINSCP command Line script I could use to pass "Username", "Private Key", "IP Address" and "Port Number"
Thanks Andy