0

The usual way to use SFTP is to start it and use it in interactive mode. I would like to call it from a bash script (on Linux) to automatically get or put a specified file with no further user interaction required.

I looked at the man page but I did not see a way to do that. Is there a way to do that? Or is there a better way to do that, perhaps using SCP?

Giacomo1968
  • 58,727

0 Answers0