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

Author Message
danyeungw
[View user's profile]

Joined: 2016-12-20
Posts: 2
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]
danyeungw
[View user's profile]

Joined: 2016-12-20
Posts: 2
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
Easiest is to have the script generated by WinSCP GUI:
https://winscp.net/eng/docs/ui_generateurl#script
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License