SFTP connect script without password

Advertisement

PK_irl
Guest

SFTP connect script without password

Hi,
I'm trying to script an automated upload to SFTP server.
The user account is setup without password and I have no control over it.
In the script I have:
open sftp://user:@xxx.xxx.xxx.xxx
to connect to the server but I get a prompt to enter the password. Simply by pressing ENTER the script proceeds with the uploads, if button is not pressed it disconnects.
Is there anything that could be done?

Thank you

Reply with quote

Advertisement

You can post new topics in this forum