1、拷贝单个文件命令:
scp file username@ip:filepath
说明:
file: 要拷贝的文件名
username: 远程登录的用户名,
ip:远程服务器ip
filepath:远程文件路径
2、拷贝文件夹命令如下(多加上一个-r 参数即可):
scp -r file username@ip:filepath
1、拷贝单个文件命令:
scp file username@ip:filepath
说明:
file: 要拷贝的文件名
username: 远程登录的用户名,
ip:远程服务器ip
filepath:远程文件路径
2、拷贝文件夹命令如下(多加上一个-r 参数即可):
scp -r file username@ip:filepath