当前位置: > CentOS > CentOS教程 >

Centos 6.4 安装scp和lrzsz

时间:2016-08-18 01:35来源:linux.it.net.cn 作者:IT
Centos 6.4默认没有安装scp和lrzsz,yum装下

1.安装scp
[root@localhost ~]# scp
-bash: locate: command not found

[root@localhost ~]# yum install openssh-clients

[root@localhost ~]# scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2

[root@localhost ~]# scp /root/hostcheck/check.tar.gz root@192.168.200.70:/root/

2.安装lrzsz
[root@localhost ~]# yum install lrzsz


(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容