Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

danyeungw

Re: What is the syntax of WinSCP open sftp server with user name and password?

danyeungw wrote:

It seems I found only with hostkey, "winscp.com /command "open sftp://martin@example.com/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "exit"". I am looking for user name and password.

Thanks.
[/code]


I figured it out referring to this site https://winscp.net/forum/viewtopic.php?t=12670
danyeungw

What is the syntax of WinSCP open sftp server with user name and password?

It seems I found only with hostkey, "winscp.com /command "open sftp://martin@example.com/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "exit"". I am looking for user name and password.

Thanks.
[/code]