解决Linux ssh登录马上退出问题

纠结了非常久,最终找到解决方法:

把sshd_config文件里的UsePAM改成no就能够了

原文地址:https://www.cnblogs.com/cynchanpin/p/6911294.html