kingToolbox / kingToolbox/WindTerm

Use trigger connection and disconnection function issue

Open
#2,916 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

By using the trigger function, a text command is automatically triggered after ssh connection to the server, and the trigger function is indeed implemented. However, as shown in the figure, after ssh connection, when the ls command is executed, the ls command also appears before the hostname. Why is this? Is it incorrect writing or a bug?

使用触发器功能,ssh连接服务器后自动触发发送文本命令,触发功能确实实现了,但是如图所示,ssh连接后执行ls命令,在hostname之前同样有ls命令出现,这是为什么呢,是写法不正确,还是bug呢?

Image

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported SSH trigger behavior with the configured command and the subsequent ls command, comparing the displayed output with hostname. Inspect the trigger function and SSH session command handling; done means determining whether the extra ls is expected or correcting it if it is a bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.