Connect to PSFTP RRS feed

  • General discussion

  • Hi,

    I currently have a script that attempts to connect to PSFTP to run a batch script. However, I get the following when trying to connect

    psftp.exe : The server's host key is not cached in the registry. You
    At line:20 char:1
    have no guarantee that the server is the computer you
    think it is.
    The server's rsa2 key fingerprint is:
    ssh-rsa 2048 70800980918230981
    Connection abandoned.


    $Username = "username"
    $Password = "password"

    .'C:\Program Files (x86)\psftp\psftp.exe' sftpserver -l $Username -pw $Password -batch -bc -b C:\scripts\psftpfiledownload.bat

    Is there a way around this? 


    • Edited by RackHat Thursday, March 8, 2018 5:39 PM
    • Changed type Bill_Stewart Monday, May 7, 2018 10:10 PM
    • Moved by Bill_Stewart Monday, May 7, 2018 10:10 PM This is not support forum for third-party software
    Thursday, March 8, 2018 5:37 PM

All replies

  • This is a question about psftp.exe. This is not a support forum for that program.

    -- Bill Stewart [Bill_Stewart]

    Thursday, March 8, 2018 7:51 PM