原文:http://www.111cn.net/sys/CentOS/58387.htm
CP使用SSH協議在linux系統中進行文件傳輸,但我最小安裝的CentOS 6.3沒有該命令。
代碼如下 | 復制代碼 |
[root@localhost ~]# scp-bash: scp: command not found |
安裝openssh-clients軟件包后就可以使用SCP命令了。
代碼如下 | 復制代碼 |
[root@localhost ~]# yum install openssh-clients |
安裝完成之后
代碼如下 | 復制代碼 |
[root@localhost ~]# scp[root@localhost ~]# scpusage: 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 |
新聞熱點
疑難解答