Copy of File: Scp–p (port number)./authorized_keys [Email Protected]:/home/berchina
Copy of folder: Scp-r-P (port number)/home/berchina/hadoop-2.2.0 [email protected]:/home/berchina/
Note:
The red font is my command to tap.
"#" is an annotated language
[[Email protected] server]# FTP 10.2.1.67 #登录服务器
Connected to 10.2.1.67.
220-filezilla Server version 0.9.34 beta
220-written by Tim Kosse ([email protected])
Visit http://sourceforge.net/projects/filezilla/
502 GSSAPI Authentication Not implemented
504 Auth type not supported
Kerberos_v4 rejected as an authentication type
Name (10.2.1.67:root): s #输入用户名
331 Password required for S
Password: #输入密码
Logged on
Remote system type is UNIX.
Ftp> bin #bin represents a binary file
Type set to I
ftp> Hash #显示传输进度
Hash mark Printing on (1024x768 bytes/hash mark).
ftp> ls #查看ftp目录下文件
227 Entering Passive Mode (10,2,1,67,206,237)
Connection accepted
Drwxr-xr-x 1 FTP FTP 0 Dec 21 10:03 136
-r--r--r--1 FTP FTP 1934 16:39 22.tar
Drwxr-xr-x 1 FTP FTP 0 Dec 10:03 centOs
#
226 Transfer OK
Ftp> Get 22.tar #下载文件
Local:22.tar Remote:22.tar
Port Command Successful
Opening data channel for file transfer.
########################################################
########################################################
########################################################
#################################################
226 Transfer OK
4432896 bytes received in 0.87 seconds (5e+03 kbytes/s)
Ftp> .....
Download the time will continue to print "#", a "#" represents the bytes.
Replication of a cross-server file folder under Linux