日期:2014-05-16  浏览次数:21327 次

linux下sftp关闭步骤
linux下ftp分为ftp和sftp,sftp属于带权限的传输方式,传输过程加密,
从原理上看,sftp属于ssh的一部分.
如果不需要sftp需要关闭,执行如下方法:
编辑 sshd_config 文件 (文件所在路径:/etc/ssh/ )
启用 PasswordAuthentication 项,值由yes 修改为no
以root 权限重启SSH,命令: /etc/init.d/ssh restart