diff --git a/src/main/java/com/xebialabs/overthere/ssh/SshSftpWinSshdConnection.java b/src/main/java/com/xebialabs/overthere/ssh/SshSftpWinSshdConnection.java index 0d1d2cae..2df97993 100644 --- a/src/main/java/com/xebialabs/overthere/ssh/SshSftpWinSshdConnection.java +++ b/src/main/java/com/xebialabs/overthere/ssh/SshSftpWinSshdConnection.java @@ -45,6 +45,13 @@ public SshSftpWinSshdConnection(String type, ConnectionOptions options, AddressP checkArgument(os == WINDOWS, "Cannot create a %s connection to a host that is not running Windows", protocolAndConnectionType); } + @Override + protected void connect() { + // In WinSSHd we have to wait for the server ident before sending our ident. + config.setWaitForServerIdentBeforeSendingClientIdent(true); + super.connect(); + } + @Override protected String pathToSftpPath(String path) { String translatedPath;