问题: SSH能够连接,SFTP不能连接 解决: service sshd restart sudo iptables -I INPUT -p tcp --dport 22 -j ACCEPT 具体情况具体分析,如果没有用,可以再多查查。