首页 > 其他 > 详细

A protocol error occurred. Change of username or service not allowed: (root,ssh-connection) -> (zoujiaqing,ssh-connection)

时间:2016-03-13 10:05:21      阅读:454      评论:0      收藏:0      [点我收藏+]
SecureCRT ssh 客户端连接失败:
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登录了(为了安全)。

A protocol error occurred. Change of username or service not allowed: (root,ssh-connection) -> (zoujiaqing,ssh-connection)

原文:http://www.cnblogs.com/sagech/p/ssh.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!