网上找了个教程,折腾好长时间都不行,最后往死里整,终于弄好了,记录一下. 系统环境:Centos6.9 64bit 完美解决: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Couldn't read packet: Connection reset by peer 以下命令行,一行一个命令,请自行修改参数并执行: groupadd sftp_users useradd -g sftp_users -s…