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


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登录了(为了安全)。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM