如何从借助跳板机登陆的服务器上下载文件(xftp失效)

[root@localhost lib]# tar zcf  mysql-files.tar.gz  mysql-files/ 
[root@localhost lib]# ls
alternatives  dhclient  iscsi             misc         mysql-files.tar.gz  polkit-1     rpm        udev
authconfig    docker    logrotate.status  mysql        mysql-keyring       postfix      rsyslog    yum
dbus          games     lxc               mysql-files  plymouth            random-seed  stateless
[root@localhost lib]# rz 
-bash: rz: command not found
[root@localhost lib]# yum install  lrzsz 
Loaded plugins: fastestmirror
Setting up Install Process	
Determining fastest mirrors
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
14: problem making ssl connection
 * epel: mirrors.tuna.tsinghua.edu.cn
base                                                                                                     | 3.7 kB     00:00     
extras                                                                                                   | 3.4 kB     00:00     
extras/primary_db                                                                                        |  29 kB     00:00     
mysql-connectors-community                                                                               | 2.5 kB     00:00     
mysql-connectors-community/primary_db                                                                    |  43 kB     00:00     
mysql-tools-community                                                                                    | 2.5 kB     00:00     
mysql-tools-community/primary_db                                                                         |  53 kB     00:00     
mysql57-community                                                                                        | 2.5 kB     00:00     
mysql57-community/primary_db                                                                             | 194 kB     00:00     
updates                                                                                                  | 3.4 kB     00:00     
updates/primary_db                                                                                       | 7.5 MB     00:01     
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================
 Package                    Arch                        Version                                 Repository                 Size
================================================================================================================================
Installing:
 lrzsz                      x86_64                      0.12.20-27.1.el6                        base                       71 k

Transaction Summary
================================================================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 159 k
Is this ok [y/N]: y
Downloading Packages:
lrzsz-0.12.20-27.1.el6.x86_64.rpm                                                                        |  71 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : lrzsz-0.12.20-27.1.el6.x86_64                                                                                1/1 
  Verifying  : lrzsz-0.12.20-27.1.el6.x86_64                                                                                1/1 

Installed:
  lrzsz.x86_64 0:0.12.20-27.1.el6                                                                                               

Complete!
[root@localhost lib]# du -sh * 
64K	alternatives
8.0K	authconfig
4.0K	dbus
4.0K	dhclient
4.0K	docker
4.0K	games
28K	iscsi
4.0K	logrotate.status
4.0K	lxc
4.0K	misc
122M	mysql
8.2M	mysql-files
2.2M	mysql-files.tar.gz
4.0K	mysql-keyring
8.0K	plymouth
28K	polkit-1
8.0K	postfix
4.0K	random-seed
36M	rpm
4.0K	rsyslog
12K	stateless
8.0K	udev
4.6M	yum
[root@localhost lib]# rz  mysql-files.tar.gz 
rz: garbage on commandline
Try `rz --help' for more information.
[root@localhost lib]# sz   mysql-files.tar.gz 

你可能感兴趣的:(杂谈)