Hostkey not recognized if logged off of machine
                I have a batch script that I initiate from an SSIS Package that is launched from a job in SSMS.  When I am logged on my SQL Server, I can launch my job and it connects fine, but when I am not logged into the SQL Server, it fails, saying the "Host key does not match configured key fingerprint...".  I need my batch script to work when I'm not logged into my SQL Server.
This is my script:
    
I tried using a password, but per the logs, it's asking if I want to continue, which I can't respond, as it's coming from my script.
How do I resolve this?
Thanks!
            
        This is my script:
option confirm off open sftp://xxxxxx -hostkey="xxxxx" cd /upload binary get -latest "%1%" "%2%"\ exit
How do I resolve this?
Thanks!