window---->linux
scp -r /path/on/local/file username@remote_host:/path/to/remote/directory
实现将本地文件 /path/on/local/file 传输到远程linux服务器的 /path/to/remote/directory 目录下
例:scp -r D:/Desktop/data root@10.10.18.102:/mnt/200gb/ml-hugs
同理linux--->windows
scp -r username@remote_host:/path/to/remote/file /local/path/on/windows/
例:scp -r root@10.10.18.102:/mnt/200gb/ml-hugs/requirements.txt D:/Desktop