Linux sftp 下载文件命令:一步到位!
在Linux上使用sftp下载文档的命令是'get'。你可以使用以下命令:
sftp username@hostname
get remote_file local_file
其中,'username'是你的用户名,'hostname'是远程主机的名称或IP地址,'remote_file'是远程主机上的文件路径,'local_file'是本地存储文件的路径。
如果你想要直接下载文件到当前目录,可以使用以下命令:
sftp username@hostname:remote_file
请将'username'、'hostname'和'remote_file'替换为实际的值。
原文地址: https://www.cveoy.top/t/topic/7iw 著作权归作者所有。请勿转载和采集!