serverCRT连接云服务器报错

  • 1.The server has disconnected with an error. Server message reads:
    A protocol error occurred. Change of username or service not allowed: (ubuntuXT,ssh-connection) -> (ubuntu,ssh-connection)
    解决方式:

这是因为SecureCRT设置中的用户名和你登录时候输入的用户名不相符,在这里改一
选项 -> 会话选项 -> 连接 -> SSH2 -> 用户名
修改后登录正常,这样可以禁用服务器的ROOT登录了(为了安全)。


image.png
  • 2.SecureCRT A public key file has not been specified by this session...
    解决:


    image.png

你可能感兴趣的:(serverCRT连接云服务器报错)