【MacOs】 A session ended very soon after starting. Check that the command in profile

Royal TSX 工具

问题起源:装了一台测试服务器,ip地址192.168.1.10,使用工具测试连接正常;然后服务器初始化重装后,连接提示错误信息:

A session ended very soon after starting. Check that the command in profile

 

从命令行上面可以看到提示信息,文件路径:/Users/xxxx/.ssh/known_hosts

查到对应IP的记录,删除,保存文件。

重新连接后正常!

得意时做事,失意时读书
原文地址:https://www.cnblogs.com/lanse1993/p/12808882.html