小编Dex*_*exa的帖子

无法 ssh,权限被拒绝

我已经使用 创建了新用户useradd USER,但我无法通过 SSH 连接到服务器并使用它登录。我已经有另一个可以轻松通过 SSH 连接的帐户。

ssh -v USER@domain.tld输入密码后运行返回此消息:

debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Run Code Online (Sandbox Code Playgroud)

当尝试有效的帐户时,我得到

debug1: Authentication succeeded (password).
Run Code Online (Sandbox Code Playgroud)

我知道密码是正确的,因为一旦我使用工作帐户 SSH 就可以成功更改用户。

ssh centos

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

centos ×1

ssh ×1