I'm so close...

Advertisement

nugget3826
Joined:
Posts:
2
Location:
WV

I'm so close...

So, I'm trying to buil;d an automated FTP file upload using WINSCP. I'm close - I think.
I did have an issue on how to pass user and password. I think I'm past that - now.
Appears I had to enter a -hostkey="ssh-rsa 1024 keygoeshere...hQ=0"
When I run the batch, I get...
Host key does not match configured key "ssh-rsa keygoeshere...hQ=0"!
Where the heck did the ! (exclamation point) come from ???

Thanks,

Lar

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
30,857
Location:
Prague, Czechia

Re: I'm so close...

The exclamation mark is a part of the error message. It has nothing to do with your problem.

You most probably specified a wrong fingerprint in your script.

If you want our help, please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

nugget3826
Joined:
Posts:
2
Location:
WV

So close

As I said in title I think I’m very close. I am confused about parameters in the OPEN command. I believe the server key is correct. If you could specify, IN ENGLISH, it might clear up a lot.
I appreciate your response ! Lar

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
30,857
Location:
Prague, Czechia

Re: So close

What should I specify?
Can you post the log file?

Reply with quote

Advertisement

You can post new topics in this forum