加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

解决SecureCRT无法用非root账号登录ssh

发布时间:2020-12-14 02:03:02 所属栏目:Linux 来源:网络整理
导读:链接失败,提示这个: --------------------------- SecureCRT --------------------------- 连接到会话 192.168 . 1.100 失败 : The server has disconnected with an error . ? Server message reads : A protocol error occurred . Change of username or

链接失败,提示这个:

--------------------------- SecureCRT --------------------------- 连接到会话 192.168.1.100 失败 : The server has disconnected with an error. ?Server message reads: A protocol error occurred. Change of username or service not allowed: (root,ssh-connection) -> (zoujiaqing,ssh-connection) --------------------------- 确定 ? ---------------------------


这是因为SecureCRT设置中的用户名和你登录时候输入的用户名不相符,在这里改一下就可以:

选项 -> 会话选项 -> 连接 -> SSH2 -> 用户名


修改后登录正常,这样可以禁用服务器的ROOT登录了(为了安全)。

?

转自:https://blog.csdn.net/zxx2403/article/details/46959047

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读