Shellhub 使用 SSHID 连接到设备

问题描述

我已经安装了 shellhub 并将 shellhub 的 ssh 端口配置为 2222,因为我在端口 22 上运行了 ssh-server 我尝试使用以下命令使用其 SSHID 连接到我的其中一台设备:

ssh mgpu@mgpu.e8-39-35-30-bc-a9@myshellhub.com  

但是得到:Permission denied,please try again.

感谢您的帮助。

解决方法

阅读shellhub.io documentation后,我应该使用安装shellhub服务器时配置的ssh端口,而不是目标计算机的ssh端口。 正确使用的命令是

ssh mgpu@mgpu.e8-39-35-30-bc-a9@myshellhub.com -p 2222