> CentOS > CentOS教程 >

Centos 6.4 安装scp和lrzsz

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)