forked from qt-creator/qt-creator
SSH: Make it configurable whether to check server data pedantically.
While we want to conform to the specs, there are systems out there today whose SSH servers send non-conforming identifications strings. We now enable API clients to switch the respecive checks off, and we do so ourselves in the RemoteLinux plugin, since the only known problems are with OpenSSH servers. Change-Id: I9e6f9076f2dc7435a0bde7016f99cfb2fcb30a9c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -77,6 +77,7 @@ GenericLinuxDeviceConfigurationWizard::~GenericLinuxDeviceConfigurationWizard()
|
||||
IDevice::Ptr GenericLinuxDeviceConfigurationWizard::device()
|
||||
{
|
||||
QSsh::SshConnectionParameters sshParams;
|
||||
sshParams.options &= ~SshConnectionOptions(SshEnableStrictConformanceChecks); // For older SSH servers.
|
||||
sshParams.host = d->setupPage.hostName();
|
||||
sshParams.userName = d->setupPage.userName();
|
||||
sshParams.port = 22;
|
||||
|
||||
Reference in New Issue
Block a user