SFTP script and password prompt

Advertisement

db8
Guest

SFTP script and password prompt

I am trying to create a script which will eventually SFTP a file but I'd like to have it where the operator MUST enter the password to login. The script would make the ftp connection, supply the userid, then prompt for the password while the script is running. Is that possible?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: SFTP script and password prompt

Just do not provide password in the script. That's all.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum