其他分享
首页 > 其他分享> > 问题解决-SecureCRT无法用非root账号登录ssh

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

作者:互联网

问题描述

当我们使用非ROOT账户连接会话时出现下面提示的问题

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 -> 用户名
在这里插入图片描述

标签:用户名,用非,connection,ssh,error,SecureCRT,root
来源: https://blog.csdn.net/liuxiangyang_/article/details/100068080