webssh2 icon indicating copy to clipboard operation
webssh2 copied to clipboard

How to log in to a device with a non-root user and a non-standard port. 如何登录非root user及非port 22的设备

Open huang5307 opened this issue 7 months ago • 0 comments

我已经成功安装了webssh2,并且也能正常使用,我使用了命令 http://192.168.31.10:2222/ssh/host/192.168.31.1 可以成功的连接到我的路由器,我说明一下,我的路由器IP 是192.168.31.1 ,而安装webssh2的NAS主机IP是192.168.31.10。但我要如何连接到我的NAS主机呢?我尝试用http://192.168.31.10:2222/ssh/host/192.168.31.10:9922 连接,但是不成功,我的NAS的名称不是root,port是9922,我要如何连接到它呢?

I have successfully installed webssh2, and it is working properly. I used the command http://192.168.31.10:2222/ssh/host/192.168.31.1 to successfully connect to my router. Let me explain: my router's IP is 192.168.31.1, and the NAS host where webssh2 is installed has an IP of 192.168.31.10. But how can I connect to my NAS host? I tried using http://192.168.31.10:2222/ssh/host/192.168.31.10:9922 to connect, but it was not successful. My NAS's username is not root, and the port is 9922. How can I connect to it?

huang5307 avatar May 03 '25 01:05 huang5307