使用SSH远程连接Linux系统的ECS实例时,提示“This account is currently not available.”错误怎么办? |
使用SSH远程连接Linux系统的ECS实例时,提示“This account is currently not available.”错误怎么办? 本文介绍使用SSH远程连接Linux实例时,提示“This account is currently not available.”错误的问题原因和解决方案。 问题现象当使用SSH命令登录Linux系统的ECS实例,输入正确的用户名和密码也会连接失败,提示“This account is currently not available.”错误。 执行 Connection to 127.0.0.1 closed.Received disconnect from 127.0.0.1: 11: disconnected by user.pam_unix(sshd:session): session closed for user test. 问题原因该问题通常是由于ECS实例中用户配置文件(/etc/passwd)中,相应用户(如test)的默认Shell被修改,导致无法登录。 解决方案您可以修改相应用户(如test)的Shell,以解决无法远程连接的问题。
|