diff --git a/meta-oe/recipes-support/libssh/libssh_0.12.2.bb b/meta-oe/recipes-support/libssh/libssh_0.12.2.bb
index 0aaeaf2a0a..7126559901 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.12.2.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.12.2.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
 
 DEPENDS = "zlib openssl"
 
-SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.11;tag=${BPN}-${PV} \
+SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.12;tag=${BPN}-${PV} \
            file://0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch \
            file://run-ptest \
           "
