summaryrefslogtreecommitdiff
path: root/src/transports/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transports/ssh.c')
-rw-r--r--src/transports/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/ssh.c b/src/transports/ssh.c
index d92cd1fcc..23c643346 100644
--- a/src/transports/ssh.c
+++ b/src/transports/ssh.c
@@ -490,7 +490,7 @@ static int _git_ssh_session_create(
}
do {
- rc = libssh2_session_startup(s, socket->s);
+ rc = libssh2_session_handshake(s, socket->s);
} while (LIBSSH2_ERROR_EAGAIN == rc || LIBSSH2_ERROR_TIMEOUT == rc);
if (rc != LIBSSH2_ERROR_NONE) {