我知道如何通过sftp获取远程文件.
例如:
sftp root@10.0.0.1:/path/to/file.txt localfile.txt
如何将文件上传到远程服务器?
(我需要在我的bash脚本中使用此命令.)