Cannot set Setting SFTP KeyFile using scripting

Advertisement

LoganTennis
Joined:
Posts:
3
Location:
Brisbane

Cannot set Setting SFTP KeyFile using scripting

Hi I am trying to connect to an SFTP server specifying a key file. Can not seem to get it to work

Reply with quote

Advertisement

LoganTennis

Re: Cannot set Setting SFTP KeyFile using scripting

I have read everything. Nothing makes sense, all I want to do is to create a script that can use a key file. What more could you possibly need?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
34,903
Location:
Prague, Czechia

Re: Cannot set Setting SFTP KeyFile using scripting

open sftp://username@example.com/ -privatekey=mykey.ppk
See https://winscp.net/eng/docs/scriptcommand_open
But that's pretty obvious. So I guess you must have a different problem. But we can hardly know what that is, if you do not show us what are you doing.

Reply with quote

Advertisement

You can post new topics in this forum