访问量: 34742次,访客数: 29756人,浏览量: 1次 
首页  编辑  

Linux在两台机器间复制文件

Tags: /计算机文档/Linux & Unix/   Date Created: Thu Jun 13 2013 07:07:40 GMT+0000 (Coordinated Universal Time)

在两台机器之间复制文件

# 复制文件到远程机器

scp ~/.ssh/id_dsa.pub remote_user@remote.server.ip:/folder_path_name

# 复制远程文件到本地的当前目录

scp -r username@192.168.0.1:/home/username/remotefile.txt .