scp -P [端口] -r user@ip:~/LLaMA-Factory ./
scp -r user@ip:~/LLaMA-Factory ./
scp user@ip:~/LLaMA-Factory/test.txt ./
较大的大文件夹
rsync -avz -e "ssh -p 端口号" user@ip:/home/user/path /home/user/path
rsync -avz -e user@ip:/home/user/path /home/user/path
scp -P [端口] -r user@ip:~/LLaMA-Factory ./
scp -r user@ip:~/LLaMA-Factory ./
scp user@ip:~/LLaMA-Factory/test.txt ./
较大的大文件夹
rsync -avz -e "ssh -p 端口号" user@ip:/home/user/path /home/user/path
rsync -avz -e user@ip:/home/user/path /home/user/path