mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
SSH: Fix SSH terminal not connecting
This commit is contained in:
parent
4049e12bff
commit
3d4a9569d9
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ public class SshWizardConfigurationPanel extends AbstractExtendedConfigurationPa
|
||||||
if (data == null) return;
|
if (data == null) return;
|
||||||
|
|
||||||
// set the terminal connector id for ssh
|
// set the terminal connector id for ssh
|
||||||
data.put(ITerminalsConnectorConstants.PROP_TERMINAL_CONNECTOR_ID, "org.eclipse.tm.terminal.connector.ssh.connector.SshConnector"); //$NON-NLS-1$
|
data.put(ITerminalsConnectorConstants.PROP_TERMINAL_CONNECTOR_ID, "org.eclipse.tm.terminal.connector.ssh.SshConnector"); //$NON-NLS-1$
|
||||||
|
|
||||||
sshSettingsPage.saveSettings();
|
sshSettingsPage.saveSettings();
|
||||||
data.put(ITerminalsConnectorConstants.PROP_IP_HOST,sshSettings.getHost());
|
data.put(ITerminalsConnectorConstants.PROP_IP_HOST,sshSettings.getHost());
|
||||||
|
|
|
@ -121,7 +121,7 @@ public class SshLauncherDelegate extends AbstractLauncherDelegate {
|
||||||
|
|
||||||
// Check for the terminal connector id
|
// Check for the terminal connector id
|
||||||
String connectorId = (String)properties.get(ITerminalsConnectorConstants.PROP_TERMINAL_CONNECTOR_ID);
|
String connectorId = (String)properties.get(ITerminalsConnectorConstants.PROP_TERMINAL_CONNECTOR_ID);
|
||||||
if (connectorId == null) connectorId = "org.eclipse.tm.terminal.connector.ssh.connector.SshConnector"; //$NON-NLS-1$
|
if (connectorId == null) connectorId = "org.eclipse.tm.terminal.connector.ssh.SshConnector"; //$NON-NLS-1$
|
||||||
|
|
||||||
// Extract the ssh properties
|
// Extract the ssh properties
|
||||||
String host = (String)properties.get(ITerminalsConnectorConstants.PROP_IP_HOST);
|
String host = (String)properties.get(ITerminalsConnectorConstants.PROP_IP_HOST);
|
||||||
|
|
Loading…
Add table
Reference in a new issue