Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[有空] 添加ssh服务器连接后,使用历史记录中的执行命令无法再次登陆 #4037

Open
ArchieMeng opened this issue Apr 10, 2023 · 0 comments

Comments

@ArchieMeng
Copy link

SUMMARY | 问题概要

No response

SOFTWARE/OS VERSIONS | 软件/系统版本信息

镜像地址:https://cdimage.uniontech.com/community/releases/20.8/
内核版本: Linux test-PC 5.18.17-amd64-desktop-community-hwe #20.01.00.02 SMP PREEMPT_DYNAMIC Thu Nov 10 14:18:31 CST 2022 x86_64 GNU/Linux
终端:5.9.40

PRE-REQUIREMENT | 预置条件

在终端的【远程管理】中添加服务器,填入IP地址,账号,密码

STEPS TO REPRODUCE | 复现步骤

连接对应的ssh服务器后,使用键盘上下键查看历史操作命令及记录,观察此时终端中展示的命令信息,并尝试运行上一条服务器登陆命令.

OBSERVED RESULT | 观察到的结果

登陆脚本目录不存在,进而命令无法重复运行.

EXPECTED RESULT | 期望的结果

终端中展示的命令信息展示正确且可以重复执行.

ADDITIONAL INFORMATION | 额外补充

No response

@ArchieMeng ArchieMeng self-assigned this Apr 11, 2023
ArchieMeng added a commit to ArchieMeng/deepin-terminal that referenced this issue Apr 11, 2023
Remote control uses a temporary script to do the remote login.
However, it will leave a useless last executed command which cannot be
run again.
This commit erase the login script execution history after login.

Fix: linuxdeepin/developer-center#4037
Log: Useless last executed command after ssh login

Signed-off-by: Yutao Meng <mengyutao@uniontech.com>
ArchieMeng added a commit to ArchieMeng/deepin-terminal that referenced this issue Apr 11, 2023
Remote control uses a temporary script to do the remote login. However, it will leave an useless last executed command which cannot be ran again.
This commit erases the login script execution history after login.

Fix: linuxdeepin/developer-center#4037
Log: Useless last executed command after ssh login

Signed-off-by: Yutao Meng <mengyutao@uniontech.com>
ArchieMeng added a commit to ArchieMeng/deepin-terminal that referenced this issue Apr 12, 2023
Remote control uses a temporary script to do the remote login. However, it will leave an useless last executed command which cannot be ran again.
This commit erases the login script execution history after login.

Fix: linuxdeepin/developer-center#4037
Log: Useless last executed command after ssh login

Signed-off-by: Yutao Meng <mengyutao@uniontech.com>
@ArchieMeng ArchieMeng moved this to 初级 in 大佬进化之路 Apr 12, 2023
@ArchieMeng ArchieMeng removed their assignment Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 初级
Development

Successfully merging a pull request may close this issue.

1 participant