Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to know how can I connect automatically using sftp with a password as an argument in the same command to get the automatic login an execute once.
Example:
I want to put it into a script, and try to make one sentence to do this task.