25、bash: scp: command not found

 

在一台新机器上安装 openssh-clients

 yum install -y openssh-clients-7.4p1-21.el7.x86_64
 
使用scp 远程传输文件,出现bash: scp: command not found报错
因为远程机器没有openssh-client,所以导致报错。解决办法是安装openssh-clents

 

posted @ 2021-02-23 10:18  WH·xiao  阅读(160)  评论(0编辑  收藏  举报