鏈接失敗,提示這個:
---------------------------
SecureCRT
--------------------------- 連接到會話 192.168.1.100 失敗 : 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登錄了(為了安全)。
?
轉自:https://blog.csdn.net/zxx2403/article/details/46959047
?