[GH-ISSUE #1992] 增加命令行参数选项 #1209

Closed
opened 2026-02-27 00:02:38 +03:00 by kerem · 3 comments
Owner

Originally created by @wangsuiche on GitHub (Dec 29, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1992

增加命令行参数选项,实现自动登录。比如putty的命令行参数

Originally created by @wangsuiche on GitHub (Dec 29, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1992 增加命令行参数选项,实现自动登录。比如putty的命令行参数
kerem closed this issue 2026-02-27 00:02:38 +03:00
Author
Owner

@zxdong262 commented on GitHub (Dec 30, 2020):

书签表单里登录后运行脚本,你看这个是不是你需要的?

<!-- gh-comment-id:752333273 --> @zxdong262 commented on GitHub (Dec 30, 2020): 书签表单里登录后运行脚本,你看这个是不是你需要的?
Author
Owner

@wangsuiche commented on GitHub (Jan 12, 2021):

不是我需要的。
是在程序没运行时。进入到electerm文件夹,执行windows的命令,命令如下

electerm.exe  -ssh -l  user  pw  password  -P  2222  192.168.0.1

程序就会启动,通过读取启动参数,使用密码:password,帐号:user,连接到192.168.0.1:2222这台机子上。
不需要增加机子到书签里。相应的参数也可以另行定义。

<!-- gh-comment-id:758386635 --> @wangsuiche commented on GitHub (Jan 12, 2021): 不是我需要的。 是在程序没运行时。进入到electerm文件夹,执行windows的命令,命令如下 ``` electerm.exe -ssh -l user pw password -P 2222 192.168.0.1 ``` 程序就会启动,通过读取启动参数,使用密码:password,帐号:user,连接到192.168.0.1:2222这台机子上。 不需要增加机子到书签里。相应的参数也可以另行定义。
Author
Owner

@zxdong262 commented on GitHub (Jan 12, 2021):

--> #2029

<!-- gh-comment-id:758403291 --> @zxdong262 commented on GitHub (Jan 12, 2021): --> #2029
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#1209
No description provided.