一.本地文件复制到服务器
scp local_file remote_username@remote_ip:remote_folder
例如:scp -r "./lw.txt" gpuserver@172.18.1.xxx:/home/gpuserver/lw
二.本地复制到本地
cp ir "local_file" "new_floder_path"
例如:cp -r "./lw.txt" "./new"
三.挂载(mount)
sudo mount //192.168.9.xxx/dataset /home/user/work/project/server_process -o username=alg_dataset,password=xxx,rw,dir_mode=0777,file_mode=0777
四.取消挂载(umount)
进入被挂载的服务器后输入
sudo umount 被挂载的地址
例如:sudo umount ./lw