Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions backend/test/backend/real_server_tests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ class RealServerTests : public ::testing::Test
.host = host,
.port = port,
.user = user,
.sshOptions =
Persistence::SshOptions{
.connectTimeoutSeconds = connectTimeout.count(),
},
.sshOptions = Persistence::SshOptions{
.connectTimeoutSeconds = connectTimeout.count(),
},
};
}

Expand All @@ -101,7 +100,8 @@ class RealServerTests : public ::testing::Test
},
nullptr,
nullptr,
nullptr
nullptr,
[]() {}
);
}

Expand Down
6 changes: 6 additions & 0 deletions persistence/source/persistence/state_holder_backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,13 @@ namespace Persistence
#endif
.usePasswordAuth = true,
.logVerbosity = SshLogVerbosity::Off,
.keyExchangeAlgorithms =
"curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,"
"ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1",
.strictHostKeyCheck = true,
#ifdef __WIN32
.bypassConfig = true,
#endif
.connectTimeoutSeconds = 5,
.localeEnv = "en_US.UTF-8",
};
Expand Down
6 changes: 5 additions & 1 deletion ssh/test/ssh/common_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ namespace SecureShell::Test
},
nullptr,
nullptr,
nullptr
nullptr,
[]()
{
std::cout << "connection lost." << std::endl;
}
);
}

Expand Down
Loading