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

fix: Useless last executed command after ssh login #271

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/remotemanage/remotemanagementplugn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void RemoteManagementPlugin::doCennectServer(ServerConfig *curServer)
if (nullptr != curServer) {

QString shellFile = createShellFile(curServer);
QString strTxt = "expect -f " + shellFile + "\n";
QString strTxt = "expect -f " + shellFile + " ; history -d $(history 1) \n";
//--added by qinyaning(nyq) to solve the probelm which Connecting to the remote server
/*does not connect to the remote server directly in the new TAB. time: 2020.4.13 18:15
* */
Expand Down
Loading