当前位置:主页 > >

SecureCRT ssh 客户端连接失败报错Change of username or service not allowed

时间:2020-06-12 22:50:37 | 栏目: | 点击:

SecureCRT连接服务器报错Change of username or service not allowed,其实这是因为SecureCRT设置中的用户名和你登录时候输入的用户名不相符,为了安全上考虑的。

服务器端配置的用户是ubuntu,连接的时候也是输入的ubuntu,但是错误信息如下:

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)

打开改回话的属性,选择ssh下的username,把它更改为登录时候的用户即可。

这里改成和服务器端一致的ubuntu,再次登录,就没有错误提示了。

您可能感兴趣的文章:

相关文章