[GH-ISSUE #2029] [feat] Support command line params #1229

Closed
opened 2026-02-27 00:02:43 +03:00 by kerem · 2 comments
Owner

Originally created by @zxdong262 on GitHub (Jan 12, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2029

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

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

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

Originally posted by @wangsuiche in https://github.com/electerm/electerm/issues/1992#issuecomment-758386635

Originally created by @zxdong262 on GitHub (Jan 12, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2029 不是我需要的。 是在程序没运行时。进入到electerm文件夹,执行windows的命令,命令如下 ``` electerm.exe -ssh -l user pw password -P 2222 192.168.0.1 ``` 程序就会启动,通过读取启动参数,使用密码:password,帐号:user,连接到192.168.0.1:2222这台机子上。 不需要增加机子到书签里。相应的参数也可以另行定义。 _Originally posted by @wangsuiche in https://github.com/electerm/electerm/issues/1992#issuecomment-758386635_
kerem closed this issue 2026-02-27 00:02:43 +03:00
Author
Owner

@wangzw commented on GitHub (Feb 5, 2021):

SecureCRT and putty have their own command line arguments. It would be nice to be compatible with one of them and much easier to integrate electerm with other system.

<!-- gh-comment-id:773917452 --> @wangzw commented on GitHub (Feb 5, 2021): `SecureCRT` and `putty` have their own command line arguments. It would be nice to be compatible with one of them and much easier to integrate electerm with other system.
Author
Owner

@zxdong262 commented on GitHub (Mar 7, 2021):

Done

<!-- gh-comment-id:792376630 --> @zxdong262 commented on GitHub (Mar 7, 2021): Done
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#1229
No description provided.