mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
refactor AppImage deployment and enhance device pairing logic
- Updated AppImage zip path in build workflow. - Updated submodule references for ipatool-go and zupdater. - Fix deploy-appimage.sh by manully deploying geoservices plugin - Added retry logic for app downloads in AppDownloadBaseDialog. - Fixed cancel download functionality in AppStoreManager. - Added default jailbroken root password settings in SettingsManager and UI. - Updated device sidebar item selection handling. - General code cleanup and UI improvements across various components.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "sshterminalwidget.h"
|
||||
#include "qprocessindicator.h"
|
||||
#include "settingsmanager.h"
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
@@ -384,8 +385,11 @@ void SSHTerminalWidget::startSSH(const QString &host, uint16_t port)
|
||||
|
||||
qDebug() << "SSH connected successfully, attempting authentication...";
|
||||
|
||||
// Authenticate with password
|
||||
rc = ssh_userauth_password(m_sshSession, nullptr, "alpine");
|
||||
QString defaultPassword =
|
||||
SettingsManager::sharedInstance()->defaultJailbrokenRootPassword();
|
||||
QByteArray passwordBytes = defaultPassword.toUtf8();
|
||||
rc =
|
||||
ssh_userauth_password(m_sshSession, nullptr, passwordBytes.constData());
|
||||
if (rc != SSH_AUTH_SUCCESS) {
|
||||
showError(QString("SSH authentication failed: %1")
|
||||
.arg(ssh_get_error(m_sshSession)));
|
||||
|
||||
Reference in New Issue
Block a user