-bash: sftp: command not found

来源:互联网 发布:项羽彭城之战 知乎 编辑:程序博客网 时间:2024/04/24 09:45

sftp不识别的问题

我用的是CentOS 6系统

网上很多说是
/etc/ssh/sshd_config文件丢失或者注释掉
Subsystem sftp /usr/libexec/openssh/sftp-server
导致

但是我发现不是
执行 /etc/ssh/sshd_config文件的时候提示

Subsystem: command not found

也没相关资料 后来才发现 原来 要这么去安装

yum install openssh-clients

0 0
原创粉丝点击