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