[GH-ISSUE #3378] 网页直接打开软件,自动连接登录 #2286

Closed
opened 2026-02-27 00:06:49 +03:00 by kerem · 6 comments
Owner

Originally created by @Ryoui on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/electerm/electerm/issues/3378

What feature you'd like to see or proposal(期望什么新功能/特性或者建议)

QQ截图20240422141622
能支持这种方式打开吗,现在选择软件后能打开,但没自动连接,xshell,putty,SecureCRT等都支持

Originally created by @Ryoui on GitHub (Apr 22, 2024). Original GitHub issue: https://github.com/electerm/electerm/issues/3378 ### What feature you'd like to see or proposal(期望什么新功能/特性或者建议) ![QQ截图20240422141622](https://github.com/electerm/electerm/assets/18000474/e818020d-dba5-4d16-b0c7-766c503cc793) 能支持这种方式打开吗,现在选择软件后能打开,但没自动连接,xshell,putty,SecureCRT等都支持
kerem 2026-02-27 00:06:49 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@zxdong262 commented on GitHub (Apr 22, 2024):

请问是希望打开其他软件的链接还是专属链接比如electerm://xxxxx

<!-- gh-comment-id:2069040661 --> @zxdong262 commented on GitHub (Apr 22, 2024): 请问是希望打开其他软件的链接还是专属链接比如electerm://xxxxx
Author
Owner

@Ryoui commented on GitHub (Apr 23, 2024):

@zxdong262 我不清楚具体实现。场景就是一个网页选择了用哪个客户端(xshell,putty,SecureCRT等),然后就提示上面的截图内容,然后点打开就自动连接服务器(使用网页上提供的ip,端口等参数)。我只是希望electerm提供这种能力,后面才有厂商对接

<!-- gh-comment-id:2071588650 --> @Ryoui commented on GitHub (Apr 23, 2024): @zxdong262 我不清楚具体实现。场景就是一个网页选择了用哪个客户端(xshell,putty,SecureCRT等),然后就提示上面的截图内容,然后点打开就自动连接服务器(使用网页上提供的ip,端口等参数)。我只是希望electerm提供这种能力,后面才有厂商对接
Author
Owner

@Ryoui commented on GitHub (May 7, 2024):

验证了下,好像还是不行,不知道是不是我使用问题:
electerm版本:1.38.86
直接浏览器访问:electerm://host=192.168.2.215&password=xxx&user=root&port=22
上述参数直接用软件能连上。用浏览器访问会提示是否打开electerm软件,点击打开,只会打开软件不会自动连接,如图:
QQ截图20240507101526

<!-- gh-comment-id:2097283825 --> @Ryoui commented on GitHub (May 7, 2024): 验证了下,好像还是不行,不知道是不是我使用问题: electerm版本:1.38.86 直接浏览器访问:electerm://host=192.168.2.215&password=xxx&user=root&port=22 上述参数直接用软件能连上。用浏览器访问会提示是否打开electerm软件,点击打开,只会打开软件不会自动连接,如图: ![QQ截图20240507101526](https://github.com/electerm/electerm/assets/18000474/0f9059b1-b046-42a9-966f-fc491178537c)
Author
Owner

@Ryoui commented on GitHub (May 10, 2024):

1.39.2验证了,也不行。不知道什么情况:
`

<html lang="zh"> <head> </head> </html>`
<!-- gh-comment-id:2103762782 --> @Ryoui commented on GitHub (May 10, 2024): 1.39.2验证了,也不行。不知道什么情况: `<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>验证electerm</title> <script> function openBaidu() { window.open('electerm://host=192.168.2.215&password=密码&user=root&port=22', '_blank'); } </script> </head> <body> <button onclick="openBaidu()">打开electerm</button> </body> </html>`
Author
Owner

@Ryoui commented on GitHub (May 10, 2024):

图片

<!-- gh-comment-id:2103766989 --> @Ryoui commented on GitHub (May 10, 2024): ![图片](https://github.com/electerm/electerm/assets/18000474/ef5d81e7-9208-4462-8cb1-662fee863bc5)
Author
Owner

@zxdong262 commented on GitHub (May 10, 2024):

1.39.2验证了,也不行。不知道什么情况: `

打开electerm `

可以试试地址栏直接访问测试吗?

<!-- gh-comment-id:2104374202 --> @zxdong262 commented on GitHub (May 10, 2024): > 1.39.2验证了,也不行。不知道什么情况: ` > > <title>验证electerm</title> <script> function openBaidu() { window.open('electerm://host=192.168.2.215&password=密码&user=root&port=22', '_blank'); } </script> 打开electerm ` 可以试试地址栏直接访问测试吗?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2286
No description provided.