Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libssh.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-171401-11782/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False error: %changelog not in descending chronological order Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1665014400 Wrote: /builddir/build/SRPMS/libssh-0.10.4-2.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libssh.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-171401-11782/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False error: %changelog not in descending chronological order Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1665014400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mDxoBC + umask 022 + cd /builddir/build/BUILD + gpgv2 --quiet --keyring /builddir/build/SOURCES/libssh.keyring /builddir/build/SOURCES/libssh-0.10.4.tar.xz.asc /builddir/build/SOURCES/libssh-0.10.4.tar.xz gpgv: Signature made Wed Sep 7 09:31:13 2022 EDT gpgv: using RSA key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D gpgv: Good signature from "Andreas Schneider " gpgv: aka "Andreas Schneider " gpgv: aka "Andreas Schneider " + cd /builddir/build/BUILD + rm -rf libssh-0.10.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libssh-0.10.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libssh-0.10.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pkcs11_test_fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3kGzbB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libssh-0.10.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DUNIT_TESTING=ON -DCLIENT_TESTING=ON -DSERVER_TESTING=ON -DWITH_PKCS11_URI=ON -DGLOBAL_CLIENT_CONFIG=/etc/libssh/libssh_client.config -DGLOBAL_BIND_CONFIG=/etc/libssh/libssh_server.config -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG -- Performing Test WITH_WMISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test WITH_WSIGN_COMPARE_FLAG -- Performing Test WITH_WSIGN_COMPARE_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Success -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG -- Performing Test WITH_WNO_DEPRECATED_DECLARATIONS_FLAG - Success -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.12") -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.0.5", minimum required is "1.0.1") -- Found CMocka: /usr/lib64/libcmocka.so -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found GSSAPI: /usr/lib64/libgssapi_krb5.so;/usr/lib64/libkrb5.so;/usr/lib64/libk5crypto.so;/usr/lib64/libcom_err.so -- Found softhsm: /usr/lib64/libsofthsm2.so -- Could NOT find NaCl (missing: NACL_LIBRARIES NACL_INCLUDE_DIRS) -- Found PythonInterp: /usr/bin/python3.11 (found version "3.11") -- Could not find `abimap` in PATH. It can be found in PyPI as `abimap` (try `pip install abimap`) -- Could NOT find ABIMap (missing: ABIMAP_EXECUTABLE) (Required is at least version "0.3.1") -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for argp.h -- Looking for argp.h - found -- Looking for pty.h -- Looking for pty.h - found -- Looking for utmp.h -- Looking for utmp.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for util.h -- Looking for util.h - not found -- Looking for libutil.h -- Looking for libutil.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/utime.h -- Looking for sys/utime.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for byteswap.h -- Looking for byteswap.h - found -- Looking for glob.h -- Looking for glob.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for openssl/des.h -- Looking for openssl/des.h - found -- Looking for openssl/aes.h -- Looking for openssl/aes.h - found -- Looking for openssl/ecdh.h -- Looking for openssl/ecdh.h - found -- Looking for openssl/ec.h -- Looking for openssl/ec.h - found -- Looking for openssl/ecdsa.h -- Looking for openssl/ecdsa.h - found -- Looking for EVP_KDF_CTX_new_id -- Looking for EVP_KDF_CTX_new_id - not found -- Looking for EVP_KDF_CTX_new -- Looking for EVP_KDF_CTX_new - found -- Looking for FIPS_mode -- Looking for FIPS_mode - not found -- Looking for RAND_priv_bytes -- Looking for RAND_priv_bytes - found -- Looking for EVP_DigestSign -- Looking for EVP_DigestSign - found -- Looking for EVP_DigestVerify -- Looking for EVP_DigestVerify - found -- Looking for OPENSSL_ia32cap_loc -- Looking for OPENSSL_ia32cap_loc - not found -- Looking for EVP_PKEY_ED25519 -- Looking for EVP_PKEY_ED25519 - found -- Looking for EVP_chacha20 -- Looking for EVP_chacha20 - found -- Looking for EVP_PKEY_POLY1305 -- Looking for EVP_PKEY_POLY1305 - found -- Looking for EVP_PKEY_X25519 -- Looking for EVP_PKEY_X25519 - found -- Looking for isblank -- Looking for isblank - found -- Looking for strncpy -- Looking for strncpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for explicit_bzero -- Looking for explicit_bzero - found -- Looking for memset_s -- Looking for memset_s - not found -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER - Success -- Looking for glob -- Looking for glob - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for poll -- Looking for poll - found -- Looking for select -- Looking for select - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for ntohll -- Looking for ntohll - not found -- Looking for htonll -- Looking for htonll - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for forkpty in util -- Looking for forkpty in util - found -- Looking for cfmakeraw -- Looking for cfmakeraw - found -- Looking for __strtoull -- Looking for __strtoull - not found -- Looking for cmocka_set_test_filter -- Looking for cmocka_set_test_filter - found -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE - Failed -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE - Success -- Performing Test HAVE_WEAK_ATTRIBUTE -- Performing Test HAVE_WEAK_ATTRIBUTE - Success -- Performing Test HAVE_UNUSED_ATTRIBUTE -- Performing Test HAVE_UNUSED_ATTRIBUTE - Success -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION - Success -- Performing Test HAVE_COMPILER__FUNC__ -- Performing Test HAVE_COMPILER__FUNC__ - Success -- Performing Test HAVE_COMPILER__FUNCTION__ -- Performing Test HAVE_COMPILER__FUNCTION__ - Success -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Threads_FOUND=TRUE -- The CXX compiler identification is GNU 12.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found softhsm: /usr/lib64/libsofthsm2.so;/usr/lib64/libsofthsm2.so -- TORTURE_ENVIRONMENT=LD_PRELOAD=/usr/lib64/libsocket_wrapper.so:/usr/lib64/libnss_wrapper.so:/usr/lib64/libuid_wrapper.so:/usr/lib64/libpam_wrapper.so:/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib/libchroot_wrapper.so;UID_WRAPPER=1;UID_WRAPPER_ROOT=1;NSS_WRAPPER_PASSWD=/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/etc/passwd;NSS_WRAPPER_SHADOW=/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/etc/shadow;NSS_WRAPPER_GROUP=/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/etc/group;PAM_WRAPPER_SERVICE_DIR=/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/etc/pam.d;LSAN_OPTIONS=suppressions=/builddir/build/BUILD/libssh-0.10.4/tests/suppressions/lsan.supp;OPENSSL_ENABLE_SHA1_SIGNATURES=1 -- PKD_ENVIRONMENT=LD_PRELOAD=/usr/lib64/libsocket_wrapper.so;OPENSSL_ENABLE_SHA1_SIGNATURES=1 -- ******************************************** -- ********** libssh build options : ********** -- zlib support: ON -- libgcrypt support: OFF -- libmbedTLS support: OFF -- libnacl support: OFF -- SFTP support: ON -- Server support : ON -- GSSAPI support : ON -- GEX support : ON -- Support insecure none cipher and MAC : OFF -- Pcap debugging support : ON -- Build shared library: ON -- Unit testing: ON -- Client code testing: ON -- Blowfish cipher support: OFF -- PKCS #11 URI support: ON -- DSA support: OFF -- Server code testing: ON -- Public API documentation generation -- Benchmarks: OFF -- Symbol versioning: ON -- Allow ABI break: OFF -- Release is final: -- Global client config: /etc/libssh/libssh_client.config -- Global bind config: /etc/libssh/libssh_server.config -- ******************************************** -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libssh-0.10.4 -B/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/ssh.dir/build.make src/CMakeFiles/ssh.dir/depend /usr/bin/gmake -f src/CMakeFiles/ssh-static.dir/build.make src/CMakeFiles/ssh-static.dir/depend /usr/bin/gmake -f tests/CMakeFiles/chroot_wrapper.dir/build.make tests/CMakeFiles/chroot_wrapper.dir/depend /usr/bin/gmake -f tests/external_override/CMakeFiles/chacha20_override.dir/build.make tests/external_override/CMakeFiles/chacha20_override.dir/depend /usr/bin/gmake -f tests/external_override/CMakeFiles/poly1305_override.dir/build.make tests/external_override/CMakeFiles/poly1305_override.dir/depend /usr/bin/gmake -f tests/external_override/CMakeFiles/ed25519_override.dir/build.make tests/external_override/CMakeFiles/ed25519_override.dir/depend /usr/bin/gmake -f tests/external_override/CMakeFiles/curve25519_override.dir/build.make tests/external_override/CMakeFiles/curve25519_override.dir/depend /usr/bin/gmake -f tests/server/test_server/CMakeFiles/testserver.dir/build.make tests/server/test_server/CMakeFiles/testserver.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/src /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src/CMakeFiles/ssh.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/CMakeFiles/chroot_wrapper.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/src /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src/CMakeFiles/ssh-static.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override/CMakeFiles/chacha20_override.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override/CMakeFiles/poly1305_override.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override/CMakeFiles/ed25519_override.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/server/test_server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server/CMakeFiles/testserver.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override/CMakeFiles/curve25519_override.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/ssh.dir/build.make src/CMakeFiles/ssh.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/chacha20_override.dir/build.make tests/external_override/CMakeFiles/chacha20_override.dir/build /usr/bin/gmake -f src/CMakeFiles/ssh-static.dir/build.make src/CMakeFiles/ssh-static.dir/build /usr/bin/gmake -f tests/CMakeFiles/chroot_wrapper.dir/build.make tests/CMakeFiles/chroot_wrapper.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/poly1305_override.dir/build.make tests/external_override/CMakeFiles/poly1305_override.dir/build /usr/bin/gmake -f tests/external_override/CMakeFiles/ed25519_override.dir/build.make tests/external_override/CMakeFiles/ed25519_override.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/server/test_server/CMakeFiles/testserver.dir/build.make tests/server/test_server/CMakeFiles/testserver.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/curve25519_override.dir/build.make tests/external_override/CMakeFiles/curve25519_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 0%] Building C object src/CMakeFiles/ssh.dir/agent.c.o [ 0%] Building C object tests/external_override/CMakeFiles/chacha20_override.dir/chacha20_override.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dchacha20_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/chacha20_override.dir/chacha20_override.c.o -MF CMakeFiles/chacha20_override.dir/chacha20_override.c.o.d -o CMakeFiles/chacha20_override.dir/chacha20_override.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/external_override/chacha20_override.c cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/agent.c.o -MF CMakeFiles/ssh.dir/agent.c.o.d -o CMakeFiles/ssh.dir/agent.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/agent.c [ 1%] Building C object tests/CMakeFiles/chroot_wrapper.dir/chroot_wrapper.c.o [ 1%] Building C object tests/external_override/CMakeFiles/poly1305_override.dir/poly1305_override.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dchroot_wrapper_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/CMakeFiles/chroot_wrapper.dir/chroot_wrapper.c.o -MF CMakeFiles/chroot_wrapper.dir/chroot_wrapper.c.o.d -o CMakeFiles/chroot_wrapper.dir/chroot_wrapper.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/chroot_wrapper.c cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dpoly1305_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/poly1305_override.dir/poly1305_override.c.o -MF CMakeFiles/poly1305_override.dir/poly1305_override.c.o.d -o CMakeFiles/poly1305_override.dir/poly1305_override.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/external_override/poly1305_override.c [ 1%] Building C object tests/server/test_server/CMakeFiles/testserver.dir/test_server.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/server/test_server/CMakeFiles/testserver.dir/test_server.c.o -MF CMakeFiles/testserver.dir/test_server.c.o.d -o CMakeFiles/testserver.dir/test_server.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/test_server/test_server.c [ 1%] Building C object src/CMakeFiles/ssh-static.dir/agent.c.o [ 2%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/ed25519_override.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/agent.c.o -MF CMakeFiles/ssh-static.dir/agent.c.o.d -o CMakeFiles/ssh-static.dir/agent.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/agent.c [ 2%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/curve25519_override.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/ed25519_override.c.o -MF CMakeFiles/ed25519_override.dir/ed25519_override.c.o.d -o CMakeFiles/ed25519_override.dir/ed25519_override.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/external_override/ed25519_override.c cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/curve25519_override.c.o -MF CMakeFiles/curve25519_override.dir/curve25519_override.c.o.d -o CMakeFiles/curve25519_override.dir/curve25519_override.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/external_override/curve25519_override.c [ 2%] Linking C shared library ../lib/libchroot_wrapper.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/chroot_wrapper.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libchroot_wrapper.so -o ../lib/libchroot_wrapper.so CMakeFiles/chroot_wrapper.dir/chroot_wrapper.c.o [ 2%] Building C object tests/external_override/CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dpoly1305_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o -MF CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o.d -o CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/poly1305.c [ 2%] Building C object tests/external_override/CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dchacha20_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o -MF CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o.d -o CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/chacha.c [ 2%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/fe25519.c [ 2%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/curve25519_ref.c [ 3%] Building C object tests/server/test_server/CMakeFiles/testserver.dir/default_cb.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/server/test_server/CMakeFiles/testserver.dir/default_cb.c.o -MF CMakeFiles/testserver.dir/default_cb.c.o.d -o CMakeFiles/testserver.dir/default_cb.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/test_server/default_cb.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 3%] Built target chroot_wrapper [ 4%] Building C object src/CMakeFiles/ssh-static.dir/auth.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/auth.c.o -MF CMakeFiles/ssh-static.dir/auth.c.o.d -o CMakeFiles/ssh-static.dir/auth.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/auth.c [ 5%] Linking C shared library ../../lib/libpoly1305_override.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/poly1305_override.dir/link.txt --verbose=1 [ 5%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/ge25519.c [ 5%] Building C object src/CMakeFiles/ssh.dir/auth.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/auth.c.o -MF CMakeFiles/ssh.dir/auth.c.o.d -o CMakeFiles/ssh.dir/auth.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/auth.c /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libpoly1305_override.so -o ../../lib/libpoly1305_override.so CMakeFiles/poly1305_override.dir/poly1305_override.c.o CMakeFiles/poly1305_override.dir/__/__/src/external/poly1305.c.o [ 5%] Building C object src/CMakeFiles/ssh-static.dir/base64.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/base64.c.o -MF CMakeFiles/ssh-static.dir/base64.c.o.d -o CMakeFiles/ssh-static.dir/base64.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/base64.c [ 6%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/fe25519.c [ 6%] Linking C shared library ../../lib/libchacha20_override.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/chacha20_override.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libchacha20_override.so -o ../../lib/libchacha20_override.so CMakeFiles/chacha20_override.dir/chacha20_override.c.o CMakeFiles/chacha20_override.dir/__/__/src/external/chacha.c.o [ 6%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/ge25519.c [ 6%] Linking C static library libtestserver.a cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server && /usr/bin/cmake -P CMakeFiles/testserver.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/testserver.dir/link.txt --verbose=1 /usr/bin/ar qc libtestserver.a CMakeFiles/testserver.dir/test_server.c.o CMakeFiles/testserver.dir/default_cb.c.o /usr/bin/ranlib libtestserver.a [ 7%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/sc25519.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 7%] Built target testserver gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 7%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/ed25519.c [ 7%] Built target poly1305_override [ 7%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/getrandom_crypto.c [ 7%] Building C object src/CMakeFiles/ssh-static.dir/bignum.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/bignum.c.o -MF CMakeFiles/ssh-static.dir/bignum.c.o.d -o CMakeFiles/ssh-static.dir/bignum.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/bignum.c [ 7%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/sc25519.c [ 7%] Building C object tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Ded25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o -MF CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o.d -o CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/md_crypto.c [ 8%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/ed25519.c [ 8%] Building C object src/CMakeFiles/ssh.dir/base64.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/base64.c.o -MF CMakeFiles/ssh.dir/base64.c.o.d -o CMakeFiles/ssh.dir/base64.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/base64.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 8%] Built target chacha20_override [ 8%] Building C object src/CMakeFiles/ssh-static.dir/buffer.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/buffer.c.o -MF CMakeFiles/ssh-static.dir/buffer.c.o.d -o CMakeFiles/ssh-static.dir/buffer.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/buffer.c [ 9%] Building C object src/CMakeFiles/ssh-static.dir/callbacks.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/callbacks.c.o -MF CMakeFiles/ssh-static.dir/callbacks.c.o.d -o CMakeFiles/ssh-static.dir/callbacks.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/callbacks.c [ 9%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/getrandom_crypto.c [ 9%] Building C object tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dcurve25519_override_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT tests/external_override/CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o -MF CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o.d -o CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/md_crypto.c [ 10%] Building C object src/CMakeFiles/ssh.dir/bignum.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/bignum.c.o -MF CMakeFiles/ssh.dir/bignum.c.o.d -o CMakeFiles/ssh.dir/bignum.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/bignum.c [ 10%] Building C object src/CMakeFiles/ssh-static.dir/channels.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/channels.c.o -MF CMakeFiles/ssh-static.dir/channels.c.o.d -o CMakeFiles/ssh-static.dir/channels.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/channels.c [ 10%] Building C object src/CMakeFiles/ssh-static.dir/client.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/client.c.o -MF CMakeFiles/ssh-static.dir/client.c.o.d -o CMakeFiles/ssh-static.dir/client.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/client.c [ 11%] Linking C shared library ../../lib/libed25519_override.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/ed25519_override.dir/link.txt --verbose=1 [ 12%] Building C object src/CMakeFiles/ssh-static.dir/config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/config.c.o -MF CMakeFiles/ssh-static.dir/config.c.o.d -o CMakeFiles/ssh-static.dir/config.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/config.c /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libed25519_override.so -o ../../lib/libed25519_override.so CMakeFiles/ed25519_override.dir/ed25519_override.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/fe25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/ge25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/sc25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/external/ed25519.c.o CMakeFiles/ed25519_override.dir/__/__/src/getrandom_crypto.c.o CMakeFiles/ed25519_override.dir/__/__/src/md_crypto.c.o /usr/lib64/libcrypto.so [ 12%] Building C object src/CMakeFiles/ssh-static.dir/connect.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/connect.c.o -MF CMakeFiles/ssh-static.dir/connect.c.o.d -o CMakeFiles/ssh-static.dir/connect.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/connect.c [ 12%] Linking C shared library ../../lib/libcurve25519_override.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/curve25519_override.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libcurve25519_override.so -o ../../lib/libcurve25519_override.so CMakeFiles/curve25519_override.dir/curve25519_override.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/curve25519_ref.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/fe25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/ge25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/sc25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/external/ed25519.c.o CMakeFiles/curve25519_override.dir/__/__/src/getrandom_crypto.c.o CMakeFiles/curve25519_override.dir/__/__/src/md_crypto.c.o /usr/lib64/libcrypto.so [ 12%] Building C object src/CMakeFiles/ssh.dir/buffer.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/buffer.c.o -MF CMakeFiles/ssh.dir/buffer.c.o.d -o CMakeFiles/ssh.dir/buffer.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/buffer.c [ 12%] Building C object src/CMakeFiles/ssh.dir/callbacks.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/callbacks.c.o -MF CMakeFiles/ssh.dir/callbacks.c.o.d -o CMakeFiles/ssh.dir/callbacks.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/callbacks.c [ 12%] Building C object src/CMakeFiles/ssh.dir/channels.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/channels.c.o -MF CMakeFiles/ssh.dir/channels.c.o.d -o CMakeFiles/ssh.dir/channels.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/channels.c [ 12%] Building C object src/CMakeFiles/ssh-static.dir/connector.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/connector.c.o -MF CMakeFiles/ssh-static.dir/connector.c.o.d -o CMakeFiles/ssh-static.dir/connector.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/connector.c [ 12%] Building C object src/CMakeFiles/ssh-static.dir/crypto_common.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/crypto_common.c.o -MF CMakeFiles/ssh-static.dir/crypto_common.c.o.d -o CMakeFiles/ssh-static.dir/crypto_common.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/crypto_common.c [ 13%] Building C object src/CMakeFiles/ssh-static.dir/curve25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/curve25519.c.o -MF CMakeFiles/ssh-static.dir/curve25519.c.o.d -o CMakeFiles/ssh-static.dir/curve25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/curve25519.c [ 14%] Building C object src/CMakeFiles/ssh.dir/client.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/client.c.o -MF CMakeFiles/ssh.dir/client.c.o.d -o CMakeFiles/ssh.dir/client.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/client.c [ 14%] Building C object src/CMakeFiles/ssh.dir/config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/config.c.o -MF CMakeFiles/ssh.dir/config.c.o.d -o CMakeFiles/ssh.dir/config.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/config.c [ 14%] Building C object src/CMakeFiles/ssh-static.dir/dh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/dh.c.o -MF CMakeFiles/ssh-static.dir/dh.c.o.d -o CMakeFiles/ssh-static.dir/dh.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/dh.c [ 14%] Building C object src/CMakeFiles/ssh-static.dir/ecdh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/ecdh.c.o -MF CMakeFiles/ssh-static.dir/ecdh.c.o.d -o CMakeFiles/ssh-static.dir/ecdh.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/ecdh.c [ 15%] Building C object src/CMakeFiles/ssh-static.dir/error.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/error.c.o -MF CMakeFiles/ssh-static.dir/error.c.o.d -o CMakeFiles/ssh-static.dir/error.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/error.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 15%] Built target ed25519_override [ 15%] Building C object src/CMakeFiles/ssh-static.dir/getpass.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/getpass.c.o -MF CMakeFiles/ssh-static.dir/getpass.c.o.d -o CMakeFiles/ssh-static.dir/getpass.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/getpass.c [ 15%] Building C object src/CMakeFiles/ssh-static.dir/init.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/init.c.o -MF CMakeFiles/ssh-static.dir/init.c.o.d -o CMakeFiles/ssh-static.dir/init.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/init.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 15%] Built target curve25519_override [ 15%] Building C object src/CMakeFiles/ssh-static.dir/kdf.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/kdf.c.o -MF CMakeFiles/ssh-static.dir/kdf.c.o.d -o CMakeFiles/ssh-static.dir/kdf.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/kdf.c [ 16%] Building C object src/CMakeFiles/ssh-static.dir/kex.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/kex.c.o -MF CMakeFiles/ssh-static.dir/kex.c.o.d -o CMakeFiles/ssh-static.dir/kex.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/kex.c [ 16%] Building C object src/CMakeFiles/ssh-static.dir/known_hosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wno-deprecated-declarations -MD -MT src/CMakeFiles/ssh-static.dir/known_hosts.c.o -MF CMakeFiles/ssh-static.dir/known_hosts.c.o.d -o CMakeFiles/ssh-static.dir/known_hosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/known_hosts.c [ 16%] Building C object src/CMakeFiles/ssh-static.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/knownhosts.c.o -MF CMakeFiles/ssh-static.dir/knownhosts.c.o.d -o CMakeFiles/ssh-static.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/knownhosts.c [ 16%] Building C object src/CMakeFiles/ssh-static.dir/legacy.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/legacy.c.o -MF CMakeFiles/ssh-static.dir/legacy.c.o.d -o CMakeFiles/ssh-static.dir/legacy.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/legacy.c [ 17%] Building C object src/CMakeFiles/ssh-static.dir/log.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/log.c.o -MF CMakeFiles/ssh-static.dir/log.c.o.d -o CMakeFiles/ssh-static.dir/log.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/log.c [ 17%] Building C object src/CMakeFiles/ssh.dir/connect.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/connect.c.o -MF CMakeFiles/ssh.dir/connect.c.o.d -o CMakeFiles/ssh.dir/connect.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/connect.c [ 18%] Building C object src/CMakeFiles/ssh.dir/connector.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/connector.c.o -MF CMakeFiles/ssh.dir/connector.c.o.d -o CMakeFiles/ssh.dir/connector.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/connector.c [ 18%] Building C object src/CMakeFiles/ssh-static.dir/match.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/match.c.o -MF CMakeFiles/ssh-static.dir/match.c.o.d -o CMakeFiles/ssh-static.dir/match.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/match.c /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_userauth_privatekey_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:128:3: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 128 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:847, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:32: /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:97:38: note: declared here 97 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:132:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 132 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:135:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 135 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:142:3: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 142 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:91:32: note: declared here 91 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'channel_select': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:294:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations] 294 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:559:31: note: declared here 559 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_try_publickey_from_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:741:5: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 741 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:511:12: note: declared here 511 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ [ 18%] Building C object src/CMakeFiles/ssh-static.dir/messages.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/messages.c.o -MF CMakeFiles/ssh-static.dir/messages.c.o.d -o CMakeFiles/ssh-static.dir/messages.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/messages.c [ 18%] Building C object src/CMakeFiles/ssh.dir/crypto_common.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/crypto_common.c.o -MF CMakeFiles/ssh.dir/crypto_common.c.o.d -o CMakeFiles/ssh.dir/crypto_common.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/crypto_common.c [ 18%] Building C object src/CMakeFiles/ssh.dir/curve25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/curve25519.c.o -MF CMakeFiles/ssh.dir/curve25519.c.o.d -o CMakeFiles/ssh.dir/curve25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/curve25519.c [ 19%] Building C object src/CMakeFiles/ssh-static.dir/misc.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/misc.c.o -MF CMakeFiles/ssh-static.dir/misc.c.o.d -o CMakeFiles/ssh-static.dir/misc.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/misc.c [ 19%] Building C object src/CMakeFiles/ssh.dir/dh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/dh.c.o -MF CMakeFiles/ssh.dir/dh.c.o.d -o CMakeFiles/ssh.dir/dh.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/dh.c [ 20%] Building C object src/CMakeFiles/ssh.dir/ecdh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/ecdh.c.o -MF CMakeFiles/ssh.dir/ecdh.c.o.d -o CMakeFiles/ssh.dir/ecdh.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/ecdh.c [ 20%] Building C object src/CMakeFiles/ssh.dir/error.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/error.c.o -MF CMakeFiles/ssh.dir/error.c.o.d -o CMakeFiles/ssh.dir/error.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/error.c [ 20%] Building C object src/CMakeFiles/ssh-static.dir/options.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/options.c.o -MF CMakeFiles/ssh-static.dir/options.c.o.d -o CMakeFiles/ssh-static.dir/options.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/options.c [ 20%] Building C object src/CMakeFiles/ssh.dir/getpass.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/getpass.c.o -MF CMakeFiles/ssh.dir/getpass.c.o.d -o CMakeFiles/ssh.dir/getpass.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/getpass.c [ 20%] Building C object src/CMakeFiles/ssh-static.dir/packet.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/packet.c.o -MF CMakeFiles/ssh-static.dir/packet.c.o.d -o CMakeFiles/ssh-static.dir/packet.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/packet.c [ 21%] Building C object src/CMakeFiles/ssh.dir/init.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/init.c.o -MF CMakeFiles/ssh.dir/init.c.o.d -o CMakeFiles/ssh.dir/init.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/init.c [ 21%] Building C object src/CMakeFiles/ssh-static.dir/packet_cb.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/packet_cb.c.o -MF CMakeFiles/ssh-static.dir/packet_cb.c.o.d -o CMakeFiles/ssh-static.dir/packet_cb.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/packet_cb.c [ 22%] Building C object src/CMakeFiles/ssh-static.dir/packet_crypt.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/packet_crypt.c.o -MF CMakeFiles/ssh-static.dir/packet_crypt.c.o.d -o CMakeFiles/ssh-static.dir/packet_crypt.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/packet_crypt.c [ 22%] Building C object src/CMakeFiles/ssh.dir/kdf.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/kdf.c.o -MF CMakeFiles/ssh.dir/kdf.c.o.d -o CMakeFiles/ssh.dir/kdf.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/kdf.c [ 22%] Building C object src/CMakeFiles/ssh-static.dir/pcap.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/pcap.c.o -MF CMakeFiles/ssh-static.dir/pcap.c.o.d -o CMakeFiles/ssh-static.dir/pcap.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pcap.c [ 22%] Building C object src/CMakeFiles/ssh-static.dir/pki.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/pki.c.o -MF CMakeFiles/ssh-static.dir/pki.c.o.d -o CMakeFiles/ssh-static.dir/pki.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki.c [ 23%] Building C object src/CMakeFiles/ssh-static.dir/pki_container_openssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/pki_container_openssh.c.o -MF CMakeFiles/ssh-static.dir/pki_container_openssh.c.o.d -o CMakeFiles/ssh-static.dir/pki_container_openssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki_container_openssh.c [ 23%] Building C object src/CMakeFiles/ssh-static.dir/poll.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/poll.c.o -MF CMakeFiles/ssh-static.dir/poll.c.o.d -o CMakeFiles/ssh-static.dir/poll.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/poll.c [ 23%] Building C object src/CMakeFiles/ssh-static.dir/session.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/session.c.o -MF CMakeFiles/ssh-static.dir/session.c.o.d -o CMakeFiles/ssh-static.dir/session.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/session.c [ 23%] Building C object src/CMakeFiles/ssh.dir/kex.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/kex.c.o -MF CMakeFiles/ssh.dir/kex.c.o.d -o CMakeFiles/ssh.dir/kex.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/kex.c [ 23%] Building C object src/CMakeFiles/ssh-static.dir/scp.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/scp.c.o -MF CMakeFiles/ssh-static.dir/scp.c.o.d -o CMakeFiles/ssh-static.dir/scp.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/scp.c [ 24%] Building C object src/CMakeFiles/ssh-static.dir/socket.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/socket.c.o -MF CMakeFiles/ssh-static.dir/socket.c.o.d -o CMakeFiles/ssh-static.dir/socket.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/socket.c [ 24%] Building C object src/CMakeFiles/ssh.dir/known_hosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -Wno-deprecated-declarations -MD -MT src/CMakeFiles/ssh.dir/known_hosts.c.o -MF CMakeFiles/ssh.dir/known_hosts.c.o.d -o CMakeFiles/ssh.dir/known_hosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/known_hosts.c /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_new': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:110:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 110 | ssh_scp_free(scp); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/src/scp.c:30: /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_free': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:303:9: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 303 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c:249:5: note: declared here 249 | int ssh_scp_close(ssh_scp scp) | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_push_file': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:577:5: warning: 'ssh_scp_push_file64' is deprecated [-Wdeprecated-declarations] 577 | return ssh_scp_push_file64(scp, filename, (uint64_t) size, mode); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c:472:5: note: declared here 472 | int ssh_scp_push_file64(ssh_scp scp, const char *filename, uint64_t size, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_read': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:1009:9: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 1009 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c:955:5: note: declared here 955 | int ssh_scp_accept_request(ssh_scp scp) | ^~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building C object src/CMakeFiles/ssh-static.dir/string.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/string.c.o -MF CMakeFiles/ssh-static.dir/string.c.o.d -o CMakeFiles/ssh-static.dir/string.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/string.c [ 25%] Building C object src/CMakeFiles/ssh.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/knownhosts.c.o -MF CMakeFiles/ssh.dir/knownhosts.c.o.d -o CMakeFiles/ssh.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/knownhosts.c [ 25%] Building C object src/CMakeFiles/ssh-static.dir/threads.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/threads.c.o -MF CMakeFiles/ssh-static.dir/threads.c.o.d -o CMakeFiles/ssh-static.dir/threads.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads.c [ 25%] Building C object src/CMakeFiles/ssh-static.dir/wrapper.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/wrapper.c.o -MF CMakeFiles/ssh-static.dir/wrapper.c.o.d -o CMakeFiles/ssh-static.dir/wrapper.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c [ 25%] Building C object src/CMakeFiles/ssh.dir/legacy.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/legacy.c.o -MF CMakeFiles/ssh.dir/legacy.c.o.d -o CMakeFiles/ssh.dir/legacy.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/legacy.c [ 25%] Building C object src/CMakeFiles/ssh-static.dir/external/blowfish.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/external/blowfish.c.o -MF CMakeFiles/ssh-static.dir/external/blowfish.c.o.d -o CMakeFiles/ssh-static.dir/external/blowfish.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/blowfish.c [ 26%] Building C object src/CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o -MF CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o.d -o CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/bcrypt_pbkdf.c [ 26%] Building C object src/CMakeFiles/ssh-static.dir/config_parser.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/config_parser.c.o -MF CMakeFiles/ssh-static.dir/config_parser.c.o.d -o CMakeFiles/ssh-static.dir/config_parser.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/config_parser.c [ 26%] Building C object src/CMakeFiles/ssh.dir/log.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/log.c.o -MF CMakeFiles/ssh.dir/log.c.o.d -o CMakeFiles/ssh.dir/log.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/log.c [ 26%] Building C object src/CMakeFiles/ssh.dir/match.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/match.c.o -MF CMakeFiles/ssh.dir/match.c.o.d -o CMakeFiles/ssh.dir/match.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/match.c /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c: In function 'crypto_free': /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c:186:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 186 | EC_KEY_free(crypto->ecdh_privkey); | ^~~~~~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/crypto.h:46, from /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c:47: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_userauth_privatekey_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:128:3: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 128 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:847, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:32: /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:97:38: note: declared here 97 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:132:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 132 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:135:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 135 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:142:3: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 142 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:91:32: note: declared here 91 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'channel_select': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:294:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations] 294 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:559:31: note: declared here 559 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_try_publickey_from_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:741:5: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 741 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:511:12: note: declared here 511 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ [ 27%] Building C object src/CMakeFiles/ssh.dir/messages.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/messages.c.o -MF CMakeFiles/ssh.dir/messages.c.o.d -o CMakeFiles/ssh.dir/messages.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/messages.c [ 27%] Building C object src/CMakeFiles/ssh.dir/misc.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/misc.c.o -MF CMakeFiles/ssh.dir/misc.c.o.d -o CMakeFiles/ssh.dir/misc.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/misc.c [ 28%] Building C object src/CMakeFiles/ssh-static.dir/token.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/token.c.o -MF CMakeFiles/ssh-static.dir/token.c.o.d -o CMakeFiles/ssh-static.dir/token.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/token.c [ 28%] Building C object src/CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o -MF CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o.d -o CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki_ed25519_common.c [ 29%] Building C object src/CMakeFiles/ssh.dir/packet.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/packet.c.o -MF CMakeFiles/ssh.dir/packet.c.o.d -o CMakeFiles/ssh.dir/packet.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/packet.c [ 29%] Building C object src/CMakeFiles/ssh.dir/options.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/options.c.o -MF CMakeFiles/ssh.dir/options.c.o.d -o CMakeFiles/ssh.dir/options.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/options.c [ 29%] Building C object src/CMakeFiles/ssh.dir/packet_cb.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/packet_cb.c.o -MF CMakeFiles/ssh.dir/packet_cb.c.o.d -o CMakeFiles/ssh.dir/packet_cb.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/packet_cb.c [ 29%] Building C object src/CMakeFiles/ssh.dir/packet_crypt.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/packet_crypt.c.o -MF CMakeFiles/ssh.dir/packet_crypt.c.o.d -o CMakeFiles/ssh.dir/packet_crypt.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/packet_crypt.c [ 29%] Building C object src/CMakeFiles/ssh.dir/pcap.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/pcap.c.o -MF CMakeFiles/ssh.dir/pcap.c.o.d -o CMakeFiles/ssh.dir/pcap.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pcap.c [ 29%] Building C object src/CMakeFiles/ssh-static.dir/threads/noop.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/threads/noop.c.o -MF CMakeFiles/ssh-static.dir/threads/noop.c.o.d -o CMakeFiles/ssh-static.dir/threads/noop.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads/noop.c [ 30%] Building C object src/CMakeFiles/ssh.dir/pki.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/pki.c.o -MF CMakeFiles/ssh.dir/pki.c.o.d -o CMakeFiles/ssh.dir/pki.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki.c [ 30%] Building C object src/CMakeFiles/ssh-static.dir/threads/pthread.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/threads/pthread.c.o -MF CMakeFiles/ssh-static.dir/threads/pthread.c.o.d -o CMakeFiles/ssh-static.dir/threads/pthread.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads/pthread.c [ 30%] Building C object src/CMakeFiles/ssh.dir/pki_container_openssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/pki_container_openssh.c.o -MF CMakeFiles/ssh.dir/pki_container_openssh.c.o.d -o CMakeFiles/ssh.dir/pki_container_openssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki_container_openssh.c [ 30%] Building C object src/CMakeFiles/ssh.dir/poll.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/poll.c.o -MF CMakeFiles/ssh.dir/poll.c.o.d -o CMakeFiles/ssh.dir/poll.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/poll.c [ 31%] Building C object src/CMakeFiles/ssh.dir/session.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/session.c.o -MF CMakeFiles/ssh.dir/session.c.o.d -o CMakeFiles/ssh.dir/session.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/session.c [ 32%] Building C object src/CMakeFiles/ssh-static.dir/threads/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/threads/libcrypto.c.o -MF CMakeFiles/ssh-static.dir/threads/libcrypto.c.o.d -o CMakeFiles/ssh-static.dir/threads/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads/libcrypto.c [ 32%] Building C object src/CMakeFiles/ssh-static.dir/pki_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/pki_crypto.c.o -MF CMakeFiles/ssh-static.dir/pki_crypto.c.o.d -o CMakeFiles/ssh-static.dir/pki_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c [ 32%] Building C object src/CMakeFiles/ssh.dir/scp.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/scp.c.o -MF CMakeFiles/ssh.dir/scp.c.o.d -o CMakeFiles/ssh.dir/scp.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/scp.c [ 32%] Building C object src/CMakeFiles/ssh-static.dir/ecdh_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/ecdh_crypto.c.o -MF CMakeFiles/ssh-static.dir/ecdh_crypto.c.o.d -o CMakeFiles/ssh-static.dir/ecdh_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_new': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:110:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 110 | ssh_scp_free(scp); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/src/scp.c:30: /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_free': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:303:9: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 303 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c:249:5: note: declared here 249 | int ssh_scp_close(ssh_scp scp) | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_push_file': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:577:5: warning: 'ssh_scp_push_file64' is deprecated [-Wdeprecated-declarations] 577 | return ssh_scp_push_file64(scp, filename, (uint64_t) size, mode); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c:472:5: note: declared here 472 | int ssh_scp_push_file64(ssh_scp scp, const char *filename, uint64_t size, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c: In function 'ssh_scp_read': /builddir/build/BUILD/libssh-0.10.4/src/scp.c:1009:9: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 1009 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/src/scp.c:955:5: note: declared here 955 | int ssh_scp_accept_request(ssh_scp scp) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_clean': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:106:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:34: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_ecdsa_to_nid': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:122:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | const EC_GROUP *g = EC_KEY_get0_group(k); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_privkey_build_ecdsa': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:302:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 302 | key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:307:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 307 | g = EC_KEY_get0_group(key->ecdsa); | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:325:5: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | ok = EC_KEY_set_public_key(key->ecdsa, p); | ^~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:333:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 333 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:337:5: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 337 | ok = EC_KEY_set_private_key(key->ecdsa, bexp); | ^~ /usr/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:340:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 340 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_pubkey_build_ecdsa': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:396:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:401:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | g = EC_KEY_get0_group(key->ecdsa); | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:419:5: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 419 | ok = EC_KEY_set_public_key(key->ecdsa, p); | ^~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_dup': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:671:13: warning: 'EC_KEY_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 671 | rc = EC_KEY_up_ref(key->ecdsa); | ^~ /usr/include/openssl/ec.h:1022:27: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_up_ref(EC_KEY *key); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:689:13: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 689 | new->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:694:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 694 | p = EC_KEY_get0_public_key(key->ecdsa); | ^ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:699:13: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 699 | ok = EC_KEY_set_public_key(new->ecdsa, p); | ^~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:704:13: warning: 'EC_KEY_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 704 | rc = EC_KEY_up_ref(key->ecdsa); | ^~ /usr/include/openssl/ec.h:1022:27: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_up_ref(EC_KEY *key); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_generate_ecdsa': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:928:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 928 | key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:944:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 944 | ok = EC_KEY_generate_key(key->ecdsa); | ^~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:946:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 946 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:950:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 950 | EC_KEY_set_asn1_flag(key->ecdsa, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_compare': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1055:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1055 | const EC_POINT *p1 = EC_KEY_get0_public_key(k1->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1056:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | const EC_POINT *p2 = EC_KEY_get0_public_key(k2->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1057:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | const EC_GROUP *g1 = EC_KEY_get0_group(k1->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1058:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1058 | const EC_GROUP *g2 = EC_KEY_get0_group(k2->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1073:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | if (bignum_cmp(EC_KEY_get0_private_key(k1->ecdsa), | ^~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1073:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | if (bignum_cmp(EC_KEY_get0_private_key(k1->ecdsa), | ^~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_private_key_to_pem': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1171:13: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | rc = EVP_PKEY_set1_EC_KEY(pkey, key->ecdsa); | ^~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_private_key_from_base64': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1357:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1357 | ecdsa = EVP_PKEY_get1_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1479:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1479 | EC_KEY_free(ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_publickey_to_blob': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2055:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2055 | if (ssh_key_is_private(key) && !EC_KEY_get0_public_key(key->ecdsa)) { | ^~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2062:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2062 | e = make_ecpoint_string(EC_KEY_get0_group(key->ecdsa), | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2063:41: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2063 | EC_KEY_get0_public_key(key->ecdsa)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_to_pkey': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2923:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2923 | EVP_PKEY_set1_EC_KEY(pkey, key->ecdsa); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_uri_import': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3471:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3471 | pkey = ENGINE_load_private_key(engine, uri_name, NULL, NULL); | ^~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:36: /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3480:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3480 | pkey = ENGINE_load_public_key(engine, uri_name, NULL, NULL); | ^~~~ /usr/include/openssl/engine.h:641:11: note: declared here 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3519:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3519 | ecdsa = EVP_PKEY_get1_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ [ 33%] Building C object src/CMakeFiles/ssh-static.dir/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/getrandom_crypto.c.o -MF CMakeFiles/ssh-static.dir/getrandom_crypto.c.o.d -o CMakeFiles/ssh-static.dir/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/getrandom_crypto.c /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3590:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3590 | EC_KEY_free(ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c: In function 'ssh_client_ecdh_init': /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:130:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | key = EC_KEY_new_by_curve_name(curve); | ^~~ In file included from /usr/include/openssl/ecdh.h:10, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/crypto.h:46, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/dh.h:26, from /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:25: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:155:3: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 155 | group = EC_KEY_get0_group(key); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:157:3: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | EC_KEY_generate_key(key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:159:3: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 159 | pubkey=EC_KEY_get0_public_key(key); | ^~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:166:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 166 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:214:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c: In function 'ecdh_build_k': /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:241:3: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | const EC_GROUP *group = EC_KEY_get0_group(next_crypto->ecdh_privkey); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:281:3: warning: 'ECDH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | rc = ECDH_compute_key(buffer, | ^~ /usr/include/openssl/ec.h:1296:27: note: declared here 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:382:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | EC_KEY_free(next_crypto->ecdh_privkey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:394:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 394 | EC_KEY_free(next_crypto->ecdh_privkey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c: In function 'ssh_packet_server_ecdh_init': /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:477:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | ecdh_key = EC_KEY_new_by_curve_name(curve); | ^~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:494:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 494 | EC_KEY_free(ecdh_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:498:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | group = EC_KEY_get0_group(ecdh_key); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:499:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | EC_KEY_generate_key(ecdh_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:501:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 501 | ecdh_pubkey = EC_KEY_get0_public_key(ecdh_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:536:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | EC_KEY_free(ecdh_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ [ 33%] Building C object src/CMakeFiles/ssh-static.dir/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/md_crypto.c.o -MF CMakeFiles/ssh-static.dir/md_crypto.c.o.d -o CMakeFiles/ssh-static.dir/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/md_crypto.c [ 33%] Building C object src/CMakeFiles/ssh.dir/socket.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/socket.c.o -MF CMakeFiles/ssh.dir/socket.c.o.d -o CMakeFiles/ssh.dir/socket.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/socket.c [ 33%] Building C object src/CMakeFiles/ssh-static.dir/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/libcrypto.c.o -MF CMakeFiles/ssh-static.dir/libcrypto.c.o.d -o CMakeFiles/ssh-static.dir/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c [ 33%] Building C object src/CMakeFiles/ssh.dir/string.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/string.c.o -MF CMakeFiles/ssh.dir/string.c.o.d -o CMakeFiles/ssh.dir/string.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/string.c [ 33%] Building C object src/CMakeFiles/ssh-static.dir/dh_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/dh_crypto.c.o -MF CMakeFiles/ssh-static.dir/dh_crypto.c.o.d -o CMakeFiles/ssh-static.dir/dh_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/dh_crypto.c [ 34%] Building C object src/CMakeFiles/ssh-static.dir/sftp.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/sftp.c.o -MF CMakeFiles/ssh-static.dir/sftp.c.o.d -o CMakeFiles/ssh-static.dir/sftp.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/sftp.c [ 34%] Building C object src/CMakeFiles/ssh-static.dir/sftpserver.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/sftpserver.c.o -MF CMakeFiles/ssh-static.dir/sftpserver.c.o.d -o CMakeFiles/ssh-static.dir/sftpserver.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/sftpserver.c [ 34%] Building C object src/CMakeFiles/ssh-static.dir/server.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/server.c.o -MF CMakeFiles/ssh-static.dir/server.c.o.d -o CMakeFiles/ssh-static.dir/server.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/server.c [ 35%] Building C object src/CMakeFiles/ssh.dir/threads.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/threads.c.o -MF CMakeFiles/ssh.dir/threads.c.o.d -o CMakeFiles/ssh.dir/threads.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads.c /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c: In function 'pki_get_engine': /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:103:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:56: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:105:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | engine = ENGINE_by_id("pkcs11"); | ^~~~~~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:114:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | ok = ENGINE_init(engine); | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:119:13: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | ENGINE_free(engine); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ [ 35%] Building C object src/CMakeFiles/ssh-static.dir/bind.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/bind.c.o -MF CMakeFiles/ssh-static.dir/bind.c.o.d -o CMakeFiles/ssh-static.dir/bind.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/bind.c [ 36%] Building C object src/CMakeFiles/ssh-static.dir/bind_config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/bind_config.c.o -MF CMakeFiles/ssh-static.dir/bind_config.c.o.d -o CMakeFiles/ssh-static.dir/bind_config.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/bind_config.c [ 36%] Building C object src/CMakeFiles/ssh-static.dir/dh-gex.c.o [ 36%] Building C object src/CMakeFiles/ssh-static.dir/gzip.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/dh-gex.c.o -MF CMakeFiles/ssh-static.dir/dh-gex.c.o.d -o CMakeFiles/ssh-static.dir/dh-gex.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/dh-gex.c cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/gzip.c.o -MF CMakeFiles/ssh-static.dir/gzip.c.o.d -o CMakeFiles/ssh-static.dir/gzip.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/gzip.c [ 36%] Building C object src/CMakeFiles/ssh.dir/wrapper.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/wrapper.c.o -MF CMakeFiles/ssh.dir/wrapper.c.o.d -o CMakeFiles/ssh.dir/wrapper.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c [ 36%] Building C object src/CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o -MF CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o.d -o CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/bcrypt_pbkdf.c /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c: In function 'crypto_free': /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c:186:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 186 | EC_KEY_free(crypto->ecdh_privkey); | ^~~~~~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/crypto.h:46, from /builddir/build/BUILD/libssh-0.10.4/src/wrapper.c:47: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ [ 37%] Building C object src/CMakeFiles/ssh-static.dir/gssapi.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/ssh-static.dir/gssapi.c.o -MF CMakeFiles/ssh-static.dir/gssapi.c.o.d -o CMakeFiles/ssh-static.dir/gssapi.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/gssapi.c [ 37%] Building C object src/CMakeFiles/ssh.dir/external/blowfish.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/external/blowfish.c.o -MF CMakeFiles/ssh.dir/external/blowfish.c.o.d -o CMakeFiles/ssh.dir/external/blowfish.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/external/blowfish.c [ 38%] Building C object src/CMakeFiles/ssh.dir/config_parser.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/config_parser.c.o -MF CMakeFiles/ssh.dir/config_parser.c.o.d -o CMakeFiles/ssh.dir/config_parser.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/config_parser.c [ 38%] Building C object src/CMakeFiles/ssh.dir/token.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/token.c.o -MF CMakeFiles/ssh.dir/token.c.o.d -o CMakeFiles/ssh.dir/token.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/token.c [ 38%] Building C object src/CMakeFiles/ssh.dir/pki_ed25519_common.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/pki_ed25519_common.c.o -MF CMakeFiles/ssh.dir/pki_ed25519_common.c.o.d -o CMakeFiles/ssh.dir/pki_ed25519_common.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki_ed25519_common.c [ 39%] Building C object src/CMakeFiles/ssh.dir/threads/noop.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/threads/noop.c.o -MF CMakeFiles/ssh.dir/threads/noop.c.o.d -o CMakeFiles/ssh.dir/threads/noop.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads/noop.c [ 39%] Building C object src/CMakeFiles/ssh.dir/threads/pthread.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/threads/pthread.c.o -MF CMakeFiles/ssh.dir/threads/pthread.c.o.d -o CMakeFiles/ssh.dir/threads/pthread.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads/pthread.c [ 39%] Building C object src/CMakeFiles/ssh.dir/threads/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/threads/libcrypto.c.o -MF CMakeFiles/ssh.dir/threads/libcrypto.c.o.d -o CMakeFiles/ssh.dir/threads/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/threads/libcrypto.c [ 39%] Building C object src/CMakeFiles/ssh.dir/pki_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/pki_crypto.c.o -MF CMakeFiles/ssh.dir/pki_crypto.c.o.d -o CMakeFiles/ssh.dir/pki_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c [ 40%] Building C object src/CMakeFiles/ssh.dir/ecdh_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/ecdh_crypto.c.o -MF CMakeFiles/ssh.dir/ecdh_crypto.c.o.d -o CMakeFiles/ssh.dir/ecdh_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c [ 40%] Building C object src/CMakeFiles/ssh.dir/getrandom_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/getrandom_crypto.c.o -MF CMakeFiles/ssh.dir/getrandom_crypto.c.o.d -o CMakeFiles/ssh.dir/getrandom_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/getrandom_crypto.c [ 40%] Building C object src/CMakeFiles/ssh.dir/md_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/md_crypto.c.o -MF CMakeFiles/ssh.dir/md_crypto.c.o.d -o CMakeFiles/ssh.dir/md_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/md_crypto.c [ 41%] Building C object src/CMakeFiles/ssh.dir/libcrypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/libcrypto.c.o -MF CMakeFiles/ssh.dir/libcrypto.c.o.d -o CMakeFiles/ssh.dir/libcrypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c [ 41%] Building C object src/CMakeFiles/ssh.dir/dh_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/dh_crypto.c.o -MF CMakeFiles/ssh.dir/dh_crypto.c.o.d -o CMakeFiles/ssh.dir/dh_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/dh_crypto.c /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_clean': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:106:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:34: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_ecdsa_to_nid': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:122:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | const EC_GROUP *g = EC_KEY_get0_group(k); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_privkey_build_ecdsa': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:302:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 302 | key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:307:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 307 | g = EC_KEY_get0_group(key->ecdsa); | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:325:5: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | ok = EC_KEY_set_public_key(key->ecdsa, p); | ^~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:333:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 333 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:337:5: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 337 | ok = EC_KEY_set_private_key(key->ecdsa, bexp); | ^~ /usr/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:340:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 340 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_pubkey_build_ecdsa': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:396:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:401:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | g = EC_KEY_get0_group(key->ecdsa); | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:419:5: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 419 | ok = EC_KEY_set_public_key(key->ecdsa, p); | ^~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_dup': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:671:13: warning: 'EC_KEY_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 671 | rc = EC_KEY_up_ref(key->ecdsa); | ^~ /usr/include/openssl/ec.h:1022:27: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_up_ref(EC_KEY *key); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:689:13: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 689 | new->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:694:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 694 | p = EC_KEY_get0_public_key(key->ecdsa); | ^ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:699:13: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 699 | ok = EC_KEY_set_public_key(new->ecdsa, p); | ^~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:704:13: warning: 'EC_KEY_up_ref' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 704 | rc = EC_KEY_up_ref(key->ecdsa); | ^~ /usr/include/openssl/ec.h:1022:27: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_up_ref(EC_KEY *key); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_generate_ecdsa': /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c: In function 'ssh_client_ecdh_init': /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:130:3: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | key = EC_KEY_new_by_curve_name(curve); | ^~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:928:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 928 | key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid); | ^~~ In file included from /usr/include/openssl/ecdh.h:10, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/crypto.h:46, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/dh.h:26, from /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:25: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:155:3: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 155 | group = EC_KEY_get0_group(key); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:157:3: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | EC_KEY_generate_key(key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:159:3: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 159 | pubkey=EC_KEY_get0_public_key(key); | ^~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:944:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 944 | ok = EC_KEY_generate_key(key->ecdsa); | ^~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:166:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 166 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:946:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 946 | EC_KEY_free(key->ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:214:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:950:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 950 | EC_KEY_set_asn1_flag(key->ecdsa, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c: In function 'ecdh_build_k': /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:241:3: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | const EC_GROUP *group = EC_KEY_get0_group(next_crypto->ecdh_privkey); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:281:3: warning: 'ECDH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | rc = ECDH_compute_key(buffer, | ^~ /usr/include/openssl/ec.h:1296:27: note: declared here 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_compare': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1055:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1055 | const EC_POINT *p1 = EC_KEY_get0_public_key(k1->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:382:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | EC_KEY_free(next_crypto->ecdh_privkey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:394:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 394 | EC_KEY_free(next_crypto->ecdh_privkey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1056:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | const EC_POINT *p2 = EC_KEY_get0_public_key(k2->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1057:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | const EC_GROUP *g1 = EC_KEY_get0_group(k1->ecdsa); | ^~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c: In function 'ssh_packet_server_ecdh_init': /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:477:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | ecdh_key = EC_KEY_new_by_curve_name(curve); | ^~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1058:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1058 | const EC_GROUP *g2 = EC_KEY_get0_group(k2->ecdsa); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:494:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 494 | EC_KEY_free(ecdh_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:498:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | group = EC_KEY_get0_group(ecdh_key); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:499:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | EC_KEY_generate_key(ecdh_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1073:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | if (bignum_cmp(EC_KEY_get0_private_key(k1->ecdsa), | ^~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:501:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 501 | ecdh_pubkey = EC_KEY_get0_public_key(ecdh_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1073:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | if (bignum_cmp(EC_KEY_get0_private_key(k1->ecdsa), | ^~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/ecdh_crypto.c:536:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | EC_KEY_free(ecdh_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_private_key_to_pem': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1171:13: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | rc = EVP_PKEY_set1_EC_KEY(pkey, key->ecdsa); | ^~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_private_key_from_base64': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1357:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1357 | ecdsa = EVP_PKEY_get1_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:1479:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1479 | EC_KEY_free(ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_publickey_to_blob': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2055:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2055 | if (ssh_key_is_private(key) && !EC_KEY_get0_public_key(key->ecdsa)) { | ^~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2062:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2062 | e = make_ecpoint_string(EC_KEY_get0_group(key->ecdsa), | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2063:41: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2063 | EC_KEY_get0_public_key(key->ecdsa)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_key_to_pkey': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:2923:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2923 | EVP_PKEY_set1_EC_KEY(pkey, key->ecdsa); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c: In function 'pki_uri_import': /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3471:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3471 | pkey = ENGINE_load_private_key(engine, uri_name, NULL, NULL); | ^~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:36: /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3480:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3480 | pkey = ENGINE_load_public_key(engine, uri_name, NULL, NULL); | ^~~~ /usr/include/openssl/engine.h:641:11: note: declared here 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3519:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3519 | ecdsa = EVP_PKEY_get1_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/pki_crypto.c:3590:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3590 | EC_KEY_free(ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ [ 41%] Building C object src/CMakeFiles/ssh.dir/sftp.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/sftp.c.o -MF CMakeFiles/ssh.dir/sftp.c.o.d -o CMakeFiles/ssh.dir/sftp.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/sftp.c [ 41%] Building C object src/CMakeFiles/ssh.dir/sftpserver.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/sftpserver.c.o -MF CMakeFiles/ssh.dir/sftpserver.c.o.d -o CMakeFiles/ssh.dir/sftpserver.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/sftpserver.c [ 41%] Linking C static library libssh.a cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/cmake -P CMakeFiles/ssh-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh-static.dir/link.txt --verbose=1 [ 42%] Building C object src/CMakeFiles/ssh.dir/server.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/server.c.o -MF CMakeFiles/ssh.dir/server.c.o.d -o CMakeFiles/ssh.dir/server.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/server.c /usr/bin/ar qc libssh.a CMakeFiles/ssh-static.dir/agent.c.o CMakeFiles/ssh-static.dir/auth.c.o CMakeFiles/ssh-static.dir/base64.c.o CMakeFiles/ssh-static.dir/bignum.c.o CMakeFiles/ssh-static.dir/buffer.c.o CMakeFiles/ssh-static.dir/callbacks.c.o CMakeFiles/ssh-static.dir/channels.c.o CMakeFiles/ssh-static.dir/client.c.o CMakeFiles/ssh-static.dir/config.c.o CMakeFiles/ssh-static.dir/connect.c.o CMakeFiles/ssh-static.dir/connector.c.o CMakeFiles/ssh-static.dir/crypto_common.c.o CMakeFiles/ssh-static.dir/curve25519.c.o CMakeFiles/ssh-static.dir/dh.c.o CMakeFiles/ssh-static.dir/ecdh.c.o CMakeFiles/ssh-static.dir/error.c.o CMakeFiles/ssh-static.dir/getpass.c.o CMakeFiles/ssh-static.dir/init.c.o CMakeFiles/ssh-static.dir/kdf.c.o CMakeFiles/ssh-static.dir/kex.c.o CMakeFiles/ssh-static.dir/known_hosts.c.o CMakeFiles/ssh-static.dir/knownhosts.c.o CMakeFiles/ssh-static.dir/legacy.c.o CMakeFiles/ssh-static.dir/log.c.o CMakeFiles/ssh-static.dir/match.c.o CMakeFiles/ssh-static.dir/messages.c.o CMakeFiles/ssh-static.dir/misc.c.o CMakeFiles/ssh-static.dir/options.c.o CMakeFiles/ssh-static.dir/packet.c.o CMakeFiles/ssh-static.dir/packet_cb.c.o CMakeFiles/ssh-static.dir/packet_crypt.c.o CMakeFiles/ssh-static.dir/pcap.c.o CMakeFiles/ssh-static.dir/pki.c.o CMakeFiles/ssh-static.dir/pki_container_openssh.c.o CMakeFiles/ssh-static.dir/poll.c.o CMakeFiles/ssh-static.dir/session.c.o CMakeFiles/ssh-static.dir/scp.c.o CMakeFiles/ssh-static.dir/socket.c.o CMakeFiles/ssh-static.dir/string.c.o CMakeFiles/ssh-static.dir/threads.c.o CMakeFiles/ssh-static.dir/wrapper.c.o CMakeFiles/ssh-static.dir/external/bcrypt_pbkdf.c.o CMakeFiles/ssh-static.dir/external/blowfish.c.o CMakeFiles/ssh-static.dir/config_parser.c.o CMakeFiles/ssh-static.dir/token.c.o CMakeFiles/ssh-static.dir/pki_ed25519_common.c.o CMakeFiles/ssh-static.dir/threads/noop.c.o CMakeFiles/ssh-static.dir/threads/pthread.c.o CMakeFiles/ssh-static.dir/threads/libcrypto.c.o CMakeFiles/ssh-static.dir/pki_crypto.c.o CMakeFiles/ssh-static.dir/ecdh_crypto.c.o CMakeFiles/ssh-static.dir/getrandom_crypto.c.o CMakeFiles/ssh-static.dir/md_crypto.c.o CMakeFiles/ssh-static.dir/libcrypto.c.o CMakeFiles/ssh-static.dir/dh_crypto.c.o CMakeFiles/ssh-static.dir/sftp.c.o CMakeFiles/ssh-static.dir/sftpserver.c.o CMakeFiles/ssh-static.dir/server.c.o CMakeFiles/ssh-static.dir/bind.c.o CMakeFiles/ssh-static.dir/bind_config.c.o CMakeFiles/ssh-static.dir/dh-gex.c.o CMakeFiles/ssh-static.dir/gzip.c.o CMakeFiles/ssh-static.dir/gssapi.c.o /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c: In function 'pki_get_engine': /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:103:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:56: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:105:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | engine = ENGINE_by_id("pkcs11"); | ^~~~~~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:114:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | ok = ENGINE_init(engine); | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/libcrypto.c:119:13: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | ENGINE_free(engine); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ [ 42%] Building C object src/CMakeFiles/ssh.dir/bind.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/bind.c.o -MF CMakeFiles/ssh.dir/bind.c.o.d -o CMakeFiles/ssh.dir/bind.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/bind.c [ 42%] Building C object src/CMakeFiles/ssh.dir/bind_config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/bind_config.c.o -MF CMakeFiles/ssh.dir/bind_config.c.o.d -o CMakeFiles/ssh.dir/bind_config.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/bind_config.c /usr/bin/ranlib libssh.a [ 42%] Building C object src/CMakeFiles/ssh.dir/dh-gex.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/dh-gex.c.o -MF CMakeFiles/ssh.dir/dh-gex.c.o.d -o CMakeFiles/ssh.dir/dh-gex.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/dh-gex.c [ 43%] Building C object src/CMakeFiles/ssh.dir/gzip.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/gzip.c.o -MF CMakeFiles/ssh.dir/gzip.c.o.d -o CMakeFiles/ssh.dir/gzip.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/gzip.c [ 43%] Building C object src/CMakeFiles/ssh.dir/gssapi.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/gcc -DLIBSSH_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -MD -MT src/CMakeFiles/ssh.dir/gssapi.c.o -MF CMakeFiles/ssh.dir/gssapi.c.o.d -o CMakeFiles/ssh.dir/gssapi.c.o -c /builddir/build/BUILD/libssh-0.10.4/src/gssapi.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 43%] Built target ssh-static /usr/bin/gmake -f tests/CMakeFiles/torture.dir/build.make tests/CMakeFiles/torture.dir/depend /usr/bin/gmake -f tests/CMakeFiles/torture_shared.dir/build.make tests/CMakeFiles/torture_shared.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/CMakeFiles/torture.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/CMakeFiles/torture_shared.dir/DependInfo.cmake --color= /usr/bin/gmake -f tests/CMakeFiles/ssh_ping.dir/build.make tests/CMakeFiles/ssh_ping.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/pkd/CMakeFiles/pkd_hello.dir/build.make tests/pkd/CMakeFiles/pkd_hello.dir/depend cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/CMakeFiles/ssh_ping.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/torture.dir/build.make tests/CMakeFiles/torture.dir/build /usr/bin/gmake -f tests/CMakeFiles/torture_shared.dir/build.make tests/CMakeFiles/torture_shared.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/pkd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd/CMakeFiles/pkd_hello.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/ssh_ping.dir/build.make tests/CMakeFiles/ssh_ping.dir/build [ 43%] Building C object tests/CMakeFiles/torture_shared.dir/cmdline.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/cmdline.c.o -MF CMakeFiles/torture_shared.dir/cmdline.c.o.d -o CMakeFiles/torture_shared.dir/cmdline.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/cmdline.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/pkd/CMakeFiles/pkd_hello.dir/build.make tests/pkd/CMakeFiles/pkd_hello.dir/build [ 43%] Building C object tests/CMakeFiles/torture.dir/cmdline.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/cmdline.c.o -MF CMakeFiles/torture.dir/cmdline.c.o.d -o CMakeFiles/torture.dir/cmdline.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/cmdline.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 43%] Building C object tests/CMakeFiles/ssh_ping.dir/ssh_ping.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/CMakeFiles/ssh_ping.dir/ssh_ping.c.o -MF CMakeFiles/ssh_ping.dir/ssh_ping.c.o.d -o CMakeFiles/ssh_ping.dir/ssh_ping.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/ssh_ping.c [ 44%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_daemon.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_daemon.c.o -MF CMakeFiles/pkd_hello.dir/pkd_daemon.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_daemon.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/pkd/pkd_daemon.c [ 44%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_hello.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_hello.c.o -MF CMakeFiles/pkd_hello.dir/pkd_hello.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_hello.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/pkd/pkd_hello.c [ 44%] Linking C executable ssh_ping cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh_ping.dir/link.txt --verbose=1 [ 44%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o -MF CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/pkd/pkd_keyutil.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/ssh_ping.dir/ssh_ping.c.o -o ssh_ping ../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 45%] Building C object tests/CMakeFiles/torture_shared.dir/torture.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture.c.o -MF CMakeFiles/torture_shared.dir/torture.c.o.d -o CMakeFiles/torture_shared.dir/torture.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture.c [ 45%] Building C object tests/CMakeFiles/torture.dir/torture.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture.c.o -MF CMakeFiles/torture.dir/torture.c.o.d -o CMakeFiles/torture.dir/torture.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture.c [ 46%] Building C object tests/CMakeFiles/torture.dir/torture_key.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture_key.c.o -MF CMakeFiles/torture.dir/torture_key.c.o.d -o CMakeFiles/torture.dir/torture_key.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture_key.c [ 46%] Building C object tests/CMakeFiles/torture.dir/torture_pki.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture_pki.c.o -MF CMakeFiles/torture.dir/torture_pki.c.o.d -o CMakeFiles/torture.dir/torture_pki.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture_pki.c [ 47%] Building C object tests/pkd/CMakeFiles/pkd_hello.dir/pkd_util.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/tests/pkd -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/pkd/CMakeFiles/pkd_hello.dir/pkd_util.c.o -MF CMakeFiles/pkd_hello.dir/pkd_util.c.o.d -o CMakeFiles/pkd_hello.dir/pkd_util.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/pkd/pkd_util.c [ 47%] Linking C shared library ../lib/libssh.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libssh.so.4 -o ../lib/libssh.so.4.9.4 CMakeFiles/ssh.dir/agent.c.o CMakeFiles/ssh.dir/auth.c.o CMakeFiles/ssh.dir/base64.c.o CMakeFiles/ssh.dir/bignum.c.o CMakeFiles/ssh.dir/buffer.c.o CMakeFiles/ssh.dir/callbacks.c.o CMakeFiles/ssh.dir/channels.c.o CMakeFiles/ssh.dir/client.c.o CMakeFiles/ssh.dir/config.c.o CMakeFiles/ssh.dir/connect.c.o CMakeFiles/ssh.dir/connector.c.o CMakeFiles/ssh.dir/crypto_common.c.o CMakeFiles/ssh.dir/curve25519.c.o CMakeFiles/ssh.dir/dh.c.o CMakeFiles/ssh.dir/ecdh.c.o CMakeFiles/ssh.dir/error.c.o CMakeFiles/ssh.dir/getpass.c.o CMakeFiles/ssh.dir/init.c.o CMakeFiles/ssh.dir/kdf.c.o CMakeFiles/ssh.dir/kex.c.o CMakeFiles/ssh.dir/known_hosts.c.o CMakeFiles/ssh.dir/knownhosts.c.o CMakeFiles/ssh.dir/legacy.c.o CMakeFiles/ssh.dir/log.c.o CMakeFiles/ssh.dir/match.c.o CMakeFiles/ssh.dir/messages.c.o CMakeFiles/ssh.dir/misc.c.o CMakeFiles/ssh.dir/options.c.o CMakeFiles/ssh.dir/packet.c.o CMakeFiles/ssh.dir/packet_cb.c.o CMakeFiles/ssh.dir/packet_crypt.c.o CMakeFiles/ssh.dir/pcap.c.o CMakeFiles/ssh.dir/pki.c.o CMakeFiles/ssh.dir/pki_container_openssh.c.o CMakeFiles/ssh.dir/poll.c.o CMakeFiles/ssh.dir/session.c.o CMakeFiles/ssh.dir/scp.c.o CMakeFiles/ssh.dir/socket.c.o CMakeFiles/ssh.dir/string.c.o CMakeFiles/ssh.dir/threads.c.o CMakeFiles/ssh.dir/wrapper.c.o CMakeFiles/ssh.dir/external/bcrypt_pbkdf.c.o CMakeFiles/ssh.dir/external/blowfish.c.o CMakeFiles/ssh.dir/config_parser.c.o CMakeFiles/ssh.dir/token.c.o CMakeFiles/ssh.dir/pki_ed25519_common.c.o CMakeFiles/ssh.dir/threads/noop.c.o CMakeFiles/ssh.dir/threads/pthread.c.o CMakeFiles/ssh.dir/threads/libcrypto.c.o CMakeFiles/ssh.dir/pki_crypto.c.o CMakeFiles/ssh.dir/ecdh_crypto.c.o CMakeFiles/ssh.dir/getrandom_crypto.c.o CMakeFiles/ssh.dir/md_crypto.c.o CMakeFiles/ssh.dir/libcrypto.c.o CMakeFiles/ssh.dir/dh_crypto.c.o CMakeFiles/ssh.dir/sftp.c.o CMakeFiles/ssh.dir/sftpserver.c.o CMakeFiles/ssh.dir/server.c.o CMakeFiles/ssh.dir/bind.c.o CMakeFiles/ssh.dir/bind_config.c.o CMakeFiles/ssh.dir/dh-gex.c.o CMakeFiles/ssh.dir/gzip.c.o CMakeFiles/ssh.dir/gssapi.c.o -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -Wl,--version-script,"/builddir/build/BUILD/libssh-0.10.4/src/libssh.map" [ 47%] Building C object tests/CMakeFiles/torture.dir/torture_cmocka.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -MD -MT tests/CMakeFiles/torture.dir/torture_cmocka.c.o -MF CMakeFiles/torture.dir/torture_cmocka.c.o.d -o CMakeFiles/torture.dir/torture_cmocka.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture_cmocka.c [ 47%] Building C object tests/CMakeFiles/torture_shared.dir/torture_key.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture_key.c.o -MF CMakeFiles/torture_shared.dir/torture_key.c.o.d -o CMakeFiles/torture_shared.dir/torture_key.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture_key.c [ 47%] Building C object tests/CMakeFiles/torture_shared.dir/torture_pki.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture_pki.c.o -MF CMakeFiles/torture_shared.dir/torture_pki.c.o.d -o CMakeFiles/torture_shared.dir/torture_pki.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture_pki.c [ 47%] Building C object tests/CMakeFiles/torture_shared.dir/torture_cmocka.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -Dtorture_shared_EXPORTS -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSSH_PING_EXECUTABLE=\"/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/ssh_ping\" -DTORTURE_SHARED -MD -MT tests/CMakeFiles/torture_shared.dir/torture_cmocka.c.o -MF CMakeFiles/torture_shared.dir/torture_cmocka.c.o.d -o CMakeFiles/torture_shared.dir/torture_cmocka.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/torture_cmocka.c [ 48%] Linking C static library libtorture.a cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/cmake -P CMakeFiles/torture.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture.dir/link.txt --verbose=1 /usr/bin/ar qc libtorture.a CMakeFiles/torture.dir/cmdline.c.o CMakeFiles/torture.dir/torture.c.o CMakeFiles/torture.dir/torture_key.c.o CMakeFiles/torture.dir/torture_pki.c.o CMakeFiles/torture.dir/torture_cmocka.c.o /usr/bin/ranlib libtorture.a gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 48%] Built target torture /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_buffer.dir/build.make tests/unittests/CMakeFiles/torture_buffer.dir/depend /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bytearray.dir/build.make tests/unittests/CMakeFiles/torture_bytearray.dir/depend /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_callbacks.dir/build.make tests/unittests/CMakeFiles/torture_callbacks.dir/depend /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_crypto.dir/build.make tests/unittests/CMakeFiles/torture_crypto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_buffer.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_bytearray.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_callbacks.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_crypto.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_buffer.dir/build.make tests/unittests/CMakeFiles/torture_buffer.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bytearray.dir/build.make tests/unittests/CMakeFiles/torture_bytearray.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_crypto.dir/build.make tests/unittests/CMakeFiles/torture_crypto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_callbacks.dir/build.make tests/unittests/CMakeFiles/torture_callbacks.dir/build [ 48%] Building C object tests/unittests/CMakeFiles/torture_buffer.dir/torture_buffer.c.o gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 49%] Linking C shared library ../lib/libtorture_shared.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_buffer.dir/torture_buffer.c.o -MF CMakeFiles/torture_buffer.dir/torture_buffer.c.o.d -o CMakeFiles/torture_buffer.dir/torture_buffer.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_buffer.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_shared.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libtorture_shared.so -o ../lib/libtorture_shared.so CMakeFiles/torture_shared.dir/cmdline.c.o CMakeFiles/torture_shared.dir/torture.c.o CMakeFiles/torture_shared.dir/torture_key.c.o CMakeFiles/torture_shared.dir/torture_pki.c.o CMakeFiles/torture_shared.dir/torture_cmocka.c.o /usr/lib64/libcmocka.so ../src/libssh.a -Wl,--wrap=chacha_keysetup -Wl,--wrap=chacha_ivsetup -Wl,--wrap=chacha_encrypt_bytes -Wl,--wrap=poly1305_auth -Wl,--wrap=crypto_sign_ed25519_keypair -Wl,--wrap=crypto_sign_ed25519 -Wl,--wrap=crypto_sign_ed25519_open -Wl,--wrap=crypto_scalarmult_base -Wl,--wrap=crypto_scalarmult -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 49%] Building C object tests/unittests/CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o -MF CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o.d -o CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_callbacks.c [ 49%] Building C object tests/unittests/CMakeFiles/torture_crypto.dir/torture_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_crypto.dir/torture_crypto.c.o -MF CMakeFiles/torture_crypto.dir/torture_crypto.c.o.d -o CMakeFiles/torture_crypto.dir/torture_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_crypto.c [ 50%] Building C object tests/unittests/CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o -MF CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o.d -o CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_bytearray.c [ 51%] Linking C executable torture_crypto cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_crypto.dir/link.txt --verbose=1 [ 51%] Linking C executable torture_callbacks cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_callbacks.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_crypto.dir/torture_crypto.c.o -o torture_crypto ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 51%] Linking C executable torture_bytearray cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_bytearray.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_callbacks.dir/torture_callbacks.c.o -o torture_callbacks ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_bytearray.dir/torture_bytearray.c.o -o torture_bytearray ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 51%] Linking C executable torture_buffer cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_buffer.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_buffer.dir/torture_buffer.c.o -o torture_buffer ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 51%] Built target ssh_ping /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_init.dir/build.make tests/unittests/CMakeFiles/torture_init.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_init.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_init.dir/build.make tests/unittests/CMakeFiles/torture_init.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 52%] Building C object tests/unittests/CMakeFiles/torture_init.dir/torture_init.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_init.dir/torture_init.c.o -MF CMakeFiles/torture_init.dir/torture_init.c.o.d -o CMakeFiles/torture_init.dir/torture_init.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_init.c [ 52%] Linking C executable pkd_hello cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/pkd && /usr/bin/cmake -E cmake_link_script CMakeFiles/pkd_hello.dir/link.txt --verbose=1 [ 52%] Linking C executable torture_init cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_init.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/pkd_hello.dir/pkd_daemon.c.o CMakeFiles/pkd_hello.dir/pkd_hello.c.o CMakeFiles/pkd_hello.dir/pkd_keyutil.c.o CMakeFiles/pkd_hello.dir/pkd_util.c.o -o pkd_hello /usr/lib64/libcmocka.so ../../src/libssh.a -lpthread -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_init.dir/torture_init.c.o -o torture_init ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libssh.so.4.9.4 ../lib/libssh.so.4 ../lib/libssh.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 52%] Built target ssh /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_list.dir/build.make tests/unittests/CMakeFiles/torture_list.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_list.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_list.dir/build.make tests/unittests/CMakeFiles/torture_list.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 52%] Building C object tests/unittests/CMakeFiles/torture_list.dir/torture_list.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_list.dir/torture_list.c.o -MF CMakeFiles/torture_list.dir/torture_list.c.o.d -o CMakeFiles/torture_list.dir/torture_list.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_list.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 52%] Built target torture_shared /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_misc.dir/build.make tests/unittests/CMakeFiles/torture_misc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_misc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_misc.dir/build.make tests/unittests/CMakeFiles/torture_misc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 53%] Building C object tests/unittests/CMakeFiles/torture_misc.dir/torture_misc.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_misc.dir/torture_misc.c.o -MF CMakeFiles/torture_misc.dir/torture_misc.c.o.d -o CMakeFiles/torture_misc.dir/torture_misc.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_misc.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 53%] Built target torture_callbacks /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_config.dir/build.make tests/unittests/CMakeFiles/torture_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_config.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_config.dir/build.make tests/unittests/CMakeFiles/torture_config.dir/build [ 53%] Built target torture_crypto /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_options.dir/build.make tests/unittests/CMakeFiles/torture_options.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 53%] Built target torture_bytearray gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_options.dir/DependInfo.cmake --color= /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_isipaddr.dir/build.make tests/unittests/CMakeFiles/torture_isipaddr.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_isipaddr.dir/DependInfo.cmake --color= [ 53%] Building C object tests/unittests/CMakeFiles/torture_config.dir/torture_config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_config.dir/torture_config.c.o -MF CMakeFiles/torture_config.dir/torture_config.c.o.d -o CMakeFiles/torture_config.dir/torture_config.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_config.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_options.dir/build.make tests/unittests/CMakeFiles/torture_options.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_isipaddr.dir/build.make tests/unittests/CMakeFiles/torture_isipaddr.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 54%] Building C object tests/unittests/CMakeFiles/torture_options.dir/torture_options.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_options.dir/torture_options.c.o -MF CMakeFiles/torture_options.dir/torture_options.c.o.d -o CMakeFiles/torture_options.dir/torture_options.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_options.c [ 54%] Building C object tests/unittests/CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o -MF CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o.d -o CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_isipaddr.c [ 54%] Linking C executable torture_list cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_list.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_list.dir/torture_list.c.o -o torture_list ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 54%] Built target torture_buffer /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/build.make tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/build.make tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 54%] Building C object tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o -MF CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o.d -o CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_knownhosts_parsing.c [ 54%] Linking C executable torture_misc cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_misc.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_misc.dir/torture_misc.c.o -o torture_misc ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 54%] Linking C executable torture_options cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_options.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_options.dir/torture_options.c.o -o torture_options ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 55%] Linking C executable torture_isipaddr cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_isipaddr.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_isipaddr.dir/torture_isipaddr.c.o -o torture_isipaddr ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 56%] Linking C executable torture_config cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_config.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_config.dir/torture_config.c.o -o torture_config ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 56%] Linking C executable torture_knownhosts_parsing cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_knownhosts_parsing.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_knownhosts_parsing.dir/torture_knownhosts_parsing.c.o -o torture_knownhosts_parsing ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 56%] Built target torture_init /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_hashes.dir/build.make tests/unittests/CMakeFiles/torture_hashes.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_hashes.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_hashes.dir/build.make tests/unittests/CMakeFiles/torture_hashes.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 57%] Building C object tests/unittests/CMakeFiles/torture_hashes.dir/torture_hashes.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_hashes.dir/torture_hashes.c.o -MF CMakeFiles/torture_hashes.dir/torture_hashes.c.o.d -o CMakeFiles/torture_hashes.dir/torture_hashes.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_hashes.c In file included from /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_hashes.c:7: /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_userauth_privatekey_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:128:3: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 128 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:847, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/tests/torture.h:33, from /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_hashes.c:5: /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:97:38: note: declared here 97 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:132:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 132 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:135:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 135 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:142:3: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 142 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:91:32: note: declared here 91 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'channel_select': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:294:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations] 294 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:559:31: note: declared here 559 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_try_publickey_from_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:741:5: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 741 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:511:12: note: declared here 511 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 57%] Built target pkd_hello /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet_filter.dir/build.make tests/unittests/CMakeFiles/torture_packet_filter.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_packet_filter.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet_filter.dir/build.make tests/unittests/CMakeFiles/torture_packet_filter.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 57%] Building C object tests/unittests/CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o -MF CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o.d -o CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_packet_filter.c [ 57%] Linking C executable torture_hashes cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_hashes.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_hashes.dir/torture_hashes.c.o -o torture_hashes ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 57%] Built target torture_list /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_dir.dir/build.make tests/unittests/CMakeFiles/torture_temp_dir.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_temp_dir.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_dir.dir/build.make tests/unittests/CMakeFiles/torture_temp_dir.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 57%] Building C object tests/unittests/CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o -MF CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o.d -o CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_temp_dir.c [ 58%] Linking C executable torture_packet_filter cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_packet_filter.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_packet_filter.dir/torture_packet_filter.c.o -o torture_packet_filter ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 58%] Linking C executable torture_temp_dir cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_temp_dir.dir/link.txt --verbose=1 [ 58%] Built target torture_isipaddr /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_file.dir/build.make tests/unittests/CMakeFiles/torture_temp_file.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_temp_file.dir/DependInfo.cmake --color= /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_temp_dir.dir/torture_temp_dir.c.o -o torture_temp_dir ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_temp_file.dir/build.make tests/unittests/CMakeFiles/torture_temp_file.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 58%] Built target torture_misc /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_push_pop_dir.dir/build.make tests/unittests/CMakeFiles/torture_push_pop_dir.dir/depend [ 58%] Building C object tests/unittests/CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o -MF CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o.d -o CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_temp_file.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_push_pop_dir.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_push_pop_dir.dir/build.make tests/unittests/CMakeFiles/torture_push_pop_dir.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 58%] Building C object tests/unittests/CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o -MF CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o.d -o CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_push_pop_dir.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 58%] Built target torture_options /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_session_keys.dir/build.make tests/unittests/CMakeFiles/torture_session_keys.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_session_keys.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_session_keys.dir/build.make tests/unittests/CMakeFiles/torture_session_keys.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 58%] Building C object tests/unittests/CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o -MF CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o.d -o CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_session_keys.c [ 59%] Linking C executable torture_temp_file cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_temp_file.dir/link.txt --verbose=1 [ 59%] Linking C executable torture_push_pop_dir cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_push_pop_dir.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_temp_file.dir/torture_temp_file.c.o -o torture_temp_file ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_push_pop_dir.dir/torture_push_pop_dir.c.o -o torture_push_pop_dir ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 59%] Built target torture_config /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_tokens.dir/build.make tests/unittests/CMakeFiles/torture_tokens.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_tokens.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_tokens.dir/build.make tests/unittests/CMakeFiles/torture_tokens.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 59%] Building C object tests/unittests/CMakeFiles/torture_tokens.dir/torture_tokens.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_tokens.dir/torture_tokens.c.o -MF CMakeFiles/torture_tokens.dir/torture_tokens.c.o.d -o CMakeFiles/torture_tokens.dir/torture_tokens.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_tokens.c [ 59%] Built target torture_knownhosts_parsing /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet.dir/build.make tests/unittests/CMakeFiles/torture_packet.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_packet.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_packet.dir/build.make tests/unittests/CMakeFiles/torture_packet.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 59%] Building C object tests/unittests/CMakeFiles/torture_packet.dir/torture_packet.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_packet.dir/torture_packet.c.o -MF CMakeFiles/torture_packet.dir/torture_packet.c.o.d -o CMakeFiles/torture_packet.dir/torture_packet.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_packet.c [ 60%] Linking C executable torture_session_keys cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_session_keys.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_session_keys.dir/torture_session_keys.c.o -o torture_session_keys ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 61%] Linking C executable torture_tokens cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_tokens.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_tokens.dir/torture_tokens.c.o -o torture_tokens ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 61%] Linking C executable torture_packet cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_packet.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_packet.dir/torture_packet.c.o -o torture_packet ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Built target torture_hashes /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_keyfiles.dir/build.make tests/unittests/CMakeFiles/torture_keyfiles.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_keyfiles.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_keyfiles.dir/build.make tests/unittests/CMakeFiles/torture_keyfiles.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Building C object tests/unittests/CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o -MF CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o.d -o CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c In file included from /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:7: /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_userauth_privatekey_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:128:3: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 128 | pubkey = publickey_from_file(session, pubkeyfile, &type); | ^~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:847, from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/tests/torture.h:33, from /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:5: /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:97:38: note: declared here 97 | SSH_DEPRECATED LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:132:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 132 | privkey = privatekey_from_file(session, filename, 0, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:135:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 135 | privkey = privatekey_from_file(session, filename, type, passphrase); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:92:43: note: declared here 92 | SSH_DEPRECATED LIBSSH_API ssh_private_key privatekey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:142:3: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 142 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/legacy.h:91:32: note: declared here 91 | SSH_DEPRECATED LIBSSH_API void privatekey_free(ssh_private_key prv); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'channel_select': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:294:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations] 294 | return ssh_channel_select(readchans, writechans, exceptchans, timeout); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:559:31: note: declared here 559 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c: In function 'ssh_try_publickey_from_file': /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:741:5: warning: 'publickey_from_file' is deprecated [-Wdeprecated-declarations] 741 | pubkey_string = publickey_from_file(session, pubkey_file, &pubkey_type); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:511:12: note: declared here 511 | ssh_string publickey_from_file(ssh_session session, const char *filename, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c: In function 'torture_pubkey_from_file': /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:110:5: warning: 'ssh_try_publickey_from_file' is deprecated [-Wdeprecated-declarations] 110 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type); | ^~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:694:5: note: declared here 694 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:119:5: warning: 'ssh_try_publickey_from_file' is deprecated [-Wdeprecated-declarations] 119 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type); | ^~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:694:5: note: declared here 694 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:128:5: warning: 'ssh_try_publickey_from_file' is deprecated [-Wdeprecated-declarations] 128 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey, &type); | ^~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:694:5: note: declared here 694 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c: In function 'torture_pubkey_generate_from_privkey': /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:171:5: warning: 'ssh_try_publickey_from_file' is deprecated [-Wdeprecated-declarations] 171 | rc = ssh_try_publickey_from_file(session, LIBSSH_RSA_TESTKEY, &pubkey_orig, | ^~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:694:5: note: declared here 694 | int ssh_try_publickey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:183:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 183 | privkey = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, 0, NULL); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:431:17: note: declared here 431 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:186:5: warning: 'publickey_from_privatekey' is deprecated [-Wdeprecated-declarations] 186 | pubkey = publickey_from_privatekey(privkey); | ^~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:392:16: note: declared here 392 | ssh_public_key publickey_from_privatekey(ssh_private_key prv) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:189:5: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 189 | privatekey_free(privkey); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:488:6: note: declared here 488 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:191:5: warning: 'publickey_to_string' is deprecated [-Wdeprecated-declarations] 191 | pubkey_new = publickey_to_string(pubkey); | ^~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:582:12: note: declared here 582 | ssh_string publickey_to_string(ssh_public_key pubkey) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:192:5: warning: 'publickey_free' is deprecated [-Wdeprecated-declarations] 192 | publickey_free(pubkey); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:355:6: note: declared here 355 | void publickey_free(ssh_public_key key) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:201:5: warning: 'ssh_publickey_to_file' is deprecated [-Wdeprecated-declarations] 201 | rc = ssh_publickey_to_file(session, LIBSSH_RSA_TESTKEY ".pub", pubkey_new, type_new); | ^~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:622:5: note: declared here 622 | int ssh_publickey_to_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c: In function 'torture_privatekey_from_file': /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:231:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 231 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, SSH_KEYTYPE_RSA, NULL); | ^~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:431:17: note: declared here 431 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:234:9: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 234 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:488:6: note: declared here 488 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:248:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 248 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, 0, NULL); | ^~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:431:17: note: declared here 431 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:251:9: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 251 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:488:6: note: declared here 488 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c: In function 'torture_privatekey_from_file_passphrase': /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:272:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 272 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, SSH_KEYTYPE_RSA, TORTURE_TESTKEY_PASSWORD); | ^~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:431:17: note: declared here 431 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:275:9: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 275 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:488:6: note: declared here 488 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:289:5: warning: 'privatekey_from_file' is deprecated [-Wdeprecated-declarations] 289 | key = privatekey_from_file(session, LIBSSH_RSA_TESTKEY, 0, TORTURE_TESTKEY_PASSWORD); | ^~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:431:17: note: declared here 431 | ssh_private_key privatekey_from_file(ssh_session session, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_keyfiles.c:292:9: warning: 'privatekey_free' is deprecated [-Wdeprecated-declarations] 292 | privatekey_free(key); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/src/legacy.c:488:6: note: declared here 488 | void privatekey_free(ssh_private_key prv) { | ^~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Built target torture_packet_filter /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki.dir/build.make tests/unittests/CMakeFiles/torture_pki.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki.dir/build.make tests/unittests/CMakeFiles/torture_pki.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Building C object tests/unittests/CMakeFiles/torture_pki.dir/torture_pki.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki.dir/torture_pki.c.o -MF CMakeFiles/torture_pki.dir/torture_pki.c.o.d -o CMakeFiles/torture_pki.dir/torture_pki.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Built target torture_temp_dir /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_rsa.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Building C object tests/unittests/CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o -MF CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o.d -o CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_rsa.c [ 61%] Linking C executable torture_keyfiles cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_keyfiles.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_keyfiles.dir/torture_keyfiles.c.o -o torture_keyfiles ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 61%] Built target torture_temp_file /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ed25519.dir/build.make tests/unittests/CMakeFiles/torture_pki_ed25519.dir/depend [ 61%] Built target torture_push_pop_dir /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_channel.dir/build.make tests/unittests/CMakeFiles/torture_channel.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_ed25519.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_channel.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ed25519.dir/build.make tests/unittests/CMakeFiles/torture_pki_ed25519.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_channel.dir/build.make tests/unittests/CMakeFiles/torture_channel.dir/build [ 62%] Building C object tests/unittests/CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o -MF CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o.d -o CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_ed25519.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 63%] Building C object tests/unittests/CMakeFiles/torture_channel.dir/torture_channel.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_channel.dir/torture_channel.c.o -MF CMakeFiles/torture_channel.dir/torture_channel.c.o.d -o CMakeFiles/torture_channel.dir/torture_channel.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_channel.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 63%] Built target torture_session_keys /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bind_config.dir/build.make tests/unittests/CMakeFiles/torture_bind_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_bind_config.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_bind_config.dir/build.make tests/unittests/CMakeFiles/torture_bind_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 63%] Building C object tests/unittests/CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o -MF CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o.d -o CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_bind_config.c [ 63%] Linking C executable torture_pki cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_pki.dir/torture_pki.c.o -o torture_pki ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 63%] Built target torture_tokens /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_moduli.dir/build.make tests/unittests/CMakeFiles/torture_moduli.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_moduli.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_moduli.dir/build.make tests/unittests/CMakeFiles/torture_moduli.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 63%] Building C object tests/unittests/CMakeFiles/torture_moduli.dir/torture_moduli.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_moduli.dir/torture_moduli.c.o -MF CMakeFiles/torture_moduli.dir/torture_moduli.c.o.d -o CMakeFiles/torture_moduli.dir/torture_moduli.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_moduli.c [ 63%] Linking C executable torture_pki_rsa cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_rsa.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_pki_rsa.dir/torture_pki_rsa.c.o -o torture_pki_rsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 64%] Linking C executable torture_bind_config cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_bind_config.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_bind_config.dir/torture_bind_config.c.o -o torture_bind_config ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 64%] Linking C executable torture_moduli cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_moduli.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_moduli.dir/torture_moduli.c.o -o torture_moduli ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 64%] Linking C executable torture_channel cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_channel.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 64%] Linking C executable torture_pki_ed25519 cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_ed25519.dir/link.txt --verbose=1 [ 64%] Built target torture_packet /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/depend /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_pki_ed25519.dir/torture_pki_ed25519.c.o -o torture_pki_ed25519 ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_channel.dir/torture_channel.c.o -o torture_channel ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o -MF CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o.d -o CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_rsa_uri.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Built target torture_keyfiles /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o -MF CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o.d -o CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_ecdsa_uri.c [ 65%] Linking C executable torture_pki_rsa_uri cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_rsa_uri.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_pki_rsa_uri.dir/torture_pki_rsa_uri.c.o -o torture_pki_rsa_uri ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_ecdsa_uri.c: In function 'torture_pki_ecdsa_publickey_from_privatekey_uri': /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_ecdsa_uri.c:219:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | system(convert_key_to_pem); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Built target torture_pki /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/build.make tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o -MF CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o.d -o CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_pki_ecdsa.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Built target torture_pki_rsa /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_rand.dir/build.make tests/unittests/CMakeFiles/torture_rand.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_rand.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_rand.dir/build.make tests/unittests/CMakeFiles/torture_rand.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_rand.dir/torture_rand.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_rand.dir/torture_rand.c.o -MF CMakeFiles/torture_rand.dir/torture_rand.c.o.d -o CMakeFiles/torture_rand.dir/torture_rand.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_rand.c [ 65%] Built target torture_moduli /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_init.dir/build.make tests/unittests/CMakeFiles/torture_threads_init.dir/depend gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_init.dir/DependInfo.cmake --color= [ 65%] Built target torture_bind_config /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_buffer.dir/build.make tests/unittests/CMakeFiles/torture_threads_buffer.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_buffer.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_init.dir/build.make tests/unittests/CMakeFiles/torture_threads_init.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_buffer.dir/build.make tests/unittests/CMakeFiles/torture_threads_buffer.dir/build [ 65%] Building C object tests/unittests/CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o -MF CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o.d -o CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_threads_init.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Building C object tests/unittests/CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o -MF CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o.d -o CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_threads_buffer.c [ 65%] Linking C executable torture_pki_ecdsa_uri cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_ecdsa_uri.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_pki_ecdsa_uri.dir/torture_pki_ecdsa_uri.c.o -o torture_pki_ecdsa_uri ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 65%] Built target torture_channel /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_crypto.dir/build.make tests/unittests/CMakeFiles/torture_threads_crypto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_crypto.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_crypto.dir/build.make tests/unittests/CMakeFiles/torture_threads_crypto.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 66%] Linking C executable torture_rand [ 66%] Built target torture_pki_ed25519 cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_rand.dir/link.txt --verbose=1 /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/DependInfo.cmake --color= [ 67%] Building C object tests/unittests/CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o -MF CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o.d -o CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_threads_crypto.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_rand.dir/torture_rand.c.o -o torture_rand ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/build.make tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 67%] Linking C executable torture_threads_init cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_init.dir/link.txt --verbose=1 [ 68%] Building C object tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/tests/unittests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/unittests/CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o -MF CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o.d -o CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/unittests/torture_threads_pki_rsa.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_threads_init.dir/torture_threads_init.c.o -o torture_threads_init ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 68%] Linking C executable torture_threads_crypto cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_crypto.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_threads_crypto.dir/torture_threads_crypto.c.o -o torture_threads_crypto ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 68%] Linking C executable torture_threads_buffer cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_buffer.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_threads_buffer.dir/torture_threads_buffer.c.o -o torture_threads_buffer ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 69%] Linking C executable torture_pki_ecdsa cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_pki_ecdsa.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_pki_ecdsa.dir/torture_pki_ecdsa.c.o -o torture_pki_ecdsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 69%] Linking C executable torture_threads_pki_rsa cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/unittests && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_threads_pki_rsa.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_threads_pki_rsa.dir/torture_threads_pki_rsa.c.o -o torture_threads_pki_rsa ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Built target torture_pki_rsa_uri /usr/bin/gmake -f tests/client/CMakeFiles/torture_algorithms.dir/build.make tests/client/CMakeFiles/torture_algorithms.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_algorithms.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_algorithms.dir/build.make tests/client/CMakeFiles/torture_algorithms.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Building C object tests/client/CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o -MF CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o.d -o CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_algorithms.c [ 69%] Linking C executable torture_algorithms cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_algorithms.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_algorithms.dir/torture_algorithms.c.o -o torture_algorithms ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Built target torture_pki_ecdsa_uri /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_config.dir/build.make tests/client/CMakeFiles/torture_client_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_client_config.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Built target torture_threads_init /usr/bin/gmake -f tests/client/CMakeFiles/torture_connect.dir/build.make tests/client/CMakeFiles/torture_connect.dir/depend gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_config.dir/build.make tests/client/CMakeFiles/torture_client_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_connect.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Building C object tests/client/CMakeFiles/torture_client_config.dir/torture_client_config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_client_config.dir/torture_client_config.c.o -MF CMakeFiles/torture_client_config.dir/torture_client_config.c.o.d -o CMakeFiles/torture_client_config.dir/torture_client_config.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_client_config.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_connect.dir/build.make tests/client/CMakeFiles/torture_connect.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Building C object tests/client/CMakeFiles/torture_connect.dir/torture_connect.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_connect.dir/torture_connect.c.o -MF CMakeFiles/torture_connect.dir/torture_connect.c.o.d -o CMakeFiles/torture_connect.dir/torture_connect.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_connect.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Built target torture_rand /usr/bin/gmake -f tests/client/CMakeFiles/torture_hostkey.dir/build.make tests/client/CMakeFiles/torture_hostkey.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_hostkey.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_hostkey.dir/build.make tests/client/CMakeFiles/torture_hostkey.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Building C object tests/client/CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o -MF CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o.d -o CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_hostkey.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Built target torture_threads_crypto /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth.dir/build.make tests/client/CMakeFiles/torture_auth.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_auth.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth.dir/build.make tests/client/CMakeFiles/torture_auth.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 69%] Building C object tests/client/CMakeFiles/torture_auth.dir/torture_auth.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_auth.dir/torture_auth.c.o -MF CMakeFiles/torture_auth.dir/torture_auth.c.o.d -o CMakeFiles/torture_auth.dir/torture_auth.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_auth.c [ 69%] Linking C executable torture_connect cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_connect.dir/link.txt --verbose=1 [ 70%] Linking C executable torture_client_config cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_client_config.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_connect.dir/torture_connect.c.o -o torture_connect ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_client_config.dir/torture_client_config.c.o -o torture_client_config ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 70%] Linking C executable torture_hostkey cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_hostkey.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_hostkey.dir/torture_hostkey.c.o -o torture_hostkey ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 70%] Built target torture_threads_buffer /usr/bin/gmake -f tests/client/CMakeFiles/torture_rekey.dir/build.make tests/client/CMakeFiles/torture_rekey.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_rekey.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_rekey.dir/build.make tests/client/CMakeFiles/torture_rekey.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 70%] Building C object tests/client/CMakeFiles/torture_rekey.dir/torture_rekey.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_rekey.dir/torture_rekey.c.o -MF CMakeFiles/torture_rekey.dir/torture_rekey.c.o.d -o CMakeFiles/torture_rekey.dir/torture_rekey.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_rekey.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 70%] Built target torture_pki_ecdsa /usr/bin/gmake -f tests/client/CMakeFiles/torture_forward.dir/build.make tests/client/CMakeFiles/torture_forward.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_forward.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_forward.dir/build.make tests/client/CMakeFiles/torture_forward.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 70%] Building C object tests/client/CMakeFiles/torture_forward.dir/torture_forward.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_forward.dir/torture_forward.c.o -MF CMakeFiles/torture_forward.dir/torture_forward.c.o.d -o CMakeFiles/torture_forward.dir/torture_forward.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_forward.c [ 70%] Linking C executable torture_rekey cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_rekey.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_rekey.dir/torture_rekey.c.o -o torture_rekey ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 71%] Linking C executable torture_auth cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_auth.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_auth.dir/torture_auth.c.o -o torture_auth ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 71%] Built target torture_threads_pki_rsa /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts.dir/build.make tests/client/CMakeFiles/torture_knownhosts.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_knownhosts.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts.dir/build.make tests/client/CMakeFiles/torture_knownhosts.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 71%] Building C object tests/client/CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -Wno-deprecated-declarations -MD -MT tests/client/CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o -MF CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o.d -o CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_knownhosts.c [ 71%] Linking C executable torture_forward cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_forward.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_forward.dir/torture_forward.c.o -o torture_forward ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 71%] Built target torture_algorithms /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts_verify.dir/build.make tests/client/CMakeFiles/torture_knownhosts_verify.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_knownhosts_verify.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_knownhosts_verify.dir/build.make tests/client/CMakeFiles/torture_knownhosts_verify.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 71%] Building C object tests/client/CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o -MF CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o.d -o CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_knownhosts_verify.c [ 72%] Linking C executable torture_knownhosts cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_knownhosts.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_knownhosts.dir/torture_knownhosts.c.o -o torture_knownhosts ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 73%] Linking C executable torture_knownhosts_verify cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_knownhosts_verify.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_knownhosts_verify.dir/torture_knownhosts_verify.c.o -o torture_knownhosts_verify ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 73%] Built target torture_connect /usr/bin/gmake -f tests/client/CMakeFiles/torture_proxycommand.dir/build.make tests/client/CMakeFiles/torture_proxycommand.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_proxycommand.dir/DependInfo.cmake --color= [ 73%] Built target torture_hostkey /usr/bin/gmake -f tests/client/CMakeFiles/torture_session.dir/build.make tests/client/CMakeFiles/torture_session.dir/depend gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_session.dir/DependInfo.cmake --color= [ 73%] Built target torture_client_config /usr/bin/gmake -f tests/client/CMakeFiles/torture_request_env.dir/build.make tests/client/CMakeFiles/torture_request_env.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_request_env.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_session.dir/build.make tests/client/CMakeFiles/torture_session.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_request_env.dir/build.make tests/client/CMakeFiles/torture_request_env.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_proxycommand.dir/build.make tests/client/CMakeFiles/torture_proxycommand.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 73%] Building C object tests/client/CMakeFiles/torture_session.dir/torture_session.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_session.dir/torture_session.c.o -MF CMakeFiles/torture_session.dir/torture_session.c.o.d -o CMakeFiles/torture_session.dir/torture_session.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_session.c [ 73%] Building C object tests/client/CMakeFiles/torture_request_env.dir/torture_request_env.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_request_env.dir/torture_request_env.c.o -MF CMakeFiles/torture_request_env.dir/torture_request_env.c.o.d -o CMakeFiles/torture_request_env.dir/torture_request_env.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_request_env.c [ 73%] Building C object tests/client/CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o -MF CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o.d -o CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_proxycommand.c [ 74%] Linking C executable torture_request_env cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_request_env.dir/link.txt --verbose=1 [ 75%] Linking C executable torture_proxycommand cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_proxycommand.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_request_env.dir/torture_request_env.c.o -o torture_request_env ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_proxycommand.dir/torture_proxycommand.c.o -o torture_proxycommand ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 75%] Linking C executable torture_session cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_session.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_session.dir/torture_session.c.o -o torture_session ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Built target torture_rekey /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_global_requests.dir/build.make tests/client/CMakeFiles/torture_client_global_requests.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_client_global_requests.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_client_global_requests.dir/build.make tests/client/CMakeFiles/torture_client_global_requests.dir/build [ 75%] Built target torture_auth /usr/bin/gmake -f tests/client/CMakeFiles/torture_scp.dir/build.make tests/client/CMakeFiles/torture_scp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_scp.dir/DependInfo.cmake --color= [ 75%] Building C object tests/client/CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o -MF CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o.d -o CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_client_global_requests.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_scp.dir/build.make tests/client/CMakeFiles/torture_scp.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Building C object tests/client/CMakeFiles/torture_scp.dir/torture_scp.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_scp.dir/torture_scp.c.o -MF CMakeFiles/torture_scp.dir/torture_scp.c.o.d -o CMakeFiles/torture_scp.dir/torture_scp.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Built target torture_forward /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth_pkcs11.dir/build.make tests/client/CMakeFiles/torture_auth_pkcs11.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_auth_pkcs11.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_auth_pkcs11.dir/build.make tests/client/CMakeFiles/torture_auth_pkcs11.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Building C object tests/client/CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o -MF CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o.d -o CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_auth_pkcs11.c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c: In function 'torture_scp_upload': /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:188:5: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 188 | scp = ssh_scp_new(session, SSH_SCP_WRITE, ts->tmp_dir_basename); | ^~~ In file included from /builddir/build/BUILD/libssh-0.10.4/include/libssh/priv.h:169, from /builddir/build/BUILD/libssh-0.10.4/tests/torture.h:33, from /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:28: /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:191:5: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 191 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:199:5: warning: 'ssh_scp_push_file' is deprecated [-Wdeprecated-declarations] 199 | rc = ssh_scp_push_file(scp, "a", BUF_SIZE, 0644); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:571:31: note: declared here 571 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:202:5: warning: 'ssh_scp_write' is deprecated [-Wdeprecated-declarations] 202 | rc = ssh_scp_write(scp, expected_a, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:579:31: note: declared here 579 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:206:5: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 206 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:207:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 207 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c: In function 'torture_scp_upload_recursive': /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:252:5: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 252 | scp = ssh_scp_new(session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:256:5: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 256 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:260:5: warning: 'ssh_scp_push_directory' is deprecated [-Wdeprecated-declarations] 260 | rc = ssh_scp_push_directory(scp, "test_dir", 0755); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:570:31: note: declared here 570 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:267:5: warning: 'ssh_scp_push_file' is deprecated [-Wdeprecated-declarations] 267 | rc = ssh_scp_push_file(scp, "b", BUF_SIZE, 0644); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:571:31: note: declared here 571 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:270:5: warning: 'ssh_scp_write' is deprecated [-Wdeprecated-declarations] 270 | rc = ssh_scp_write(scp, expected_b, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:579:31: note: declared here 579 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:274:5: warning: 'ssh_scp_leave_directory' is deprecated [-Wdeprecated-declarations] 274 | rc = ssh_scp_leave_directory(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:567:31: note: declared here 567 | SSH_DEPRECATED LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:278:5: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 278 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:279:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 279 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c: In function 'torture_scp_download': /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:348:5: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 348 | scp = ssh_scp_new(session, SSH_SCP_READ, buf); | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:351:5: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 351 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:354:5: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 354 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:357:5: warning: 'ssh_scp_request_get_size' is deprecated [-Wdeprecated-declarations] 357 | size = ssh_scp_request_get_size(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:576:34: note: declared here 576 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:360:5: warning: 'ssh_scp_request_get_permissions' is deprecated [-Wdeprecated-declarations] 360 | mode = ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:575:31: note: declared here 575 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:363:5: warning: 'ssh_scp_request_get_filename' is deprecated [-Wdeprecated-declarations] 363 | remote_file = ssh_scp_request_get_filename(scp); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:574:39: note: declared here 574 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:367:5: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 367 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:562:31: note: declared here 562 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:370:5: warning: 'ssh_scp_read' is deprecated [-Wdeprecated-declarations] 370 | rc = ssh_scp_read(scp, buf, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:573:31: note: declared here 573 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:376:5: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 376 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:377:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 377 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c: In function 'torture_scp_download_recursive': /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:427:5: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 427 | scp = ssh_scp_new(session, SSH_SCP_READ | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:431:5: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 431 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:435:5: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 435 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:438:5: warning: 'ssh_scp_request_get_permissions' is deprecated [-Wdeprecated-declarations] 438 | mode = ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:575:31: note: declared here 575 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:441:5: warning: 'ssh_scp_request_get_filename' is deprecated [-Wdeprecated-declarations] 441 | remote_file = ssh_scp_request_get_filename(scp); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:574:39: note: declared here 574 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:445:5: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 445 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:562:31: note: declared here 562 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:449:5: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 449 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:452:5: warning: 'ssh_scp_request_get_size' is deprecated [-Wdeprecated-declarations] 452 | size = ssh_scp_request_get_size(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:576:34: note: declared here 576 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:455:5: warning: 'ssh_scp_request_get_permissions' is deprecated [-Wdeprecated-declarations] 455 | mode = ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:575:31: note: declared here 575 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:458:5: warning: 'ssh_scp_request_get_filename' is deprecated [-Wdeprecated-declarations] 458 | remote_file = ssh_scp_request_get_filename(scp); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:574:39: note: declared here 574 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:462:5: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 462 | rc = ssh_scp_accept_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:562:31: note: declared here 562 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:465:5: warning: 'ssh_scp_read' is deprecated [-Wdeprecated-declarations] 465 | rc = ssh_scp_read(scp, buf, BUF_SIZE); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:573:31: note: declared here 573 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:472:5: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 472 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:476:5: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 476 | rc = ssh_scp_pull_request(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:480:5: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 480 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:481:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 481 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c: In function 'torture_scp_upload_newline': /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:513:5: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 513 | scp = ssh_scp_new(session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:517:5: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 517 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:521:5: warning: 'ssh_scp_push_directory' is deprecated [-Wdeprecated-declarations] 521 | rc = ssh_scp_push_directory(scp, "test_inject", 0755); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:570:31: note: declared here 570 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:525:5: warning: 'ssh_scp_push_file' is deprecated [-Wdeprecated-declarations] 525 | rc = ssh_scp_push_file(scp, "original\nreplacedC0777 8 injected", 8, 0644); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:571:31: note: declared here 571 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:528:5: warning: 'ssh_scp_write' is deprecated [-Wdeprecated-declarations] 528 | rc = ssh_scp_write(scp, "original", 8); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:579:31: note: declared here 579 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:532:5: warning: 'ssh_scp_leave_directory' is deprecated [-Wdeprecated-declarations] 532 | rc = ssh_scp_leave_directory(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:567:31: note: declared here 567 | SSH_DEPRECATED LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:536:5: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 536 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:537:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 537 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c: In function 'torture_scp_upload_appended_command': /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:587:5: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 587 | scp = ssh_scp_new(session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:591:5: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 591 | rc = ssh_scp_init(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:595:5: warning: 'ssh_scp_push_directory' is deprecated [-Wdeprecated-declarations] 595 | rc = ssh_scp_push_directory(scp, ";touch hack", 0755); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:570:31: note: declared here 570 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:599:5: warning: 'ssh_scp_push_file' is deprecated [-Wdeprecated-declarations] 599 | rc = ssh_scp_push_file(scp, "original", 8, 0644); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:571:31: note: declared here 571 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:602:5: warning: 'ssh_scp_write' is deprecated [-Wdeprecated-declarations] 602 | rc = ssh_scp_write(scp, "original", 8); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:579:31: note: declared here 579 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:606:5: warning: 'ssh_scp_leave_directory' is deprecated [-Wdeprecated-declarations] 606 | rc = ssh_scp_leave_directory(scp); | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:567:31: note: declared here 567 | SSH_DEPRECATED LIBSSH_API int ssh_scp_leave_directory(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:610:5: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 610 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_scp.c:611:5: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 611 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ [ 75%] Linking C executable torture_client_global_requests cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_client_global_requests.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_client_global_requests.dir/torture_client_global_requests.c.o -o torture_client_global_requests ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 75%] Linking C executable torture_scp cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_scp.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_scp.dir/torture_scp.c.o -o torture_scp ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 75%] Linking C executable torture_auth_pkcs11 cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_auth_pkcs11.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_auth_pkcs11.dir/torture_auth_pkcs11.c.o -o torture_auth_pkcs11 ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Built target torture_knownhosts /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_init.dir/build.make tests/client/CMakeFiles/torture_sftp_init.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_init.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_init.dir/build.make tests/client/CMakeFiles/torture_sftp_init.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Building C object tests/client/CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o -MF CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o.d -o CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_sftp_init.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Built target torture_knownhosts_verify /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_ext.dir/build.make tests/client/CMakeFiles/torture_sftp_ext.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_ext.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_ext.dir/build.make tests/client/CMakeFiles/torture_sftp_ext.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Building C object tests/client/CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o -MF CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o.d -o CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_sftp_ext.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Built target torture_proxycommand /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/build.make tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/depend [ 75%] Built target torture_request_env /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_dir.dir/build.make tests/client/CMakeFiles/torture_sftp_dir.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_dir.dir/DependInfo.cmake --color= [ 75%] Built target torture_session /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_read.dir/build.make tests/client/CMakeFiles/torture_sftp_read.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_read.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/build.make tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_read.dir/build.make tests/client/CMakeFiles/torture_sftp_read.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_dir.dir/build.make tests/client/CMakeFiles/torture_sftp_dir.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 75%] Building C object tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o -MF CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o.d -o CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_sftp_canonicalize_path.c [ 76%] Building C object tests/client/CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o -MF CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o.d -o CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_sftp_read.c [ 76%] Building C object tests/client/CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o -MF CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o.d -o CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_sftp_dir.c [ 76%] Linking C executable torture_sftp_init cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_init.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_sftp_init.dir/torture_sftp_init.c.o -o torture_sftp_init ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 76%] Linking C executable torture_sftp_ext cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_ext.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_sftp_ext.dir/torture_sftp_ext.c.o -o torture_sftp_ext ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 76%] Built target torture_client_global_requests /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_fsync.dir/build.make tests/client/CMakeFiles/torture_sftp_fsync.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client/CMakeFiles/torture_sftp_fsync.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/client/CMakeFiles/torture_sftp_fsync.dir/build.make tests/client/CMakeFiles/torture_sftp_fsync.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 77%] Building C object tests/client/CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client -I/builddir/build/BUILD/libssh-0.10.4/tests/client -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/client/CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o -MF CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o.d -o CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/client/torture_sftp_fsync.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 77%] Built target torture_scp /usr/bin/gmake -f tests/external_override/CMakeFiles/torture_override.dir/build.make tests/external_override/CMakeFiles/torture_override.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override/CMakeFiles/torture_override.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/external_override/CMakeFiles/torture_override.dir/build.make tests/external_override/CMakeFiles/torture_override.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 77%] Building C object tests/external_override/CMakeFiles/torture_override.dir/torture_override.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/tests/external_override -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -DSHOULD_CALL_INTERNAL_CHACHAPOLY=0 -DSHOULD_CALL_INTERNAL_ED25519=0 -DSHOULD_CALL_INTERNAL_CURVE25519=0 -MD -MT tests/external_override/CMakeFiles/torture_override.dir/torture_override.c.o -MF CMakeFiles/torture_override.dir/torture_override.c.o.d -o CMakeFiles/torture_override.dir/torture_override.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/external_override/torture_override.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 77%] Built target torture_auth_pkcs11 /usr/bin/gmake -f tests/server/CMakeFiles/torture_server.dir/build.make tests/server/CMakeFiles/torture_server.dir/depend [ 77%] Linking C executable torture_sftp_read cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_read.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/CMakeFiles/torture_server.dir/DependInfo.cmake --color= /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_sftp_read.dir/torture_sftp_read.c.o -o torture_sftp_read ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server.dir/build.make tests/server/CMakeFiles/torture_server.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 77%] Linking C executable torture_sftp_canonicalize_path [ 78%] Building C object tests/server/CMakeFiles/torture_server.dir/torture_server.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_canonicalize_path.dir/link.txt --verbose=1 cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.10.4/tests/server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server.dir/torture_server.c.o -MF CMakeFiles/torture_server.dir/torture_server.c.o.d -o CMakeFiles/torture_server.dir/torture_server.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/torture_server.c [ 79%] Linking C executable torture_sftp_dir cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_dir.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_sftp_canonicalize_path.dir/torture_sftp_canonicalize_path.c.o -o torture_sftp_canonicalize_path ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_sftp_dir.dir/torture_sftp_dir.c.o -o torture_sftp_dir ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 80%] Linking C executable torture_override cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/external_override && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_override.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_override.dir/torture_override.c.o -o torture_override -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../../lib/libtorture_shared.so ../../lib/libchacha20_override.so ../../lib/libpoly1305_override.so ../../lib/libed25519_override.so ../../lib/libcurve25519_override.so /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so -Wl,--wrap=chacha_keysetup -Wl,--wrap=chacha_ivsetup -Wl,--wrap=chacha_encrypt_bytes -Wl,--wrap=poly1305_auth -Wl,--wrap=crypto_sign_ed25519_keypair -Wl,--wrap=crypto_sign_ed25519 -Wl,--wrap=crypto_sign_ed25519_open -Wl,--wrap=crypto_scalarmult_base -Wl,--wrap=crypto_scalarmult [ 80%] Linking C executable torture_server cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_server.dir/torture_server.c.o -o torture_server ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 80%] Built target torture_override /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_auth_kbdint.dir/build.make tests/server/CMakeFiles/torture_server_auth_kbdint.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/CMakeFiles/torture_server_auth_kbdint.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_auth_kbdint.dir/build.make tests/server/CMakeFiles/torture_server_auth_kbdint.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 81%] Building C object tests/server/CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.10.4/tests/server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o -MF CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o.d -o CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/torture_server_auth_kbdint.c [ 81%] Linking C executable torture_server_auth_kbdint cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_auth_kbdint.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_server_auth_kbdint.dir/torture_server_auth_kbdint.c.o -o torture_server_auth_kbdint ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 81%] Linking C executable torture_sftp_fsync cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/client && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_sftp_fsync.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_sftp_fsync.dir/torture_sftp_fsync.c.o -o torture_sftp_fsync ../libtorture.a /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 81%] Built target torture_sftp_init /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_config.dir/build.make tests/server/CMakeFiles/torture_server_config.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/CMakeFiles/torture_server_config.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_config.dir/build.make tests/server/CMakeFiles/torture_server_config.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 81%] Building C object tests/server/CMakeFiles/torture_server_config.dir/torture_server_config.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.10.4/tests/server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_config.dir/torture_server_config.c.o -MF CMakeFiles/torture_server_config.dir/torture_server_config.c.o.d -o CMakeFiles/torture_server_config.dir/torture_server_config.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/torture_server_config.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 81%] Built target torture_sftp_ext /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_algorithms.dir/build.make tests/server/CMakeFiles/torture_server_algorithms.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/CMakeFiles/torture_server_algorithms.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/server/CMakeFiles/torture_server_algorithms.dir/build.make tests/server/CMakeFiles/torture_server_algorithms.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 81%] Building C object tests/server/CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server -I/builddir/build/BUILD/libssh-0.10.4/tests/server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o -MF CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o.d -o CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/torture_server_algorithms.c [ 81%] Linking C executable torture_server_algorithms cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_algorithms.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_server_algorithms.dir/torture_server_algorithms.c.o -o torture_server_algorithms ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so [ 81%] Built target torture_sftp_read /usr/bin/gmake -f tests/server/test_server/CMakeFiles/test_server.dir/build.make tests/server/test_server/CMakeFiles/test_server.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/tests/server/test_server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server/CMakeFiles/test_server.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f tests/server/test_server/CMakeFiles/test_server.dir/build.make tests/server/test_server/CMakeFiles/test_server.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 81%] Built target torture_sftp_canonicalize_path /usr/bin/gmake -f examples/CMakeFiles/libssh_scp.dir/build.make examples/CMakeFiles/libssh_scp.dir/depend [ 82%] Building C object tests/server/test_server/CMakeFiles/test_server.dir/main.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server && /usr/bin/gcc -DOPENSSH_VERSION_MAJOR=8 -DOPENSSH_VERSION_MINOR=8 -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server -I/builddir/build/BUILD/libssh-0.10.4/tests/server/test_server -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/src -I/builddir/build/BUILD/libssh-0.10.4/include -I/builddir/build/BUILD/libssh-0.10.4/tests -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT tests/server/test_server/CMakeFiles/test_server.dir/main.c.o -MF CMakeFiles/test_server.dir/main.c.o.d -o CMakeFiles/test_server.dir/main.c.o -c /builddir/build/BUILD/libssh-0.10.4/tests/server/test_server/main.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/libssh_scp.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/libssh_scp.dir/build.make examples/CMakeFiles/libssh_scp.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 82%] Building C object examples/CMakeFiles/libssh_scp.dir/libssh_scp.c.o [ 83%] Linking C executable torture_server_config cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/libssh_scp.c.o -MF CMakeFiles/libssh_scp.dir/libssh_scp.c.o.d -o CMakeFiles/libssh_scp.dir/libssh_scp.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/torture_server_config.dir/link.txt --verbose=1 [ 83%] Built target torture_sftp_dir /usr/bin/gmake -f examples/CMakeFiles/scp_download.dir/build.make examples/CMakeFiles/scp_download.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/scp_download.dir/DependInfo.cmake --color= /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/torture_server_config.dir/torture_server_config.c.o -o torture_server_config ../libtorture.a test_server/libtestserver.a -lutil /usr/lib64/libcmocka.so ../../src/libssh.a -lrt /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libgssapi_krb5.so /usr/lib64/libkrb5.so /usr/lib64/libk5crypto.so /usr/lib64/libcom_err.so gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/scp_download.dir/build.make examples/CMakeFiles/scp_download.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 83%] Building C object examples/CMakeFiles/scp_download.dir/scp_download.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/scp_download.c.o -MF CMakeFiles/scp_download.dir/scp_download.c.o.d -o CMakeFiles/scp_download.dir/scp_download.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c: In function 'close_location': /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:156:17: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 156 | rc = ssh_scp_close(loc->scp); | ^~ In file included from /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:22: /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:162:17: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 162 | ssh_scp_free(loc->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c: In function 'open_location': /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:187:9: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 187 | loc->scp = ssh_scp_new(loc->session, SSH_SCP_WRITE, loc->path); | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:196:9: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 196 | if (ssh_scp_init(loc->scp) == SSH_ERROR) { | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:198:13: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 198 | ssh_scp_free(loc->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:213:9: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 213 | loc->scp = ssh_scp_new(loc->session, SSH_SCP_READ, loc->path); | ^~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:222:9: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 222 | if (ssh_scp_init(loc->scp) == SSH_ERROR) { | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:224:13: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 224 | ssh_scp_free(loc->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c: In function 'do_copy': /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:290:13: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 290 | r = ssh_scp_pull_request(src->scp); | ^ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:292:17: warning: 'ssh_scp_deny_request' is deprecated [-Wdeprecated-declarations] 292 | ssh_scp_deny_request(src->scp, "Not in recursive mode"); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:564:31: note: declared here 564 | SSH_DEPRECATED LIBSSH_API int ssh_scp_deny_request(ssh_scp scp, const char *reason); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:296:17: warning: 'ssh_scp_request_get_size' is deprecated [-Wdeprecated-declarations] 296 | size = ssh_scp_request_get_size(src->scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:576:34: note: declared here 576 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:297:17: warning: 'ssh_scp_request_get_filename' is deprecated [-Wdeprecated-declarations] 297 | filename = strdup(ssh_scp_request_get_filename(src->scp)); | ^~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:574:39: note: declared here 574 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:298:17: warning: 'ssh_scp_request_get_permissions' is deprecated [-Wdeprecated-declarations] 298 | mode = ssh_scp_request_get_permissions(src->scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:575:31: note: declared here 575 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:313:9: warning: 'ssh_scp_push_file' is deprecated [-Wdeprecated-declarations] 313 | r = ssh_scp_push_file(dest->scp, src->path, size, mode); | ^ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:571:31: note: declared here 571 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:320:13: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 320 | ssh_scp_free(dest->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:332:21: warning: 'ssh_scp_deny_request' is deprecated [-Wdeprecated-declarations] 332 | ssh_scp_deny_request(src->scp, "Cannot open local file"); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:564:31: note: declared here 564 | SSH_DEPRECATED LIBSSH_API int ssh_scp_deny_request(ssh_scp scp, const char *reason); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:339:13: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 339 | ssh_scp_accept_request(src->scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:562:31: note: declared here 562 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:345:13: warning: 'ssh_scp_read' is deprecated [-Wdeprecated-declarations] 345 | r = ssh_scp_read(src->scp, buffer, sizeof(buffer)); | ^ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:573:31: note: declared here 573 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:373:13: warning: 'ssh_scp_write' is deprecated [-Wdeprecated-declarations] 373 | w = ssh_scp_write(dest->scp, buffer, r); | ^ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:579:31: note: declared here 579 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/libssh_scp.c:378:17: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 378 | ssh_scp_free(dest->scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c: In function 'fetch_files': /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:113:3: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations] 113 | ssh_scp scp=ssh_scp_new(session, SSH_SCP_READ | SSH_SCP_RECURSIVE, "/tmp/libssh_tests/*"); | ^~~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:22: /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:568:35: note: declared here 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location); | ^~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:114:3: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations] 114 | if(ssh_scp_init(scp) != SSH_OK){ | ^~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:566:31: note: declared here 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:116:11: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 116 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:122:11: warning: 'ssh_scp_pull_request' is deprecated [-Wdeprecated-declarations] 122 | r=ssh_scp_pull_request(scp); | ^ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:569:31: note: declared here 569 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:125:19: warning: 'ssh_scp_request_get_size' is deprecated [-Wdeprecated-declarations] 125 | size=ssh_scp_request_get_size(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:576:34: note: declared here 576 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:126:19: warning: 'ssh_scp_request_get_filename' is deprecated [-Wdeprecated-declarations] 126 | filename=strdup(ssh_scp_request_get_filename(scp)); | ^~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:574:39: note: declared here 574 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:127:19: warning: 'ssh_scp_request_get_permissions' is deprecated [-Wdeprecated-declarations] 127 | mode=ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:575:31: note: declared here 575 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:130:19: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 130 | ssh_scp_accept_request(scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:562:31: note: declared here 562 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:131:19: warning: 'ssh_scp_read' is deprecated [-Wdeprecated-declarations] 131 | r=ssh_scp_read(scp,buffer,sizeof(buffer)); | ^ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:573:31: note: declared here 573 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer, size_t size); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:134:27: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 134 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:135:27: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 135 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:142:19: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 142 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:143:19: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 143 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:146:19: warning: 'ssh_scp_request_get_warning' is deprecated [-Wdeprecated-declarations] 146 | fprintf(stderr,"Warning: %s\n",ssh_scp_request_get_warning(scp)); | ^~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:578:39: note: declared here 578 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_warning(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:149:19: warning: 'ssh_scp_request_get_filename' is deprecated [-Wdeprecated-declarations] 149 | filename=strdup(ssh_scp_request_get_filename(scp)); | ^~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:574:39: note: declared here 574 | SSH_DEPRECATED LIBSSH_API const char *ssh_scp_request_get_filename(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:150:19: warning: 'ssh_scp_request_get_permissions' is deprecated [-Wdeprecated-declarations] 150 | mode=ssh_scp_request_get_permissions(scp); | ^~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:575:31: note: declared here 575 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:153:19: warning: 'ssh_scp_accept_request' is deprecated [-Wdeprecated-declarations] 153 | ssh_scp_accept_request(scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:562:31: note: declared here 562 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:164:3: warning: 'ssh_scp_close' is deprecated [-Wdeprecated-declarations] 164 | ssh_scp_close(scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:563:31: note: declared here 563 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp); | ^~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/scp_download.c:165:3: warning: 'ssh_scp_free' is deprecated [-Wdeprecated-declarations] 165 | ssh_scp_free(scp); | ^~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/libssh.h:565:32: note: declared here 565 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp); | ^~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 83%] Built target torture_server /usr/bin/gmake -f examples/CMakeFiles/sshnetcat.dir/build.make examples/CMakeFiles/sshnetcat.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/sshnetcat.dir/DependInfo.cmake --color= [ 83%] Linking C executable test_server cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/tests/server/test_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_server.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/sshnetcat.dir/build.make examples/CMakeFiles/sshnetcat.dir/build [ 83%] Building C object examples/CMakeFiles/scp_download.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/authentication.c.o -MF CMakeFiles/scp_download.dir/authentication.c.o.d -o CMakeFiles/scp_download.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c [ 84%] Building C object examples/CMakeFiles/libssh_scp.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/authentication.c.o -MF CMakeFiles/libssh_scp.dir/authentication.c.o.d -o CMakeFiles/libssh_scp.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/test_server.dir/main.c.o -o test_server -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib libtestserver.a ../../../lib/libssh.so.4.9.4 -lutil [ 84%] Building C object examples/CMakeFiles/sshnetcat.dir/sshnetcat.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/sshnetcat.c.o -MF CMakeFiles/sshnetcat.dir/sshnetcat.c.o.d -o CMakeFiles/sshnetcat.dir/sshnetcat.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/sshnetcat.c [ 85%] Building C object examples/CMakeFiles/scp_download.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/knownhosts.c.o -MF CMakeFiles/scp_download.dir/knownhosts.c.o.d -o CMakeFiles/scp_download.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c [ 85%] Building C object examples/CMakeFiles/libssh_scp.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/knownhosts.c.o -MF CMakeFiles/libssh_scp.dir/knownhosts.c.o.d -o CMakeFiles/libssh_scp.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c [ 86%] Building C object examples/CMakeFiles/sshnetcat.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/authentication.c.o -MF CMakeFiles/sshnetcat.dir/authentication.c.o.d -o CMakeFiles/sshnetcat.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c [ 86%] Building C object examples/CMakeFiles/libssh_scp.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/libssh_scp.dir/connect_ssh.c.o -MF CMakeFiles/libssh_scp.dir/connect_ssh.c.o.d -o CMakeFiles/libssh_scp.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c [ 86%] Building C object examples/CMakeFiles/scp_download.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/scp_download.dir/connect_ssh.c.o -MF CMakeFiles/scp_download.dir/connect_ssh.c.o.d -o CMakeFiles/scp_download.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c [ 86%] Building C object examples/CMakeFiles/sshnetcat.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/knownhosts.c.o -MF CMakeFiles/sshnetcat.dir/knownhosts.c.o.d -o CMakeFiles/sshnetcat.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 86%] Built target test_server [ 86%] Linking C executable scp_download [ 86%] Linking C executable libssh_scp cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp_download.dir/link.txt --verbose=1 cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/libssh_scp.dir/link.txt --verbose=1 [ 86%] Building C object examples/CMakeFiles/sshnetcat.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshnetcat.dir/connect_ssh.c.o -MF CMakeFiles/sshnetcat.dir/connect_ssh.c.o.d -o CMakeFiles/sshnetcat.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/scp_download.dir/scp_download.c.o CMakeFiles/scp_download.dir/authentication.c.o CMakeFiles/scp_download.dir/knownhosts.c.o CMakeFiles/scp_download.dir/connect_ssh.c.o -o scp_download -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/libssh_scp.dir/libssh_scp.c.o CMakeFiles/libssh_scp.dir/authentication.c.o CMakeFiles/libssh_scp.dir/knownhosts.c.o CMakeFiles/libssh_scp.dir/connect_ssh.c.o -o libssh_scp -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesftp.dir/build.make examples/CMakeFiles/samplesftp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/samplesftp.dir/DependInfo.cmake --color= [ 86%] Built target torture_sftp_fsync /usr/bin/gmake -f examples/CMakeFiles/ssh-client.dir/build.make examples/CMakeFiles/ssh-client.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/ssh-client.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesftp.dir/build.make examples/CMakeFiles/samplesftp.dir/build [ 86%] Linking C executable sshnetcat cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/sshnetcat.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh-client.dir/build.make examples/CMakeFiles/ssh-client.dir/build /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/sshnetcat.dir/sshnetcat.c.o CMakeFiles/sshnetcat.dir/authentication.c.o CMakeFiles/sshnetcat.dir/knownhosts.c.o CMakeFiles/sshnetcat.dir/connect_ssh.c.o -o sshnetcat -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 87%] Building C object examples/CMakeFiles/samplesftp.dir/samplesftp.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/samplesftp.c.o -MF CMakeFiles/samplesftp.dir/samplesftp.c.o.d -o CMakeFiles/samplesftp.dir/samplesftp.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/samplesftp.c [ 87%] Building C object examples/CMakeFiles/ssh-client.dir/ssh_client.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/ssh_client.c.o -MF CMakeFiles/ssh-client.dir/ssh_client.c.o.d -o CMakeFiles/ssh-client.dir/ssh_client.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/ssh_client.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 87%] Built target torture_server_auth_kbdint /usr/bin/gmake -f examples/CMakeFiles/ssh-X11-client.dir/build.make examples/CMakeFiles/ssh-X11-client.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/ssh-X11-client.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh-X11-client.dir/build.make examples/CMakeFiles/ssh-X11-client.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 87%] Built target scp_download [ 88%] Building C object examples/CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o -MF CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o.d -o CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/ssh_X11_client.c [ 88%] Building C object examples/CMakeFiles/ssh-client.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/authentication.c.o -MF CMakeFiles/ssh-client.dir/authentication.c.o.d -o CMakeFiles/ssh-client.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 88%] Built target libssh_scp [ 88%] Building C object examples/CMakeFiles/ssh-X11-client.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/authentication.c.o -MF CMakeFiles/ssh-X11-client.dir/authentication.c.o.d -o CMakeFiles/ssh-X11-client.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c [ 88%] Building C object examples/CMakeFiles/samplesftp.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/authentication.c.o -MF CMakeFiles/samplesftp.dir/authentication.c.o.d -o CMakeFiles/samplesftp.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 88%] Building C object examples/CMakeFiles/samplesftp.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/knownhosts.c.o -MF CMakeFiles/samplesftp.dir/knownhosts.c.o.d -o CMakeFiles/samplesftp.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c [ 88%] Built target sshnetcat [ 88%] Building C object examples/CMakeFiles/samplesftp.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesftp.dir/connect_ssh.c.o -MF CMakeFiles/samplesftp.dir/connect_ssh.c.o.d -o CMakeFiles/samplesftp.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c [ 89%] Building C object examples/CMakeFiles/ssh-client.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/knownhosts.c.o -MF CMakeFiles/ssh-client.dir/knownhosts.c.o.d -o CMakeFiles/ssh-client.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c [ 89%] Building C object examples/CMakeFiles/ssh-client.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-client.dir/connect_ssh.c.o -MF CMakeFiles/ssh-client.dir/connect_ssh.c.o.d -o CMakeFiles/ssh-client.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c /usr/bin/gmake -f examples/CMakeFiles/ssh_server_fork.dir/build.make examples/CMakeFiles/ssh_server_fork.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/ssh_server_fork.dir/DependInfo.cmake --color= /usr/bin/gmake -f examples/CMakeFiles/ssh_server_pthread.dir/build.make examples/CMakeFiles/ssh_server_pthread.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/ssh_server_pthread.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh_server_fork.dir/build.make examples/CMakeFiles/ssh_server_fork.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/ssh_server_pthread.dir/build.make examples/CMakeFiles/ssh_server_pthread.dir/build [ 90%] Linking C executable samplesftp cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/samplesftp.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 91%] Building C object examples/CMakeFiles/ssh_server_fork.dir/ssh_server.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -DWITH_FORK -MD -MT examples/CMakeFiles/ssh_server_fork.dir/ssh_server.c.o -MF CMakeFiles/ssh_server_fork.dir/ssh_server.c.o.d -o CMakeFiles/ssh_server_fork.dir/ssh_server.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/ssh_server.c [ 91%] Building C object examples/CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o -MF CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o.d -o CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/ssh_server.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/samplesftp.dir/samplesftp.c.o CMakeFiles/samplesftp.dir/authentication.c.o CMakeFiles/samplesftp.dir/knownhosts.c.o CMakeFiles/samplesftp.dir/connect_ssh.c.o -o samplesftp -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 /usr/bin/gmake -f examples/CMakeFiles/proxy.dir/build.make examples/CMakeFiles/proxy.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/proxy.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 91%] Linking C executable ssh-client /usr/bin/gmake -f examples/CMakeFiles/proxy.dir/build.make examples/CMakeFiles/proxy.dir/build cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh-client.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/ssh-client.dir/ssh_client.c.o CMakeFiles/ssh-client.dir/authentication.c.o CMakeFiles/ssh-client.dir/knownhosts.c.o CMakeFiles/ssh-client.dir/connect_ssh.c.o -o ssh-client -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 91%] Building C object examples/CMakeFiles/proxy.dir/proxy.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/proxy.dir/proxy.c.o -MF CMakeFiles/proxy.dir/proxy.c.o.d -o CMakeFiles/proxy.dir/proxy.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/proxy.c [ 91%] Building C object examples/CMakeFiles/ssh-X11-client.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/knownhosts.c.o -MF CMakeFiles/ssh-X11-client.dir/knownhosts.c.o.d -o CMakeFiles/ssh-X11-client.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c [ 91%] Building C object examples/CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o -MF CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o.d -o CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c [ 91%] Linking C executable proxy cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/proxy.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/proxy.dir/proxy.c.o -o proxy -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 91%] Linking C executable ssh_server_fork cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh_server_fork.dir/link.txt --verbose=1 [ 91%] Built target samplesftp /usr/bin/gmake -f examples/CMakeFiles/sshd_direct-tcpip.dir/build.make examples/CMakeFiles/sshd_direct-tcpip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/sshd_direct-tcpip.dir/DependInfo.cmake --color= /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/ssh_server_fork.dir/ssh_server.c.o -o ssh_server_fork -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 -lutil [ 92%] Linking C executable ssh_server_pthread cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh_server_pthread.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/sshd_direct-tcpip.dir/build.make examples/CMakeFiles/sshd_direct-tcpip.dir/build [ 93%] Linking C executable ssh-X11-client cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/ssh-X11-client.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/ssh_server_pthread.dir/ssh_server.c.o -o ssh_server_pthread -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 -lpthread -lutil [ 93%] Building C object examples/CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o -MF CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o.d -o CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/sshd_direct-tcpip.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/ssh-X11-client.dir/ssh_X11_client.c.o CMakeFiles/ssh-X11-client.dir/authentication.c.o CMakeFiles/ssh-X11-client.dir/knownhosts.c.o CMakeFiles/ssh-X11-client.dir/connect_ssh.c.o -o ssh-X11-client -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 93%] Built target ssh-client /usr/bin/gmake -f examples/CMakeFiles/samplesshd-kbdint.dir/build.make examples/CMakeFiles/samplesshd-kbdint.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/samplesshd-kbdint.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesshd-kbdint.dir/build.make examples/CMakeFiles/samplesshd-kbdint.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 93%] Building C object examples/CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o -MF CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o.d -o CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/samplesshd-kbdint.c /builddir/build/BUILD/libssh-0.10.4/examples/samplesshd-kbdint.c: In function 'authenticate': /builddir/build/BUILD/libssh-0.10.4/examples/samplesshd-kbdint.c:240:32: warning: 'ssh_message_auth_password' is deprecated [-Wdeprecated-declarations] 240 | ssh_message_auth_password(message)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libssh-0.10.4/examples/samplesshd-kbdint.c:18: /builddir/build/BUILD/libssh-0.10.4/include/libssh/server.h:302:39: note: declared here 302 | SSH_DEPRECATED LIBSSH_API const char *ssh_message_auth_password(ssh_message msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/examples/samplesshd-kbdint.c:242:28: warning: 'ssh_message_auth_password' is deprecated [-Wdeprecated-declarations] 242 | ssh_message_auth_password(message))){ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libssh-0.10.4/include/libssh/server.h:302:39: note: declared here 302 | SSH_DEPRECATED LIBSSH_API const char *ssh_message_auth_password(ssh_message msg); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 93%] Built target proxy /usr/bin/gmake -f examples/CMakeFiles/keygen2.dir/build.make examples/CMakeFiles/keygen2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/keygen2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/keygen2.dir/build.make examples/CMakeFiles/keygen2.dir/build [ 94%] Linking C executable samplesshd-kbdint cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/samplesshd-kbdint.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/samplesshd-kbdint.dir/samplesshd-kbdint.c.o -o samplesshd-kbdint -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 94%] Linking C executable sshd_direct-tcpip [ 94%] Building C object examples/CMakeFiles/keygen2.dir/keygen2.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/keygen2.c.o -MF CMakeFiles/keygen2.dir/keygen2.c.o.d -o CMakeFiles/keygen2.dir/keygen2.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/keygen2.c cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/sshd_direct-tcpip.dir/link.txt --verbose=1 [ 94%] Built target ssh_server_fork [ 94%] Built target ssh_server_pthread /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/sshd_direct-tcpip.dir/sshd_direct-tcpip.c.o -o sshd_direct-tcpip -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 94%] Building C object examples/CMakeFiles/keygen2.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/authentication.c.o -MF CMakeFiles/keygen2.dir/authentication.c.o.d -o CMakeFiles/keygen2.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c [ 94%] Building C object examples/CMakeFiles/keygen2.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/knownhosts.c.o -MF CMakeFiles/keygen2.dir/knownhosts.c.o.d -o CMakeFiles/keygen2.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 94%] Built target ssh-X11-client [ 95%] Building C object examples/CMakeFiles/keygen2.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen2.dir/connect_ssh.c.o -MF CMakeFiles/keygen2.dir/connect_ssh.c.o.d -o CMakeFiles/keygen2.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c /usr/bin/gmake -f examples/CMakeFiles/samplesshd-cb.dir/build.make examples/CMakeFiles/samplesshd-cb.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/samplesshd-cb.dir/DependInfo.cmake --color= /usr/bin/gmake -f examples/CMakeFiles/exec.dir/build.make examples/CMakeFiles/exec.dir/depend gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/samplesshd-cb.dir/build.make examples/CMakeFiles/samplesshd-cb.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/exec.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/senddata.dir/build.make examples/CMakeFiles/senddata.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/senddata.dir/DependInfo.cmake --color= [ 95%] Building C object examples/CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o -MF CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o.d -o CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/samplesshd-cb.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/exec.dir/build.make examples/CMakeFiles/exec.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 95%] Linking C executable keygen2 cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/keygen2.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/senddata.dir/build.make examples/CMakeFiles/senddata.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 95%] Building C object examples/CMakeFiles/exec.dir/exec.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/exec.c.o -MF CMakeFiles/exec.dir/exec.c.o.d -o CMakeFiles/exec.dir/exec.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/exec.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/keygen2.dir/keygen2.c.o CMakeFiles/keygen2.dir/authentication.c.o CMakeFiles/keygen2.dir/knownhosts.c.o CMakeFiles/keygen2.dir/connect_ssh.c.o -o keygen2 -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 95%] Built target samplesshd-kbdint /usr/bin/gmake -f examples/CMakeFiles/keygen.dir/build.make examples/CMakeFiles/keygen.dir/depend [ 95%] Building C object examples/CMakeFiles/senddata.dir/senddata.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/senddata.c.o -MF CMakeFiles/senddata.dir/senddata.c.o.d -o CMakeFiles/senddata.dir/senddata.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/senddata.c gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/keygen.dir/DependInfo.cmake --color= [ 95%] Built target torture_server_algorithms gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/keygen.dir/build.make examples/CMakeFiles/keygen.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 95%] Building C object examples/CMakeFiles/exec.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/authentication.c.o -MF CMakeFiles/exec.dir/authentication.c.o.d -o CMakeFiles/exec.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c [ 95%] Built target sshd_direct-tcpip [ 95%] Building C object examples/CMakeFiles/keygen.dir/keygen.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/keygen.dir/keygen.c.o -MF CMakeFiles/keygen.dir/keygen.c.o.d -o CMakeFiles/keygen.dir/keygen.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/keygen.c [ 95%] Building C object examples/CMakeFiles/exec.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/knownhosts.c.o -MF CMakeFiles/exec.dir/knownhosts.c.o.d -o CMakeFiles/exec.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c /usr/bin/gmake -f examples/CMakeFiles/libsshpp.dir/build.make examples/CMakeFiles/libsshpp.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/libsshpp.dir/DependInfo.cmake --color= [ 96%] Building C object examples/CMakeFiles/senddata.dir/authentication.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/authentication.c.o -MF CMakeFiles/senddata.dir/authentication.c.o.d -o CMakeFiles/senddata.dir/authentication.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/authentication.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/libsshpp.dir/build.make examples/CMakeFiles/libsshpp.dir/build [ 96%] Linking C executable samplesshd-cb cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/samplesshd-cb.dir/link.txt --verbose=1 gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 96%] Built target torture_server_config /usr/bin/gmake -f examples/CMakeFiles/libsshpp_noexcept.dir/build.make examples/CMakeFiles/libsshpp_noexcept.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libssh-0.10.4 /builddir/build/BUILD/libssh-0.10.4/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples/CMakeFiles/libsshpp_noexcept.dir/DependInfo.cmake --color= /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/samplesshd-cb.dir/samplesshd-cb.c.o -o samplesshd-cb -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 97%] Building CXX object examples/CMakeFiles/libsshpp.dir/libsshpp.cpp.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/g++ -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -MD -MT examples/CMakeFiles/libsshpp.dir/libsshpp.cpp.o -MF CMakeFiles/libsshpp.dir/libsshpp.cpp.o.d -o CMakeFiles/libsshpp.dir/libsshpp.cpp.o -c /builddir/build/BUILD/libssh-0.10.4/examples/libsshpp.cpp [ 98%] Linking C executable keygen cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/keygen.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/libsshpp_noexcept.dir/build.make examples/CMakeFiles/libsshpp_noexcept.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/keygen.dir/keygen.c.o -o keygen -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 98%] Building CXX object examples/CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/g++ -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -MD -MT examples/CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o -MF CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o.d -o CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o -c /builddir/build/BUILD/libssh-0.10.4/examples/libsshpp_noexcept.cpp [ 98%] Building C object examples/CMakeFiles/senddata.dir/knownhosts.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/knownhosts.c.o -MF CMakeFiles/senddata.dir/knownhosts.c.o.d -o CMakeFiles/senddata.dir/knownhosts.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/knownhosts.c [ 99%] Building C object examples/CMakeFiles/exec.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/exec.dir/connect_ssh.c.o -MF CMakeFiles/exec.dir/connect_ssh.c.o.d -o CMakeFiles/exec.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c [ 99%] Building C object examples/CMakeFiles/senddata.dir/connect_ssh.c.o cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/gcc -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples -I/builddir/build/BUILD/libssh-0.10.4/examples -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/include -I/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build -I/builddir/build/BUILD/libssh-0.10.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT examples/CMakeFiles/senddata.dir/connect_ssh.c.o -MF CMakeFiles/senddata.dir/connect_ssh.c.o.d -o CMakeFiles/senddata.dir/connect_ssh.c.o -c /builddir/build/BUILD/libssh-0.10.4/examples/connect_ssh.c gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [ 99%] Built target keygen2 [ 99%] Linking C executable exec cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/exec.dir/link.txt --verbose=1 [ 99%] Built target keygen gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/exec.dir/exec.c.o CMakeFiles/exec.dir/authentication.c.o CMakeFiles/exec.dir/knownhosts.c.o CMakeFiles/exec.dir/connect_ssh.c.o -o exec -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [ 99%] Built target samplesshd-cb [100%] Linking C executable senddata cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/senddata.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/senddata.dir/senddata.c.o CMakeFiles/senddata.dir/authentication.c.o CMakeFiles/senddata.dir/knownhosts.c.o CMakeFiles/senddata.dir/connect_ssh.c.o -o senddata -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [100%] Built target exec gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [100%] Built target senddata [100%] Linking CXX executable libsshpp_noexcept cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/libsshpp_noexcept.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/libsshpp_noexcept.dir/libsshpp_noexcept.cpp.o -o libsshpp_noexcept -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 [100%] Linking CXX executable libsshpp cd /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/libsshpp.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/libsshpp.dir/libsshpp.cpp.o -o libsshpp -Wl,-rpath,/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/lib ../lib/libssh.so.4.9.4 gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [100%] Built target libsshpp_noexcept gmake[2]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' [100%] Built target libsshpp gmake[1]: Leaving directory '/builddir/build/BUILD/libssh-0.10.4/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ms4APC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libssh-0.10.4 + DESTDIR=/builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/pkgconfig/libssh.pc -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/cmake/libssh/libssh-config-version.cmake -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/callbacks.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/libssh.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/ssh2.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/legacy.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/libsshpp.hpp -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/sftp.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/server.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/include/libssh/libssh_version.h -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/libssh.so.4.9.4 -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/libssh.so.4 -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/libssh.so -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/cmake/libssh/libssh-config.cmake -- Installing: /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/cmake/libssh/libssh-config-noconfig.cmake + install -d -m755 /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/etc/libssh + install -m644 /builddir/build/SOURCES/libssh_client.config /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/etc/libssh/libssh_client.config + install -m644 /builddir/build/SOURCES/libssh_server.config /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/etc/libssh/libssh_server.config + pushd /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64 ~/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64 ~/build/BUILD/libssh-0.10.4 + for i in libssh.so* + _target=libssh.so + _link_name=libssh_threads.so + '[' -L libssh.so ']' ++ readlink libssh.so + _target=libssh.so.4 + ln -s libssh.so.4 libssh_threads.so + for i in libssh.so* + _target=libssh.so.4 + _link_name=libssh_threads.so.4 + '[' -L libssh.so.4 ']' ++ readlink libssh.so.4 + _target=libssh.so.4.9.4 + ln -s libssh.so.4.9.4 libssh_threads.so.4 + for i in libssh.so* + _target=libssh.so.4.9.4 + _link_name=libssh_threads.so.4.9.4 + '[' -L libssh.so.4.9.4 ']' + ln -s libssh.so.4.9.4 libssh_threads.so.4.9.4 + popd ~/build/BUILD/libssh-0.10.4 + /usr/bin/find-debuginfo -j1 --strict-build-id -m -i --build-id-seed 0.10.4-2.fc37 --unique-debug-suffix -0.10.4-2.fc37.riscv64 --unique-debug-src-base libssh-0.10.4-2.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libssh-0.10.4 extracting debug info from /builddir/build/BUILDROOT/libssh-0.10.4-2.fc37.riscv64/usr/lib64/libssh.so.4.9.4 original debug info size: 5032kB, size after compression: 4776kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3529 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TgKCkI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libssh-0.10.4 + cd redhat-linux-build + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j1 Test project /builddir/build/BUILD/libssh-0.10.4/redhat-linux-build Start 1: torture_buffer 1/62 Test #1: torture_buffer ................... Passed 5.15 sec Start 2: torture_bytearray 2/62 Test #2: torture_bytearray ................ Passed 0.11 sec Start 3: torture_callbacks 3/62 Test #3: torture_callbacks ................ Passed 0.11 sec Start 4: torture_crypto 4/62 Test #4: torture_crypto ................... Passed 0.19 sec Start 5: torture_init 5/62 Test #5: torture_init ..................... Passed 0.12 sec Start 6: torture_list 6/62 Test #6: torture_list ..................... Passed 0.11 sec Start 7: torture_misc 7/62 Test #7: torture_misc ..................... Passed 0.26 sec Start 8: torture_config 8/62 Test #8: torture_config ................... Passed 0.85 sec Start 9: torture_options 9/62 Test #9: torture_options .................. Passed 0.90 sec Start 10: torture_isipaddr 10/62 Test #10: torture_isipaddr ................. Passed 0.10 sec Start 11: torture_knownhosts_parsing 11/62 Test #11: torture_knownhosts_parsing ....... Passed 0.31 sec Start 12: torture_hashes 12/62 Test #12: torture_hashes ................... Passed 0.19 sec Start 13: torture_packet_filter 13/62 Test #13: torture_packet_filter ............ Passed 0.23 sec Start 14: torture_temp_dir 14/62 Test #14: torture_temp_dir ................. Passed 0.11 sec Start 15: torture_temp_file 15/62 Test #15: torture_temp_file ................ Passed 0.10 sec Start 16: torture_push_pop_dir 16/62 Test #16: torture_push_pop_dir ............. Passed 0.10 sec Start 17: torture_session_keys 17/62 Test #17: torture_session_keys ............. Passed 0.19 sec Start 18: torture_tokens 18/62 Test #18: torture_tokens ................... Passed 0.11 sec Start 19: torture_packet 19/62 Test #19: torture_packet ................... Passed 8.84 sec Start 20: torture_keyfiles 20/62 Test #20: torture_keyfiles ................. Passed 0.38 sec Start 21: torture_pki 21/62 Test #21: torture_pki ...................... Passed 62.05 sec Start 22: torture_pki_rsa 22/62 Test #22: torture_pki_rsa .................. Passed 64.55 sec Start 23: torture_pki_ed25519 23/62 Test #23: torture_pki_ed25519 .............. Passed 4.05 sec Start 24: torture_channel 24/62 Test #24: torture_channel .................. Passed 0.12 sec Start 25: torture_bind_config 25/62 Test #25: torture_bind_config .............. Passed 7.13 sec Start 26: torture_moduli 26/62 Test #26: torture_moduli ................... Passed 0.21 sec Start 27: torture_pki_rsa_uri 27/62 Test #27: torture_pki_rsa_uri .............. Passed 3.53 sec Start 28: torture_pki_ecdsa_uri 28/62 Test #28: torture_pki_ecdsa_uri ............ Passed 17.51 sec Start 29: torture_pki_ecdsa 29/62 Test #29: torture_pki_ecdsa ................ Passed 2.62 sec Start 30: torture_rand 30/62 Test #30: torture_rand ..................... Passed 39.78 sec Start 31: torture_threads_init 31/62 Test #31: torture_threads_init ............. Passed 0.19 sec Start 32: torture_threads_buffer 32/62 Test #32: torture_threads_buffer ........... Passed 29.21 sec Start 33: torture_threads_crypto 33/62 Test #33: torture_threads_crypto ........... Passed 2.53 sec Start 34: torture_threads_pki_rsa 34/62 Test #34: torture_threads_pki_rsa .......... Passed 155.03 sec Start 35: torture_algorithms 35/62 Test #35: torture_algorithms ............... Passed 94.93 sec Start 36: torture_client_config 36/62 Test #36: torture_client_config ............ Passed 3.10 sec Start 37: torture_connect 37/62 Test #37: torture_connect .................. Passed 3.67 sec Start 38: torture_hostkey 38/62 Test #38: torture_hostkey .................. Passed 6.09 sec Start 39: torture_auth 39/62 Test #39: torture_auth ..................... Passed 21.42 sec Start 40: torture_rekey 40/62 Test #40: torture_rekey .................... Passed 44.85 sec Start 41: torture_forward 41/62 Test #41: torture_forward .................. Passed 2.95 sec Start 42: torture_knownhosts 42/62 Test #42: torture_knownhosts ............... Passed 4.96 sec Start 43: torture_knownhosts_verify 43/62 Test #43: torture_knownhosts_verify ........ Passed 4.18 sec Start 44: torture_proxycommand 44/62 Test #44: torture_proxycommand ............. Passed 7.90 sec Start 45: torture_session 45/62 Test #45: torture_session .................. Passed 10.98 sec Start 46: torture_request_env 46/62 Test #46: torture_request_env .............. Passed 3.16 sec Start 47: torture_client_global_requests 47/62 Test #47: torture_client_global_requests ... Passed 2.94 sec Start 48: torture_scp 48/62 Test #48: torture_scp ...................... Passed 6.43 sec Start 49: torture_auth_pkcs11 49/62 Test #49: torture_auth_pkcs11 .............. Passed 18.67 sec Start 50: torture_sftp_init 50/62 Test #50: torture_sftp_init ................ Passed 3.97 sec Start 51: torture_sftp_ext 51/62 Test #51: torture_sftp_ext ................. Passed 0.14 sec Start 52: torture_sftp_canonicalize_path 52/62 Test #52: torture_sftp_canonicalize_path ... Passed 3.08 sec Start 53: torture_sftp_dir 53/62 Test #53: torture_sftp_dir ................. Passed 3.12 sec Start 54: torture_sftp_read 54/62 Test #54: torture_sftp_read ................ Passed 4.51 sec Start 55: torture_sftp_fsync 55/62 Test #55: torture_sftp_fsync ............... Passed 3.12 sec Start 56: torture_override 56/62 Test #56: torture_override ................. Passed 3.38 sec Start 57: pkd_hello_i1 57/62 Test #57: pkd_hello_i1 ..................... Passed 806.31 sec Start 58: pkd_hello_rekey 58/62 Test #58: pkd_hello_rekey .................. Passed 48.19 sec Start 59: torture_server 59/62 Test #59: torture_server ................... Passed 3.37 sec Start 60: torture_server_auth_kbdint 60/62 Test #60: torture_server_auth_kbdint ....... Passed 1.20 sec Start 61: torture_server_config 61/62 Test #61: torture_server_config ............***Failed 341.61 sec [==========] Running 7 test(s). [ RUN ] torture_server_config_hostkey Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key [2023/01/26 18:29:41.238417, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:41.246092, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:29:41.839674, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:41.867743, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:41.868489, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:41.869417, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:41.871290, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:41.872162, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:41.872647, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:41.873361, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:41.873772, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:41.874513, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:41.874914, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:41.875301, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:41.875672, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:41.876001, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:41.876359, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:41.876717, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:41.877088, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:41.878208, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:29:41.878647, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:41.880070, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:41.880938, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:41.881393, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:41.881825, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:41.936215, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:41.938110, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:41.938561, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:41.939920, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:41.940336, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:41.940665, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:41.940928, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:41.941159, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:41.941402, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:41.941664, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:41.941909, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:41.942196, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:41.942435, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:41.942702, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:41.943408, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:41.943830, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:41.944583, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:41.944970, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:41.945384, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:41.950137, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:41.950902, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:41.951289, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:41.951690, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:41.951988, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:42.027993, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:42.029070, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.029444, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:42.029880, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:42.030276, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:42.034848, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:42.035265, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:42.037811, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:42.038622, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:42.039126, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.039493, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.039853, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.040095, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.040899, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.041456, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:42.041816, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:42.042132, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:42.042494, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:42.042844, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:42.046293, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.046696, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:42.047135, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:42.047885, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.048203, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.048431, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.078410, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.079150, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:42.079510, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:42.742128, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:42.754311, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:42.754814, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:42.755156, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:42.755715, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:42.756216, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:42.756885, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:42.757191, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:42.757453, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:42.757691, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:42.757993, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:42.758238, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:42.758502, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:42.758732, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:42.759018, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:42.759269, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:42.759492, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:42.760121, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:29:42.760453, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:42.760973, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.761562, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.761876, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.762113, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.837151, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.838057, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:42.838398, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:42.838806, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:42.839125, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:42.839369, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:42.839597, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:42.839858, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:42.840127, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:42.840372, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:42.840632, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:42.840875, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:42.841119, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:42.841393, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:42.841934, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:42.842256, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:42.842507, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:42.842804, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:42.843052, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:42.845530, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.846124, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:42.846443, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:42.846685, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:42.846974, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:42.890400, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:42.891356, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.891711, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:42.892042, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:42.892284, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:42.894755, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:42.895143, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:42.896547, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:42.897002, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:42.897470, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.897858, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.898157, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.898396, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.899670, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.900258, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:42.900583, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:42.900858, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:42.901131, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:42.901406, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:42.902286, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.902635, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:42.902930, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:42.903343, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.903643, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.904389, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.933645, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.935654, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:29:42.936085, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:42.936956, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:42.937506, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:42.938426, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.938770, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:29:42.939299, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.939615, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.939870, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.940247, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.940804, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:42.941163, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:42.941590, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:42.942370, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:42.943237, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.943559, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:29:42.944378, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:42.944977, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:42.945512, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:29:42.946136, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.946533, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.946825, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.947062, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.949700, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.950310, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:29:42.950622, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:42.950888, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:42.952362, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.952690, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:42.954748, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:42.955113, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.955347, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:42.963426, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:42.964998, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:42.965339, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:42.965597, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:42.966981, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:42.973721, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:42.974559, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:42.975555, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:42.975892, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:29:42.976356, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:29:42.977119, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:42.977700, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:42.978026, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:42.978373, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:42.978679, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:42.979180, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:29:42.979487, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:42.979726, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye [ OK ] torture_server_config_hostkey [ RUN ] torture_server_config_ciphers Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:43.195700, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:43.203108, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:29:44.719348, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:44.735596, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:44.736165, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:44.736957, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:44.738495, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:44.738923, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:44.739294, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:44.739891, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:44.740228, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:44.740460, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr [2023/01/26 18:29:44.740808, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr [2023/01/26 18:29:44.741052, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:44.741280, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:44.741490, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:44.741747, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:44.741985, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:44.742195, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:44.743138, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=4, comp=759, payload=759] [2023/01/26 18:29:44.743505, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:44.745263, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:44.746014, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:44.746379, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:44.746654, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:44.803304, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:44.804762, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:44.805197, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:44.806538, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:44.806961, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:44.807262, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:44.807524, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:44.807761, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:44.807998, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:44.808271, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:44.808493, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:44.808747, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:44.809214, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:44.809461, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:44.810151, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:44.810558, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:44.810999, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:44.811293, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:44.811817, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:44.816535, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:44.817184, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:44.817530, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:44.817844, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:44.818142, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:44.892513, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:44.893488, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:44.894144, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:44.894651, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:44.894981, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:44.899090, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:44.899493, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:44.901899, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:44.902376, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:44.902860, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:44.903225, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:44.903510, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:44.903733, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:44.905496, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:44.906099, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:44.906453, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:44.906766, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:44.907192, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:44.907612, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:44.910821, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:44.911214, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:44.911627, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:44.912380, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:44.912697, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:44.912942, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:44.943460, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:44.944637, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:44.945025, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:45.045139, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:45.057367, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:45.057902, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:45.058250, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:45.058806, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:45.059141, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:45.059386, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:45.059695, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:45.059985, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:45.060219, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr [2023/01/26 18:29:45.060494, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr [2023/01/26 18:29:45.060845, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:45.061178, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:45.061416, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:45.061720, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:45.061974, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:45.062235, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:45.062849, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=4, comp=759, payload=759] [2023/01/26 18:29:45.063175, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:45.063633, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.064618, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:45.064944, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:45.065251, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:45.068775, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:45.069446, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:45.069765, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:45.070182, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:45.070464, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:45.070753, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:45.071197, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:45.071517, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:45.071780, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:45.072028, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:45.072386, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:45.072730, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:45.073069, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:45.073386, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:45.074367, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:45.074716, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:45.074986, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:45.075216, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:45.075536, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:45.075882, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:45.076405, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:45.076727, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:45.076982, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:45.077241, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:45.121591, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:45.122677, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.123146, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:45.123486, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:45.123783, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:45.126441, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:45.126808, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:45.128124, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:45.128554, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:45.129364, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:45.129844, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:45.130098, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:45.130392, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:45.130718, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:45.132099, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:45.132783, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.133255, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:45.134227, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:45.134779, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:45.135096, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:45.136513, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:45.138100, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:29:45.138476, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:45.138905, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:45.139386, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:45.140202, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.140536, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:29:45.141117, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:45.141727, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:45.142115, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:45.142594, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:45.143248, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:45.144052, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:29:45.144825, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:45.145346, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:45.145930, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.146304, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:45.146670, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:45.146998, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:45.148986, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:45.149593, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:29:45.149940, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:45.150206, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:45.151614, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.151974, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:45.152461, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:45.152775, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:45.153049, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:45.155649, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:45.157177, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:45.157719, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:45.158029, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:45.159036, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:45.166708, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:45.167308, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:45.168800, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:45.169187, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:29:45.169691, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:29:45.170277, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:45.170896, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:45.171296, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:45.171803, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:45.172146, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:45.172682, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:29:45.173026, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:45.173281, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers chacha20-poly1305@openssh.com ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:45.401693, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:45.409371, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:29:46.067816, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:46.103739, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:46.104646, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:46.105479, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:46.107404, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.107944, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.108452, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.109027, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:46.109352, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:46.109590, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com [2023/01/26 18:29:46.109820, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com [2023/01/26 18:29:46.110040, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.110251, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.110483, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.110695, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.110920, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:46.111143, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:46.112060, 3] packet_send2: packet: wrote [type=20, len=612, padding_size=10, comp=601, payload=601] [2023/01/26 18:29:46.112411, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:46.113730, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.114863, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.115174, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.115717, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.170428, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.172025, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:46.172427, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:46.174276, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:46.174703, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:46.175005, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:46.175323, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:46.175751, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:46.176060, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.176284, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.176549, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.176769, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.176997, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:46.177205, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:46.177882, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:46.178280, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:46.178641, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:46.178978, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:46.179327, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:46.183308, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.184179, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:46.184488, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:46.184784, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:46.185058, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:46.264154, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:46.265202, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.265716, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:46.266475, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:46.266902, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:46.271927, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:46.272351, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:46.275281, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:46.275845, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:46.276313, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.276675, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.276943, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.277173, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.277452, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.277958, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:46.278306, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:46.278576, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:46.278952, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:46.279326, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:46.282400, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.282811, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:46.283231, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:46.284835, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.285159, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.285407, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.314232, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.315054, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:46.315489, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.409190, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:46.424918, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:46.425487, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:46.425890, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:46.426476, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.426844, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.427119, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:46.427451, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:46.427753, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:46.428075, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com [2023/01/26 18:29:46.428338, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com [2023/01/26 18:29:46.428634, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.428913, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.429314, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.429648, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.429962, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:46.430267, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:46.430955, 3] packet_send2: packet: wrote [type=20, len=612, padding_size=10, comp=601, payload=601] [2023/01/26 18:29:46.431303, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:46.431813, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.432416, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.432746, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.433056, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.436429, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.437310, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:46.437673, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:46.438316, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:46.438665, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:46.439008, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:46.439466, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:46.439886, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:46.440210, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.440505, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:46.440817, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.441120, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:46.441404, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:46.441701, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:46.442158, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:46.442489, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:46.442816, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:46.443127, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:46.443431, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:46.443852, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.444943, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:46.445303, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:46.445593, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:46.445858, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:46.488993, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:46.490113, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.490567, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:46.490966, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:46.491299, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:46.493525, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:46.494339, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:46.496045, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:46.496531, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:46.497127, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:46.497477, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:46.497743, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:46.498071, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:46.498342, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:46.499198, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:46.499931, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.500297, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:46.500727, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.501068, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.501362, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.502866, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.504662, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:29:46.505104, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:46.505580, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:46.506121, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:46.507065, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.507437, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:29:46.507994, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:46.508644, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:46.509039, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:46.509522, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:46.510143, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:46.510768, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:29:46.511473, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:46.512043, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:46.512670, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.513090, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.513368, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.513591, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.515157, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.515814, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:29:46.516462, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:46.516977, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:46.518390, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.518720, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:46.519250, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:46.519698, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.520048, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:46.522233, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:46.523403, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:46.523726, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:46.524335, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:46.525331, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:46.532093, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:46.532635, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:46.533514, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:46.533855, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:29:46.534595, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:29:46.535041, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:46.535618, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:46.535954, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:46.536295, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:46.536539, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:46.537041, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:29:46.537351, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:46.537577, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers aes256-gcm@openssh.com ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:46.751109, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:46.758684, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:29:48.367105, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:48.389597, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:48.390209, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:48.391022, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:48.392549, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.392973, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.393303, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.394174, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:48.394530, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:48.394774, 4] ssh_list_kex: encryption client->server: aes256-gcm@openssh.com [2023/01/26 18:29:48.395024, 4] ssh_list_kex: encryption server->client: aes256-gcm@openssh.com [2023/01/26 18:29:48.395298, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.395677, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.395980, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.396209, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.396440, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:48.396661, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:48.397595, 3] packet_send2: packet: wrote [type=20, len=596, padding_size=8, comp=587, payload=587] [2023/01/26 18:29:48.397971, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:48.399226, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.399931, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.400299, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.400640, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.457405, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.458694, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:48.459131, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:48.460645, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:48.461078, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:48.461393, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:48.461634, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:48.461934, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:48.462175, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.462437, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.462664, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.462938, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.463169, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:48.463436, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:48.464420, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes256-gcm@openssh.com,aes256-gcm@openssh.com,aead-gcm,aead-gcm,none,none,, [2023/01/26 18:29:48.464873, 3] crypt_set_algorithms_server: Set output algorithm aes256-gcm@openssh.com [2023/01/26 18:29:48.465311, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-gcm [2023/01/26 18:29:48.465677, 3] crypt_set_algorithms_server: Set input algorithm aes256-gcm@openssh.com [2023/01/26 18:29:48.466110, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-gcm [2023/01/26 18:29:48.470985, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.471592, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:48.471962, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:48.472286, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:48.472611, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:48.547557, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:48.548597, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.548964, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:48.549371, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:48.549755, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:48.553750, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:48.554400, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:48.556252, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:48.556741, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:48.557218, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.557596, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.557898, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.558135, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.560118, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.560722, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:48.561099, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:48.561422, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:48.561730, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:48.562149, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:48.564917, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.565779, 3] packet_send2: packet: wrote [type=7, len=368, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:48.566210, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:48.566923, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.567236, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.567465, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.595263, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.595947, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:48.596294, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.685166, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:48.697905, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:48.698449, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:48.698828, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:48.699407, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.699721, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.699980, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:48.700245, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:48.700482, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:48.700702, 4] ssh_list_kex: encryption client->server: aes256-gcm@openssh.com [2023/01/26 18:29:48.700938, 4] ssh_list_kex: encryption server->client: aes256-gcm@openssh.com [2023/01/26 18:29:48.701200, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.701424, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.701694, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.701939, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.702209, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:48.702435, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:48.703098, 3] packet_send2: packet: wrote [type=20, len=596, padding_size=8, comp=587, payload=587] [2023/01/26 18:29:48.703425, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:48.703903, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.705319, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.705647, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.705907, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.709743, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.711145, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:48.711724, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:48.712963, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:48.713523, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:48.714944, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:48.715389, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:48.715636, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:48.715884, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.716115, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:48.716339, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.716601, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:48.716848, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:48.717134, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:48.717545, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes256-gcm@openssh.com,aes256-gcm@openssh.com,aead-gcm,aead-gcm,none,none,, [2023/01/26 18:29:48.717863, 3] crypt_set_algorithms_server: Set output algorithm aes256-gcm@openssh.com [2023/01/26 18:29:48.718130, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-gcm [2023/01/26 18:29:48.718397, 3] crypt_set_algorithms_server: Set input algorithm aes256-gcm@openssh.com [2023/01/26 18:29:48.718666, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-gcm [2023/01/26 18:29:48.719056, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.719625, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:48.719969, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:48.720218, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:48.720496, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:48.787839, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:48.789371, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.790018, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:48.790672, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:48.791181, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:48.795224, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:48.795832, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:48.796912, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:48.797593, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:48.798511, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:48.799036, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:48.799584, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:48.800123, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:48.800786, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:48.801965, 3] packet_send2: packet: wrote [type=7, len=368, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:48.802866, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.803418, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:48.804532, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.805094, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.805612, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.807777, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.810749, 3] ssh_packet_socket_callback: packet: read type 5 [len=32,padding=14,comp=17,payload=17] [2023/01/26 18:29:48.811420, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:48.812190, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:48.813058, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:48.814903, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.815491, 3] packet_send2: packet: wrote [type=6, len=32, padding_size=14, comp=17, payload=17] [2023/01/26 18:29:48.816413, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:48.817578, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:48.818180, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:48.818896, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:48.819927, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:48.821055, 3] packet_send2: packet: wrote [type=53, len=64, padding_size=19, comp=44, payload=44] [2023/01/26 18:29:48.822217, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:48.823241, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:48.824654, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.825430, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.825987, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.826446, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.827148, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.828238, 3] ssh_packet_socket_callback: packet: read type 50 [len=128,padding=15,comp=112,payload=112] [2023/01/26 18:29:48.828804, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:48.829356, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:48.831768, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.832360, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:48.833253, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:48.833814, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.834705, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:48.835637, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:48.837614, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:48.838177, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:48.838746, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:48.839978, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:48.847196, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:48.847937, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:48.849023, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:48.849434, 3] packet_send2: packet: wrote [type=52, len=16, padding_size=14, comp=1, payload=1] [2023/01/26 18:29:48.849962, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=22] [2023/01/26 18:29:48.850440, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:48.851088, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:48.851477, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:48.851867, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:48.852195, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:48.852741, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=23] [2023/01/26 18:29:48.853088, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:48.853379, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers aes128-gcm@openssh.com ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:49.065078, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:49.072685, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:29:50.619761, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:50.642522, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:50.643173, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:50.644177, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:50.645754, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.646114, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.646426, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.646967, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:50.647309, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:50.647556, 4] ssh_list_kex: encryption client->server: aes128-gcm@openssh.com [2023/01/26 18:29:50.647854, 4] ssh_list_kex: encryption server->client: aes128-gcm@openssh.com [2023/01/26 18:29:50.648093, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.648373, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.648615, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.648920, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.649156, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:50.649436, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:50.650361, 3] packet_send2: packet: wrote [type=20, len=596, padding_size=8, comp=587, payload=587] [2023/01/26 18:29:50.650734, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:50.652044, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:50.652734, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:50.653118, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:50.653461, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:50.707852, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:50.709107, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:50.709530, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:50.711025, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:50.711439, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:50.711754, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:50.712018, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:50.712290, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:50.712520, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.712804, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.713041, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.713302, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.713539, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:50.713828, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:50.714883, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes128-gcm@openssh.com,aes128-gcm@openssh.com,aead-gcm,aead-gcm,none,none,, [2023/01/26 18:29:50.715296, 3] crypt_set_algorithms_server: Set output algorithm aes128-gcm@openssh.com [2023/01/26 18:29:50.715728, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-gcm [2023/01/26 18:29:50.716089, 3] crypt_set_algorithms_server: Set input algorithm aes128-gcm@openssh.com [2023/01/26 18:29:50.716447, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-gcm [2023/01/26 18:29:50.721295, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:50.721941, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:50.722306, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:50.722590, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:50.722908, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:50.800024, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:50.801077, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:50.801422, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:50.801896, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:50.802298, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:50.806763, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:50.807175, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:50.810142, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:50.810635, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:50.811109, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:50.811513, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:50.811817, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:50.812102, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:50.812482, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:50.812994, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:50.813349, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:50.813683, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:50.814417, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:50.814861, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:50.817327, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:50.817722, 3] packet_send2: packet: wrote [type=7, len=368, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:50.818160, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:50.818905, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:50.819231, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:50.819471, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:50.848273, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:50.848904, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:50.849241, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.939038, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:50.950713, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:50.951241, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:50.951579, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:50.952142, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.952471, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.952715, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:50.953027, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:50.953262, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:50.953480, 4] ssh_list_kex: encryption client->server: aes128-gcm@openssh.com [2023/01/26 18:29:50.953696, 4] ssh_list_kex: encryption server->client: aes128-gcm@openssh.com [2023/01/26 18:29:50.954287, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.954549, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.954849, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.955086, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.955363, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:50.955595, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:50.956241, 3] packet_send2: packet: wrote [type=20, len=596, padding_size=8, comp=587, payload=587] [2023/01/26 18:29:50.956577, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:50.957048, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:50.957601, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:50.957924, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:50.958165, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:50.961648, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:50.962204, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:50.962507, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:50.963072, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:50.963400, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:50.963642, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:50.964396, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:50.964720, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:50.964975, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.965238, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:50.965467, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.965706, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:50.965945, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:50.966166, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:50.966545, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes128-gcm@openssh.com,aes128-gcm@openssh.com,aead-gcm,aead-gcm,none,none,, [2023/01/26 18:29:50.966863, 3] crypt_set_algorithms_server: Set output algorithm aes128-gcm@openssh.com [2023/01/26 18:29:50.967115, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-gcm [2023/01/26 18:29:50.967386, 3] crypt_set_algorithms_server: Set input algorithm aes128-gcm@openssh.com [2023/01/26 18:29:50.967623, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-gcm [2023/01/26 18:29:50.967943, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:50.968418, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:50.968739, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:50.968996, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:50.969269, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:51.011147, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:51.012037, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.012338, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:51.012683, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:51.012995, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:51.015273, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:51.015644, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:51.016312, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:51.016742, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:51.017191, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.017586, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:51.018088, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:51.018410, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:51.018673, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:51.018975, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:51.019304, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:51.019968, 3] packet_send2: packet: wrote [type=7, len=368, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:51.020456, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.020801, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:51.021171, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:51.021468, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:51.021705, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:51.024165, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:51.025765, 3] ssh_packet_socket_callback: packet: read type 5 [len=32,padding=14,comp=17,payload=17] [2023/01/26 18:29:51.026158, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:51.026546, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:51.026995, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:51.027773, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.028133, 3] packet_send2: packet: wrote [type=6, len=32, padding_size=14, comp=17, payload=17] [2023/01/26 18:29:51.028594, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:51.028923, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:51.029168, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:51.029586, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:51.030214, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:51.030587, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:51.030958, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:51.031559, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:51.032327, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.032671, 3] packet_send2: packet: wrote [type=53, len=64, padding_size=19, comp=44, payload=44] [2023/01/26 18:29:51.033293, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:51.034083, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:51.034667, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:29:51.035162, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.035573, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:51.035891, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:51.036136, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:51.037125, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:51.037736, 3] ssh_packet_socket_callback: packet: read type 50 [len=128,padding=15,comp=112,payload=112] [2023/01/26 18:29:51.038095, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:51.038364, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:51.039690, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.040053, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:51.040509, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:51.040841, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:51.041089, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:51.043422, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:51.044890, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:51.045242, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:51.045542, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:51.046538, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:51.053146, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:51.053688, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:51.054652, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:51.055013, 3] packet_send2: packet: wrote [type=52, len=16, padding_size=14, comp=1, payload=1] [2023/01/26 18:29:51.055493, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=22] [2023/01/26 18:29:51.055953, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:51.056433, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:51.056769, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:51.057140, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:51.057539, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:51.058096, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=23] [2023/01/26 18:29:51.058426, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:51.058672, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers aes256-ctr ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:51.296517, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:51.303315, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:29:52.968607, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:52.991727, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:52.992445, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:52.993252, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:52.995161, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:52.995586, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:52.996310, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:52.996958, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:52.997280, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:52.997509, 4] ssh_list_kex: encryption client->server: aes256-ctr [2023/01/26 18:29:52.997755, 4] ssh_list_kex: encryption server->client: aes256-ctr [2023/01/26 18:29:52.997989, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:52.998228, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:52.998437, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:52.998640, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:52.998857, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:52.999064, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:53.000034, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=8, comp=563, payload=563] [2023/01/26 18:29:53.000540, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:53.001897, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.002596, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.002961, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.003230, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.061271, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.062713, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:53.063153, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:53.065273, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:53.065714, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:53.066002, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:53.066282, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:53.066503, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:53.066745, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:53.067017, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:53.067260, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:53.067497, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:53.067733, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:53.067991, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:53.068697, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes256-ctr,aes256-ctr,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,none,none,, [2023/01/26 18:29:53.069107, 3] crypt_set_algorithms_server: Set output algorithm aes256-ctr [2023/01/26 18:29:53.069471, 3] crypt_set_algorithms_server: Set HMAC output algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:53.069819, 3] crypt_set_algorithms_server: Set input algorithm aes256-ctr [2023/01/26 18:29:53.070218, 3] crypt_set_algorithms_server: Set HMAC input algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:53.075653, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.076775, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:53.077146, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:53.077402, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:53.077705, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:53.151940, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:53.152953, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.153301, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:53.153683, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:53.154304, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:53.158345, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:53.158717, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:53.159663, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:53.160129, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:53.160606, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.160970, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.161249, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.161465, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.165349, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.165983, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:53.166544, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:53.166867, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:53.167212, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:53.167583, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:53.174518, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.174958, 3] packet_send2: packet: wrote [type=7, len=364, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:53.175453, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:53.176205, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.176514, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.176732, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.205430, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.206273, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:53.206615, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:53.297759, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:53.309454, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:53.310036, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:53.310376, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:53.310959, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:53.311291, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:53.311519, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:53.311761, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:53.312050, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:53.312264, 4] ssh_list_kex: encryption client->server: aes256-ctr [2023/01/26 18:29:53.312467, 4] ssh_list_kex: encryption server->client: aes256-ctr [2023/01/26 18:29:53.312672, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:53.312927, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:53.313140, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:53.313400, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:53.313615, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:53.314271, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:53.314954, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=8, comp=563, payload=563] [2023/01/26 18:29:53.315276, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:53.315781, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.316345, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.316583, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.316807, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.320595, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.321381, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:53.321709, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:53.322224, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:53.322465, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:53.322672, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:53.322896, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:53.323106, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:53.323356, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:53.323582, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:53.323800, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:53.324454, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:53.324702, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:53.324974, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:53.325341, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes256-ctr,aes256-ctr,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,none,none,, [2023/01/26 18:29:53.325628, 3] crypt_set_algorithms_server: Set output algorithm aes256-ctr [2023/01/26 18:29:53.326072, 3] crypt_set_algorithms_server: Set HMAC output algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:53.326313, 3] crypt_set_algorithms_server: Set input algorithm aes256-ctr [2023/01/26 18:29:53.326531, 3] crypt_set_algorithms_server: Set HMAC input algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:53.326897, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.327408, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:53.327719, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:53.327958, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:53.328220, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:53.375543, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:53.376549, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.376969, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:53.377270, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:53.377537, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:53.380001, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:53.380385, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:53.380816, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:53.381222, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:53.381743, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:53.382066, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:53.382307, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:53.382522, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:53.382848, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:53.385623, 3] packet_send2: packet: wrote [type=7, len=364, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:53.386247, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.386556, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:53.386931, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.387222, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.387441, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.394872, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.397144, 3] ssh_packet_socket_callback: packet: read type 5 [len=32,padding=14,comp=17,payload=17] [2023/01/26 18:29:53.397491, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:53.397946, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:53.398365, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:53.400041, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.400388, 3] packet_send2: packet: wrote [type=6, len=28, padding_size=14, comp=17, payload=17] [2023/01/26 18:29:53.400864, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.401172, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.401395, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.402194, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.403356, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:53.403741, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:53.404428, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:53.404997, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:53.406394, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.406730, 3] packet_send2: packet: wrote [type=53, len=60, padding_size=19, comp=44, payload=44] [2023/01/26 18:29:53.407345, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:53.408438, 3] packet_send2: packet: wrote [type=51, len=28, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:53.409152, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 68 [2023/01/26 18:29:53.409648, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.410049, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.410333, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.410551, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.412706, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.414277, 3] ssh_packet_socket_callback: packet: read type 50 [len=128,padding=15,comp=112,payload=112] [2023/01/26 18:29:53.414638, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:53.414914, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:53.416948, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.417294, 3] packet_send2: packet: wrote [type=60, len=76, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:53.417741, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.418060, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.418285, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.422313, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.424612, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:53.424985, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:53.425248, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:53.426247, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:53.432519, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:53.433148, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:53.435205, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:53.435571, 3] packet_send2: packet: wrote [type=52, len=12, padding_size=14, comp=1, payload=1] [2023/01/26 18:29:53.436063, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=22] [2023/01/26 18:29:53.436525, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:53.436838, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:53.437067, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:53.437417, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:53.438583, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:53.438957, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:53.439311, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:53.439624, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:53.440165, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=23] do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers aes192-ctr ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:53.651333, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:53.658755, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:29:55.213456, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:55.237270, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:55.238006, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:55.239036, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:55.240850, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.241300, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.241636, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.242269, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:55.242613, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:55.242899, 4] ssh_list_kex: encryption client->server: aes192-ctr [2023/01/26 18:29:55.243173, 4] ssh_list_kex: encryption server->client: aes192-ctr [2023/01/26 18:29:55.243436, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.243695, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.244249, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.244510, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.244811, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:55.245059, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:55.246144, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=8, comp=563, payload=563] [2023/01/26 18:29:55.246534, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:55.247983, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.248926, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.249513, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.249918, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.305834, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.307098, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:55.307543, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:55.309027, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:55.309479, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:55.309764, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:55.310070, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:55.310306, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:55.310590, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.310842, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.311120, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.311354, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.311588, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:55.311833, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:55.312577, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes192-ctr,aes192-ctr,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,none,none,, [2023/01/26 18:29:55.313017, 3] crypt_set_algorithms_server: Set output algorithm aes192-ctr [2023/01/26 18:29:55.313399, 3] crypt_set_algorithms_server: Set HMAC output algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:55.313756, 3] crypt_set_algorithms_server: Set input algorithm aes192-ctr [2023/01/26 18:29:55.314714, 3] crypt_set_algorithms_server: Set HMAC input algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:55.321573, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.322444, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:55.322852, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:55.323196, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:55.323522, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:55.399820, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:55.400988, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.401436, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:55.401885, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:55.402280, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:55.406750, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:55.407272, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:55.408703, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:55.409247, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:55.409747, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.410152, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.410453, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.410691, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.414223, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.414946, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:55.415307, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:55.415584, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:55.415910, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:55.416309, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:55.423476, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.424542, 3] packet_send2: packet: wrote [type=7, len=364, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:55.425033, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:55.425812, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.426141, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.426372, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.456832, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.457586, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:55.457955, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.554699, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:55.568826, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:55.569397, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:55.569779, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:55.570451, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.570811, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.571084, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:55.571366, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:55.571666, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:55.571934, 4] ssh_list_kex: encryption client->server: aes192-ctr [2023/01/26 18:29:55.572218, 4] ssh_list_kex: encryption server->client: aes192-ctr [2023/01/26 18:29:55.572464, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.572743, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.573005, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.573284, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.573528, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:55.573822, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:55.575044, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=8, comp=563, payload=563] [2023/01/26 18:29:55.575399, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:55.576081, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.576713, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.577060, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.577348, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.583707, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.584853, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:55.585213, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:55.585887, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:55.586385, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:55.586672, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:55.586938, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:55.587185, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:55.587430, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.587717, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:55.587985, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.588279, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:55.588533, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:55.588835, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:55.589249, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes192-ctr,aes192-ctr,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,none,none,, [2023/01/26 18:29:55.589563, 3] crypt_set_algorithms_server: Set output algorithm aes192-ctr [2023/01/26 18:29:55.589969, 3] crypt_set_algorithms_server: Set HMAC output algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:55.590295, 3] crypt_set_algorithms_server: Set input algorithm aes192-ctr [2023/01/26 18:29:55.590563, 3] crypt_set_algorithms_server: Set HMAC input algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:55.590982, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.591500, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:55.591850, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:55.592118, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:55.592411, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:55.635409, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:55.636634, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.636993, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:55.637365, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:55.637686, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:55.639928, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:55.640317, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:55.641031, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:55.641510, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:55.642114, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:55.642455, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:55.642749, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:55.643059, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:55.643438, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:55.646912, 3] packet_send2: packet: wrote [type=7, len=364, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:55.647632, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.648124, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:55.648648, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.648991, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.649262, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.652837, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.656177, 3] ssh_packet_socket_callback: packet: read type 5 [len=32,padding=14,comp=17,payload=17] [2023/01/26 18:29:55.656588, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:55.656983, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:55.657458, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:55.659308, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.659645, 3] packet_send2: packet: wrote [type=6, len=28, padding_size=14, comp=17, payload=17] [2023/01/26 18:29:55.660134, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.660430, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.660653, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.662773, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.664526, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:55.664936, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:55.665327, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:55.666146, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:55.667841, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.668213, 3] packet_send2: packet: wrote [type=53, len=60, padding_size=19, comp=44, payload=44] [2023/01/26 18:29:55.668845, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:55.670107, 3] packet_send2: packet: wrote [type=51, len=28, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:55.670816, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 68 [2023/01/26 18:29:55.671373, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.671813, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.672310, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.672609, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.675779, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.677349, 3] ssh_packet_socket_callback: packet: read type 50 [len=128,padding=15,comp=112,payload=112] [2023/01/26 18:29:55.677697, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:55.677973, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:55.680166, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.680507, 3] packet_send2: packet: wrote [type=60, len=76, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:55.680988, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.681286, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.681509, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.686412, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.688663, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:55.689043, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:55.689308, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:55.690338, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:55.697427, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:55.698110, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:55.699854, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:55.700201, 3] packet_send2: packet: wrote [type=52, len=12, padding_size=14, comp=1, payload=1] [2023/01/26 18:29:55.700680, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=22] [2023/01/26 18:29:55.701143, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:55.701439, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:55.701660, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:55.702634, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:55.704290, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:55.704635, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:55.705003, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:55.705314, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:55.706074, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=23] do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key Ciphers aes128-ctr ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:55.928610, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:55.936352, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:29:57.450378, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:57.473613, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:57.474594, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:57.475447, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:57.477086, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.477519, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.477869, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.478472, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:57.478819, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:57.479070, 4] ssh_list_kex: encryption client->server: aes128-ctr [2023/01/26 18:29:57.479348, 4] ssh_list_kex: encryption server->client: aes128-ctr [2023/01/26 18:29:57.479577, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.479824, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.480047, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.480264, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.480479, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:57.480694, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:57.481606, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=8, comp=563, payload=563] [2023/01/26 18:29:57.481926, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:57.483276, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.484258, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.484600, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.484945, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.537972, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.539218, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:57.539655, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:57.541161, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:57.541604, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:57.541946, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:57.542236, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:57.542472, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:57.542738, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.543041, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.543330, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.543565, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.544099, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:57.544392, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:57.545157, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes128-ctr,aes128-ctr,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,none,none,, [2023/01/26 18:29:57.545569, 3] crypt_set_algorithms_server: Set output algorithm aes128-ctr [2023/01/26 18:29:57.546005, 3] crypt_set_algorithms_server: Set HMAC output algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:57.546357, 3] crypt_set_algorithms_server: Set input algorithm aes128-ctr [2023/01/26 18:29:57.546732, 3] crypt_set_algorithms_server: Set HMAC input algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:57.551502, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.552208, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:57.552586, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:57.552880, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:57.553145, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:57.636092, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:57.637671, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.638381, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:57.639265, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:57.639968, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:57.647282, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:57.648072, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:57.650531, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:57.651343, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:57.652634, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:57.653245, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:57.653812, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:57.654837, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:57.655533, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:57.666660, 3] packet_send2: packet: wrote [type=7, len=364, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:57.668051, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.668731, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:57.670007, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.670557, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.671097, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.696042, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.696828, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:57.697194, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.785525, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:57.797180, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:57.797751, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:57.798103, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:57.798658, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.799009, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.799244, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:57.799526, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:57.799810, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:57.800034, 4] ssh_list_kex: encryption client->server: aes128-ctr [2023/01/26 18:29:57.800252, 4] ssh_list_kex: encryption server->client: aes128-ctr [2023/01/26 18:29:57.800458, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.800761, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.800999, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.801248, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.801459, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:57.801705, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:57.802320, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=8, comp=563, payload=563] [2023/01/26 18:29:57.802642, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:57.803120, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.803674, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.804766, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.805049, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.808970, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.809820, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:57.810144, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:57.810654, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:57.810977, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:57.811207, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:57.811449, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:57.811661, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:57.811914, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.812128, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:57.812362, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.812570, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:57.812827, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:57.813045, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:57.813437, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,aes128-ctr,aes128-ctr,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,none,none,, [2023/01/26 18:29:57.813725, 3] crypt_set_algorithms_server: Set output algorithm aes128-ctr [2023/01/26 18:29:57.814628, 3] crypt_set_algorithms_server: Set HMAC output algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:57.814977, 3] crypt_set_algorithms_server: Set input algorithm aes128-ctr [2023/01/26 18:29:57.815244, 3] crypt_set_algorithms_server: Set HMAC input algorithm to hmac-sha2-256-etm@openssh.com [2023/01/26 18:29:57.815557, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.816175, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:57.816487, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:57.816709, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:57.816936, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:57.859666, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:57.861006, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.861455, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:57.861771, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:57.862106, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:57.864814, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:57.865196, 2] ssh_init_rekey_state: Set rekey after 4294967296 blocks [2023/01/26 18:29:57.865860, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:57.866288, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:57.866830, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:57.867151, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:57.867374, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:57.867617, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:57.868011, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:57.870786, 3] packet_send2: packet: wrote [type=7, len=364, padding_size=18, comp=349, payload=349] [2023/01/26 18:29:57.871473, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.871826, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:57.872202, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.872479, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.872698, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.876587, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.879029, 3] ssh_packet_socket_callback: packet: read type 5 [len=32,padding=14,comp=17,payload=17] [2023/01/26 18:29:57.879444, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:57.879845, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:57.880341, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:57.882094, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.882471, 3] packet_send2: packet: wrote [type=6, len=28, padding_size=14, comp=17, payload=17] [2023/01/26 18:29:57.882948, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.883248, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.883472, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.885410, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.887018, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:57.887485, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:57.887926, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:57.888612, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:57.890169, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.890506, 3] packet_send2: packet: wrote [type=53, len=60, padding_size=19, comp=44, payload=44] [2023/01/26 18:29:57.891126, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:57.892293, 3] packet_send2: packet: wrote [type=51, len=28, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:57.892911, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 68 [2023/01/26 18:29:57.893402, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.893842, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.894593, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.894857, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.897474, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.898884, 3] ssh_packet_socket_callback: packet: read type 50 [len=128,padding=15,comp=112,payload=112] [2023/01/26 18:29:57.899233, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:57.899488, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:57.901765, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.902142, 3] packet_send2: packet: wrote [type=60, len=76, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:57.902597, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.902907, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.903137, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.907400, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.909403, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:57.909771, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:57.910045, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:57.911022, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:57.917817, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:57.918519, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:57.920235, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:57.920598, 3] packet_send2: packet: wrote [type=52, len=12, padding_size=14, comp=1, payload=1] [2023/01/26 18:29:57.921094, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=22] [2023/01/26 18:29:57.921538, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:57.921848, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:57.922077, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:57.923065, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:57.924882, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:57.925255, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:57.925623, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:57.925941, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:57.926511, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=29, in_blocks=23] do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye [ OK ] torture_server_config_ciphers [ RUN ] torture_server_config_macs Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:58.185195, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:58.192543, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:29:58.905309, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:58.928258, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:58.929043, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:58.929853, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:58.931457, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:58.931896, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:58.932232, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:58.932832, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:58.933179, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:58.933427, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:58.933694, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:58.934309, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:58.934560, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:58.934784, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:58.935069, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:58.935296, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:58.935549, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:58.936518, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:29:58.936919, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:58.938237, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:58.938987, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:58.939370, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:58.939726, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:58.994371, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:58.995947, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:58.996395, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:58.997725, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:58.998165, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:58.998482, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:29:58.998722, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:58.999030, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:58.999269, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:58.999539, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:58.999770, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:59.000055, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:59.000339, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:59.000613, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:59.001312, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:59.001724, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:59.002130, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:59.002495, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:59.003210, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:59.007533, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.008245, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:59.008596, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:59.008875, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:59.009188, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:59.084347, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:59.085515, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.085882, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:59.086286, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:59.086649, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:59.091053, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:59.091449, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:59.094353, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:59.094885, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:29:59.095364, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.095659, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.095896, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.096109, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.097452, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.098079, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:59.098431, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:59.098736, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:59.099094, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:59.099463, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:59.102688, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.103102, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:59.103549, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:59.104542, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.104901, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.105135, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.135228, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.136101, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:29:59.136483, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:59.231307, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:29:59.243461, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:59.244711, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:29:59.245091, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:29:59.245825, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:59.246159, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:59.246393, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:29:59.246655, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:29:59.246925, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:29:59.247186, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:59.247435, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:59.247678, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:59.247907, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:59.248120, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:59.248346, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:59.248552, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:59.248835, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:59.249416, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:29:59.249738, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:29:59.250325, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.250917, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.251228, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.251450, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.255652, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.256585, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:29:59.256949, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:29:59.257522, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:29:59.257852, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:29:59.258088, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:29:59.258337, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:59.258550, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:29:59.258757, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:59.259044, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:29:59.259262, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:29:59.259471, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:29:59.259727, 4] ssh_list_kex: languages client->server: [2023/01/26 18:29:59.259958, 4] ssh_list_kex: languages server->client: [2023/01/26 18:29:59.260369, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:29:59.260666, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:59.261030, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:29:59.261326, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:29:59.261559, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:29:59.261934, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.262492, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:29:59.262824, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:29:59.263080, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:29:59.263289, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:29:59.309128, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:29:59.310938, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.311568, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:29:59.311975, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:29:59.312228, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:29:59.315685, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:59.316261, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:29:59.317753, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:29:59.318224, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:29:59.318811, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:29:59.319119, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:29:59.319342, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:29:59.319586, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:29:59.319825, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:29:59.320616, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:29:59.321154, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.321414, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:29:59.321802, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.322088, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.322304, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.324800, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.326457, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:29:59.326861, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:29:59.327256, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:29:59.327742, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:29:59.328701, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.329051, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:29:59.329506, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.329813, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.330041, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.330396, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.330967, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:29:59.331318, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:59.331662, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:29:59.332274, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:29:59.333178, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.333611, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:29:59.334533, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:29:59.335152, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:29:59.335717, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:29:59.336207, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.336626, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.336929, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.337154, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.338440, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.339067, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:29:59.339383, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:59.339737, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:59.341457, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.341810, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:29:59.342271, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:29:59.342577, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.342813, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:29:59.345802, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:29:59.347098, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:29:59.347429, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:29:59.347720, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:29:59.348738, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:29:59.356601, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:29:59.357288, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:29:59.358368, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:29:59.358715, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:29:59.359228, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:29:59.359678, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:29:59.360737, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:29:59.361094, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:29:59.361570, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:29:59.361877, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:29:59.362481, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:29:59.362813, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:29:59.363125, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key MACs hmac-sha2-256-etm@openssh.com ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:29:59.573167, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:29:59.580348, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:01.180744, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:01.205010, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:01.205702, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:01.206533, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:01.208161, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.208755, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.209440, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.210482, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:01.211074, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:01.211607, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.212149, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.212675, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com [2023/01/26 18:30:01.213228, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com [2023/01/26 18:30:01.213742, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.214730, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.215283, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:01.215819, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:01.217665, 3] packet_send2: packet: wrote [type=20, len=652, padding_size=6, comp=645, payload=645] [2023/01/26 18:30:01.218271, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:01.220463, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.221662, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.222272, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.222889, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.279260, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.280652, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:01.281198, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:01.283490, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:01.284269, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:01.284599, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:01.284843, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.285057, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.285266, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:01.285596, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:01.286139, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.286657, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.287195, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:01.287632, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:01.288367, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:01.288762, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:01.289184, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:01.289525, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:01.289928, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:01.293730, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.294768, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:01.295141, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:01.295394, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:01.295634, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:01.371634, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:01.372805, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.373157, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:01.373553, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:01.374227, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:01.378515, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:01.378915, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:01.381436, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:01.381927, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:01.382411, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.382768, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.383027, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.383249, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.385898, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.386477, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:01.386817, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:01.387130, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:01.387418, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:01.387809, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:01.391225, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.391619, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:01.392041, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:01.392774, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.393100, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.393318, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.424454, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.425225, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:01.425609, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.520976, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:01.536858, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:01.537457, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:01.537811, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:01.538404, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.538719, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.538973, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:01.539265, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:01.539519, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:01.539752, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.539984, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.540251, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com [2023/01/26 18:30:01.540473, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com [2023/01/26 18:30:01.540720, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.540949, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.541206, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:01.541419, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:01.542545, 3] packet_send2: packet: wrote [type=20, len=652, padding_size=6, comp=645, payload=645] [2023/01/26 18:30:01.542928, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:01.543410, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.544333, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.544593, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.544821, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.548384, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.549051, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:01.549300, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:01.549770, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:01.550029, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:01.550246, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:01.550473, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.550683, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:01.550984, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:01.551204, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:01.551457, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.551673, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:01.551958, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:01.552183, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:01.552590, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:01.552895, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:01.553131, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:01.553397, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:01.553623, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:01.554412, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.554940, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:01.555256, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:01.555482, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:01.555715, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:01.599052, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:01.600151, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.600444, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:01.600729, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:01.600970, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:01.603139, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:01.603428, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:01.605264, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:01.605664, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:01.606227, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:01.606565, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:01.606811, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:01.607034, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:01.607304, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:01.608078, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:01.608637, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.608915, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:01.609273, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.609489, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.609694, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.611465, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.612986, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:01.613381, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:01.613760, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:01.614614, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:01.615620, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.615975, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:01.616445, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.616679, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.616910, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.617212, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.617878, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:01.618252, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:01.618598, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:01.619226, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:01.620172, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.620506, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:01.621119, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:01.621828, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:01.622416, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:30:01.622909, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.623245, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.623465, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.623671, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.625254, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.625890, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:01.626222, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:01.626480, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:01.627928, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.628264, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:01.628710, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:01.628964, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.629177, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:01.631763, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:01.633066, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:01.633410, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:01.633666, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:01.635351, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:01.642301, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:01.642994, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:01.644405, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:01.644855, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:01.645343, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:01.645736, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:01.646331, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:01.646583, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:01.646946, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:01.647192, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:01.647750, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:01.648016, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:01.648228, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key MACs hmac-sha2-512-etm@openssh.com ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:01.911425, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:01.918858, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:03.402911, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:03.427408, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:03.428180, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:03.429434, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:03.431128, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.431561, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.431975, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.432591, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:03.432950, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:03.433205, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.433437, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.433704, 4] ssh_list_kex: mac algo client->server: hmac-sha2-512-etm@openssh.com [2023/01/26 18:30:03.434262, 4] ssh_list_kex: mac algo server->client: hmac-sha2-512-etm@openssh.com [2023/01/26 18:30:03.434582, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.434844, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.435135, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:03.435370, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:03.436397, 3] packet_send2: packet: wrote [type=20, len=652, padding_size=6, comp=645, payload=645] [2023/01/26 18:30:03.436775, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:03.438110, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.438853, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.439241, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.439590, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.498707, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.501100, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:03.502030, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:03.505263, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:03.505997, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:03.506580, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:03.507131, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.507650, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.508368, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:03.508919, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:03.509439, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.509978, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.510502, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:03.511060, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:03.512545, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:03.513484, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:03.514922, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:03.515550, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:03.516295, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:03.517560, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.518561, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:03.519241, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:03.519823, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:03.520404, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:03.600824, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:03.602390, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.602743, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:03.603159, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:03.603530, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:03.608181, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:03.608623, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:03.611280, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:03.611830, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:03.612349, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.612724, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.613013, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.613253, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.615393, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.616056, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:03.616625, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:03.616939, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:03.617298, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:03.617667, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:03.620951, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.621353, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:03.621772, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:03.622541, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.622873, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.623133, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.654895, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.655693, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:03.656111, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.752598, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:03.777488, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:03.778157, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:03.778533, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:03.779202, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.779560, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.779827, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:03.780156, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:03.780400, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:03.780627, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.780905, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.781142, 4] ssh_list_kex: mac algo client->server: hmac-sha2-512-etm@openssh.com [2023/01/26 18:30:03.781367, 4] ssh_list_kex: mac algo server->client: hmac-sha2-512-etm@openssh.com [2023/01/26 18:30:03.781633, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.781878, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.782158, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:03.782393, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:03.783102, 3] packet_send2: packet: wrote [type=20, len=652, padding_size=6, comp=645, payload=645] [2023/01/26 18:30:03.783451, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:03.784230, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.784820, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.785081, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.785307, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.789265, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.789991, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:03.790269, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:03.790746, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:03.791047, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:03.791289, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:03.795215, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.795482, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:03.795807, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:03.796058, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:03.796304, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.796574, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:03.796825, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:03.797121, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:03.797552, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:03.797879, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:03.798140, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:03.798436, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:03.798686, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:03.799127, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.799810, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:03.800159, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:03.800410, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:03.800694, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:03.847152, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:03.848253, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.848569, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:03.848898, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:03.849146, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:03.851596, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:03.851940, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:03.853380, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:03.854302, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:03.854930, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:03.855294, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:03.855550, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:03.855805, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:03.856133, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:03.856978, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:03.857586, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.857908, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:03.858292, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.858528, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.858751, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.862714, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.864940, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:03.865391, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:03.865952, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:03.866672, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:03.867700, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.868117, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:03.868614, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:03.869249, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:03.869621, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:03.870000, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:03.870695, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:03.871441, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:03.872164, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:03.872813, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:03.873638, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.874522, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.874907, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.875263, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.876383, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.877127, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:03.877481, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:03.877757, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:03.879155, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.879516, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:03.880117, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:03.880539, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.880854, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:03.883142, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:03.884876, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:03.885316, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:03.885638, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:03.886766, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:03.894279, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:03.894964, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:03.896117, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:03.896663, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:03.897205, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:03.897690, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:03.898384, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:03.898780, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:03.899211, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:03.899539, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:03.900057, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:03.900395, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:03.900689, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key MACs hmac-sha2-256 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:04.165468, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:04.172926, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:05.680139, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:05.700019, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:05.700747, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:05.701603, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:05.703246, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:05.703702, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:05.704435, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:05.705108, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:05.705488, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:05.705761, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:05.706153, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:05.706644, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256 [2023/01/26 18:30:05.706951, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256 [2023/01/26 18:30:05.707269, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:05.707527, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:05.707841, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:05.708102, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:05.709194, 3] packet_send2: packet: wrote [type=20, len=620, padding_size=6, comp=613, payload=613] [2023/01/26 18:30:05.709592, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:05.710951, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:05.711715, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:05.712121, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:05.712446, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:05.774140, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:05.776563, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:05.777673, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:05.779863, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:05.780812, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:05.781643, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:05.782460, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:05.783257, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:05.784517, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:05.785364, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:05.786158, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:05.786958, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:05.787726, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:05.788515, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:05.789776, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:05.790716, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:05.791662, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:05.792708, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:05.793666, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:05.795341, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:05.796458, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:05.797325, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:05.798153, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:05.798985, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:05.874274, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:05.876181, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:05.877157, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:05.878162, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:05.879080, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:05.883870, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:05.885340, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:05.888446, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:05.889467, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:05.890573, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:05.891432, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:05.892280, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:05.893177, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:05.894437, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:05.898294, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:05.899549, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:05.900477, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:05.901763, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:05.902584, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:05.903395, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:05.927522, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:05.928597, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:05.929076, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:06.029094, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:06.041294, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:06.041896, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:06.042283, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:06.042993, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:06.043325, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:06.043577, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:06.044484, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:06.044847, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:06.045104, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:06.045350, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:06.045625, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256 [2023/01/26 18:30:06.045923, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256 [2023/01/26 18:30:06.046180, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:06.046389, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:06.046630, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:06.046858, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:06.047498, 3] packet_send2: packet: wrote [type=20, len=620, padding_size=6, comp=613, payload=613] [2023/01/26 18:30:06.047822, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:06.048302, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.048871, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:06.049116, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:06.049404, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:06.053549, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:06.054721, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:06.055070, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:06.055567, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:06.055883, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:06.056112, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:06.056335, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:06.056548, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:06.056802, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:06.057028, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:06.057236, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:06.057474, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:06.057696, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:06.057938, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:06.058307, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:06.058590, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:06.058911, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:06.059196, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:06.059425, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:06.059763, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:06.060392, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:06.060695, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:06.060985, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:06.061252, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:06.105864, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:06.106983, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.107319, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:06.107692, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:06.108000, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:06.110250, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:06.110621, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:06.111926, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:06.112358, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:06.112893, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:06.113191, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:06.113457, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:06.113681, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:06.114239, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:06.115075, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:06.115674, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.116007, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:06.116361, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:06.116630, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:06.116858, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:06.118733, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:06.120324, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:06.120701, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:06.121099, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:06.121565, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:06.122530, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.122873, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:06.123319, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:06.123665, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:06.123902, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:06.124198, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:06.124748, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:06.125108, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:06.125446, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:06.126007, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:06.126882, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.127210, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:06.127822, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:06.128670, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:06.129245, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:30:06.129709, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.130115, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:06.130388, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:06.130604, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:06.131817, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:06.132461, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:06.132774, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:06.133043, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:06.134688, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.135051, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:06.135504, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:06.135810, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:06.136043, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:06.138598, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:06.139965, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:06.140304, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:06.140559, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:06.141577, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:06.149017, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:06.149719, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:06.150935, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:06.151277, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:06.151780, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:06.152226, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:06.152880, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:06.153200, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:06.153546, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:06.153863, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:06.154890, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:06.155221, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:06.155531, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key MACs hmac-sha2-512 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:06.364553, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:06.372037, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:07.948390, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:07.982832, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:07.983611, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:07.984776, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:07.986504, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:07.986957, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:07.987336, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:07.987956, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:07.988301, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:07.988550, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:07.988847, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:07.989088, 4] ssh_list_kex: mac algo client->server: hmac-sha2-512 [2023/01/26 18:30:07.989350, 4] ssh_list_kex: mac algo server->client: hmac-sha2-512 [2023/01/26 18:30:07.989578, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:07.989865, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:07.990100, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:07.990362, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:07.991411, 3] packet_send2: packet: wrote [type=20, len=620, padding_size=6, comp=613, payload=613] [2023/01/26 18:30:07.991805, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:07.993112, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:07.994285, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:07.994708, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:07.995074, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.052298, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.053771, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:08.054630, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:08.056085, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:08.056529, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:08.056825, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:08.057125, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:08.057364, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:08.057627, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:08.057940, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:08.058234, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:08.058472, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:08.058742, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:08.059014, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:08.059806, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:08.060238, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:08.060682, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:08.061074, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:08.061498, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:08.067312, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.068067, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:08.068447, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:08.068762, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:08.069092, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:08.144767, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:08.145980, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.146382, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:08.146814, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:08.147208, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:08.151498, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:08.151926, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:08.154974, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:08.155490, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:08.155998, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.156372, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:08.156645, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.156940, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.158492, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.159107, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:08.159465, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:08.159754, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:08.160122, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:08.160494, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:08.163693, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.164491, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:08.164981, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:08.165734, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:08.166068, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.166299, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.198552, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.199376, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:08.199834, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:08.294917, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:08.309330, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:08.309970, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:08.310350, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:08.310994, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:08.311358, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:08.311619, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:08.311942, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:08.312208, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:08.312473, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:08.312700, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:08.312940, 4] ssh_list_kex: mac algo client->server: hmac-sha2-512 [2023/01/26 18:30:08.313200, 4] ssh_list_kex: mac algo server->client: hmac-sha2-512 [2023/01/26 18:30:08.314397, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:08.314668, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:08.314970, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:08.315210, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:08.316047, 3] packet_send2: packet: wrote [type=20, len=620, padding_size=6, comp=613, payload=613] [2023/01/26 18:30:08.316407, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:08.316933, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.317516, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:08.317841, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.318114, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.321739, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.322347, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:08.322674, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:08.323226, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:08.323554, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:08.323812, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:08.324494, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:08.324733, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:08.325043, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:08.325283, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:08.325544, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:08.325808, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:08.326401, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:08.326665, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:08.327110, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:08.327426, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:08.327757, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:08.328017, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:08.328251, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:08.328704, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.329406, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:08.329892, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:08.330205, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:08.330441, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:08.374719, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:08.375815, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.376365, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:08.376855, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:08.377231, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:08.379327, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:08.379691, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:08.380983, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:08.381419, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:08.381963, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:08.382290, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:08.382583, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:08.382874, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:08.383130, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:08.384281, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:08.384876, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.385214, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:08.385590, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:08.386023, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.386491, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.387735, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.389300, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:08.389703, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:08.390171, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:08.390684, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:08.391574, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.391939, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:08.392419, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:08.393007, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:08.393379, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:08.393820, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:08.394808, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:08.395480, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:08.396323, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:08.397027, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:08.397668, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.398100, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:08.398391, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.398616, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.399408, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.400023, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:08.400352, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:08.400616, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:08.401952, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.402289, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:08.402742, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:08.403070, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.403301, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:08.406007, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:08.407340, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:08.407679, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:08.408015, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:08.409023, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:08.416459, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:08.417229, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:08.419190, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:08.419606, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:08.420162, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:08.420628, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:08.421278, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:08.421604, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:08.421998, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:08.422377, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:08.422923, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:08.423248, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:08.423504, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye [ OK ] torture_server_config_macs [ RUN ] torture_server_config_kex Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:08.645988, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:08.653655, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:10.232842, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:10.267336, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:10.268377, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:10.269825, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:10.272740, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.273449, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.274671, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.275835, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:10.276558, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:10.277204, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.277576, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.278258, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.278621, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.278986, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.279275, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.279588, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:10.279877, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:10.281008, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:30:10.281419, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:10.282942, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.283733, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.284436, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.284848, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.367137, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.368508, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:10.368988, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:10.370504, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:10.370993, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:10.371302, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:10.371609, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.371924, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.372241, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.372505, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.372822, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.373159, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.373489, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:10.373800, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:10.374875, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:10.375333, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:10.375823, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:10.376364, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:10.377042, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:10.380598, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.381336, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:10.381735, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:10.382057, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:10.382351, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:10.466702, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:10.468402, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.468755, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:10.469172, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:10.469539, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:10.474867, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:10.475269, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:10.477912, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:10.478557, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:10.479103, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.479470, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.479738, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.479973, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.480259, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.480755, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:10.481104, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:10.481368, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:10.481720, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:10.482111, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:10.485662, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.486079, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:10.486876, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:10.487767, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.488115, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.488343, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.516876, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.517753, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:10.518179, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.609078, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:10.621294, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:10.621860, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:10.622214, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:10.622777, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.623145, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.623380, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:10.623627, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:10.624302, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:10.624612, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.624850, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.625105, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.625320, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.625528, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.625780, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.626016, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:10.626234, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:10.626853, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:30:10.627188, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:10.627673, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.628271, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.628521, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.628734, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.633561, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.634781, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:10.635193, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:10.635845, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:10.636211, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:10.636682, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:10.636950, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.637182, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:10.637405, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.637626, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:10.637858, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.638160, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:10.638395, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:10.638604, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:10.639127, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:10.639444, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:10.639680, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:10.639909, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:10.640167, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:10.640476, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.640984, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:10.641295, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:10.641522, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:10.641732, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:10.685479, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:10.686586, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.686934, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:10.687244, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:10.687474, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:10.689909, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:10.690272, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:10.691475, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:10.691918, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:10.692326, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.692715, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.692975, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.693233, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.693524, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.694336, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:10.694684, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:10.694939, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:10.695160, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:10.695503, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:10.696282, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.696625, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:10.696894, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:10.697226, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.697509, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.697758, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.698071, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.699528, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:10.699923, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:10.700306, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:10.700781, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:10.701631, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.701980, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:10.702418, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:10.702982, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:10.703340, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:10.703706, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:10.704574, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:10.705233, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:10.705942, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:10.706526, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:10.707168, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.707588, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.707899, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.708125, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.709604, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.710233, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:10.710561, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:10.710828, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:10.712175, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.712511, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:10.712962, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:10.713271, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.713498, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:10.716662, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:10.718050, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:10.718394, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:10.718650, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:10.719661, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:10.726685, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:10.727333, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:10.728338, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:10.728686, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:10.729196, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:10.729671, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:10.730289, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:10.730621, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:10.730993, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:10.731384, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:10.731947, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:10.732273, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:10.732505, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms curve25519-sha256 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:10.952675, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:10.960277, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:12.460187, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:12.482935, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:12.483705, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:12.484894, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:12.486532, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.486956, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.487404, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.488048, 4] ssh_list_kex: kex algos: curve25519-sha256 [2023/01/26 18:30:12.488380, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:12.488614, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.488903, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.489132, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.489383, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.489596, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.489858, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.490076, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:12.490321, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:12.491244, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=7, comp=548, payload=548] [2023/01/26 18:30:12.491595, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:12.492972, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.493674, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.494546, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.494990, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.555323, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.556646, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:12.557099, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:12.558583, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:12.559010, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:12.559276, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:12.559541, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.559759, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.560016, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.560687, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.561117, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.561346, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.561649, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:12.562173, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:12.563412, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:12.563895, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:12.564356, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:12.564897, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:12.565478, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:12.570176, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.570868, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:12.571217, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:12.571492, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:12.571777, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:12.655134, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:12.656267, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.656629, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:12.657069, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:12.657443, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:12.662657, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:12.663112, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:12.666069, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:12.666597, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:12.667085, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.667447, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.667709, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.667959, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.668958, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.669610, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:12.669996, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:12.670308, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:12.670690, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:12.671105, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:12.675329, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.675767, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:12.676243, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:12.677201, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.677630, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.677936, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.710196, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.711072, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:12.711500, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.809800, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:12.822567, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:12.823191, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:12.823550, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:12.824823, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.825197, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.825467, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:12.825765, 4] ssh_list_kex: kex algos: curve25519-sha256 [2023/01/26 18:30:12.826062, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:12.826395, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.826665, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.826910, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.827167, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.827399, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.827650, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.827888, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:12.828149, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:12.828748, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=7, comp=548, payload=548] [2023/01/26 18:30:12.829106, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:12.829595, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.830257, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.830588, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.830844, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.835892, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.836862, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:12.837223, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:12.837754, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:12.838108, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:12.838385, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:12.838657, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.838903, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:12.839161, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.839419, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:12.839639, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.839873, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:12.840116, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:12.840377, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:12.840759, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:12.841080, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:12.841329, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:12.841596, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:12.841846, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:12.842221, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.842942, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:12.843296, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:12.843538, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:12.843814, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:12.887828, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:12.889547, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.890200, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:12.890909, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:12.891467, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:12.896091, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:12.896681, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:12.899004, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:12.899695, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:12.900619, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:12.901192, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:12.901722, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:12.902763, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:12.903359, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:12.905136, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:12.906114, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.906862, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:12.907723, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.908305, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.908872, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.909577, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.912041, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:12.912643, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:12.913413, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:12.914721, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:12.916274, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.917125, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:12.918434, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:12.919491, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:12.920129, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:12.920860, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:12.921943, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:12.923094, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:12.924922, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:12.926001, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:12.927335, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.928319, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.928907, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.929426, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.930090, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.931132, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:12.931690, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:12.932321, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:12.934915, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.935495, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:12.936496, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:12.937130, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.937905, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:12.942462, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:12.944886, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:12.945467, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:12.945984, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:12.948281, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:12.960158, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:12.961133, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:12.962301, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:12.962660, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:12.963180, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:12.963687, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:12.964574, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:12.964933, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:12.965297, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:12.965621, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:12.966580, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:12.967052, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:12.967313, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms curve25519-sha256@libssh.org ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:13.187619, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:13.195490, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:30:14.486021, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:14.523154, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:14.523829, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:14.524922, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:14.528471, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.528899, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.529777, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.530889, 4] ssh_list_kex: kex algos: curve25519-sha256@libssh.org [2023/01/26 18:30:14.531226, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:14.531447, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.531809, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.532054, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.532264, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.532469, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.532742, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.533064, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:14.533316, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:14.534408, 3] packet_send2: packet: wrote [type=20, len=564, padding_size=4, comp=559, payload=559] [2023/01/26 18:30:14.534735, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:14.536060, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.536712, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.537003, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.537307, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.589806, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.590980, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:14.591302, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:14.592683, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:14.593091, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:14.593336, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:14.593550, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.593814, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.594479, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.594763, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.594993, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.595201, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.595447, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:14.595654, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:14.596323, 2] ssh_kex_select_methods: Negotiated curve25519-sha256@libssh.org,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:14.596699, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:14.597063, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:14.597385, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:14.597720, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:14.606918, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.607587, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:14.607891, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:14.608193, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:14.608432, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:14.683546, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:14.684691, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.684988, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:14.685389, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:14.685733, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:14.689660, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:14.690065, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:14.692351, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:14.692843, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:14.693221, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.693606, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.694151, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.694384, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.695900, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.696413, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:14.696734, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:14.697030, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:14.697374, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:14.697722, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:14.700706, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.701083, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:14.701467, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:14.702173, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.702466, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.702684, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.733305, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.734311, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:14.734724, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.848387, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:14.859685, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:14.860160, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:14.860470, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:14.860983, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.861274, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.861490, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:14.861751, 4] ssh_list_kex: kex algos: curve25519-sha256@libssh.org [2023/01/26 18:30:14.862007, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:14.862215, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.862463, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.862672, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.862930, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.863141, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.863380, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.863586, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:14.863840, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:14.864849, 3] packet_send2: packet: wrote [type=20, len=564, padding_size=4, comp=559, payload=559] [2023/01/26 18:30:14.865138, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:14.865563, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.866085, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.866312, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.866555, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.901722, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.902676, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:14.903009, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:14.903540, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:14.903848, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:14.904641, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:14.904893, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.905149, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:14.905361, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.905605, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:14.905827, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.906034, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:14.906239, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:14.906480, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:14.906848, 2] ssh_kex_select_methods: Negotiated curve25519-sha256@libssh.org,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:14.907124, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:14.907348, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:14.907555, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:14.907888, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:14.909827, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.910342, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:14.910622, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:14.910851, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:14.911101, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:14.953054, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:14.954155, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.954509, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:14.954820, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:14.955090, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:14.957018, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:14.957345, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:14.958519, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:14.958916, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:14.959322, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.959650, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.959913, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.960123, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.960379, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.960843, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:14.961124, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:14.961341, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:14.961578, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:14.961858, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:14.962656, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.962975, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:14.963214, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:14.963570, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.964130, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.964432, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.986475, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.988324, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:14.988694, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:14.989065, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:14.989520, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:14.990376, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.990682, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:14.991148, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.991428, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.991644, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:14.991977, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:14.992471, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:14.992800, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:14.993142, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:14.993720, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:14.994762, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.995077, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:14.995647, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:14.996199, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:14.996659, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:30:14.997108, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:14.997464, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:14.997723, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:14.997947, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:15.000491, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:15.001120, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:15.001415, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:15.001660, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:15.003107, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:15.003414, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:15.004015, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:15.004317, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:15.004537, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:15.013174, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:15.015353, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:15.015705, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:15.015995, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:15.016917, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:15.023372, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:15.024156, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:15.025253, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:15.025567, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:15.026048, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:15.026711, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:15.027016, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:15.027231, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:15.027520, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:15.028042, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:15.028342, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:15.028671, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:15.028924, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:15.029383, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms ecdh-sha2-nistp256 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:15.251977, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:15.259078, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:16.791314, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:16.814707, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:16.815346, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:16.816150, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:16.817919, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:16.818320, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:16.818673, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:16.819263, 4] ssh_list_kex: kex algos: ecdh-sha2-nistp256 [2023/01/26 18:30:16.819580, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:16.819834, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:16.820104, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:16.820329, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:16.820548, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:16.820765, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:16.821039, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:16.821262, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:16.821513, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:16.822394, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=6, comp=549, payload=549] [2023/01/26 18:30:16.822734, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:16.824310, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:16.825249, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:16.825629, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:16.825967, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:16.903070, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:16.905105, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:16.905623, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:16.907987, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:16.908481, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:16.909013, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:16.909441, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:16.909930, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:16.910348, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:16.910840, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:16.911257, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:16.911674, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:16.912108, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:16.912590, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:16.913706, 2] ssh_kex_select_methods: Negotiated ecdh-sha2-nistp256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:16.914500, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:16.915137, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:16.915697, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:16.916736, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:16.937332, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:16.938244, 3] ssh_packet_socket_callback: packet: read type 30 [len=76,padding=5,comp=70,payload=70] [2023/01/26 18:30:16.938766, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:16.939217, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:16.939675, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:17.080578, 2] ssh_packet_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent [2023/01/26 18:30:17.081730, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.082277, 3] packet_send2: packet: wrote [type=31, len=644, padding_size=10, comp=633, payload=633] [2023/01/26 18:30:17.082943, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:17.083460, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:17.091682, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:17.092131, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:17.095077, 2] ssh_packet_server_ecdh_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:17.095675, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:17.096429, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.097002, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.097485, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.097920, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.117807, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.118648, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:17.119186, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:17.121480, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:17.121997, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:17.122636, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:17.126633, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.127115, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:17.127814, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:17.128883, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.129261, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.129672, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.152359, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.155165, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:17.156170, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:17.244903, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:17.257187, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:17.257684, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:17.258044, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:17.258585, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:17.258909, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:17.259148, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:17.259422, 4] ssh_list_kex: kex algos: ecdh-sha2-nistp256 [2023/01/26 18:30:17.259741, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:17.259977, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:17.260230, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:17.260449, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:17.260694, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:17.260924, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:17.261173, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:17.261388, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:17.261632, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:17.262155, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=6, comp=549, payload=549] [2023/01/26 18:30:17.262459, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:17.262919, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.263450, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.263733, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.263972, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.267304, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.268086, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:17.268408, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:17.268920, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:17.269229, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:17.269461, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:17.269715, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:17.269954, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:17.270219, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:17.270445, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:17.270704, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:17.270938, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:17.271194, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:17.271412, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:17.271798, 2] ssh_kex_select_methods: Negotiated ecdh-sha2-nistp256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:17.272089, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:17.272324, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:17.272591, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:17.272833, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:17.291703, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.292594, 3] ssh_packet_socket_callback: packet: read type 30 [len=76,padding=5,comp=70,payload=70] [2023/01/26 18:30:17.292940, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:17.293177, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:17.293433, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:17.370874, 2] ssh_packet_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent [2023/01/26 18:30:17.371737, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.372043, 3] packet_send2: packet: wrote [type=31, len=644, padding_size=10, comp=633, payload=633] [2023/01/26 18:30:17.372376, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:17.372610, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:17.374964, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:17.375332, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:17.376567, 2] ssh_packet_server_ecdh_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:17.377030, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:17.377453, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.377898, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.378145, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.378418, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.392453, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.393154, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:17.393463, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:17.393695, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:17.394363, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:17.394664, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:17.395542, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.395893, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:17.396166, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:17.396574, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:17.398012, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:17.398383, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:17.398754, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:17.399239, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:17.399851, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:17.400454, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.400870, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.401154, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.401380, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.401776, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.402316, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:17.402656, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:17.403048, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:17.403626, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:17.404722, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.405084, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:17.405672, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:17.406235, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:17.406783, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:30:17.407284, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.407667, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.407960, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.408187, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.408822, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.409384, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:17.409692, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:17.409964, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:17.411223, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.411550, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:17.412008, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:17.412307, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.412536, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:17.414626, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:17.416385, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:17.416895, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:17.417366, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:17.418416, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:17.427364, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:17.428060, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:17.429032, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:17.429362, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:17.429841, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:17.430290, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:17.430904, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:17.431224, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:17.431583, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:17.431847, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:17.432441, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:17.432751, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:17.432999, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms ecdh-sha2-nistp384 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:17.645727, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:17.652609, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:19.148457, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:19.166481, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:19.167093, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:19.167854, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:19.169406, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.169872, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.170232, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.170852, 4] ssh_list_kex: kex algos: ecdh-sha2-nistp384 [2023/01/26 18:30:19.171170, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:19.171394, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.171638, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.171863, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.172123, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.172356, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.172595, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.172817, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:19.173071, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:19.174001, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=6, comp=549, payload=549] [2023/01/26 18:30:19.174892, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:19.176206, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.177112, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.177609, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.177975, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.232119, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.234409, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:19.235415, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:19.237442, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:19.238361, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:19.239192, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:19.239983, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.240754, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.241530, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.242302, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.243070, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.243846, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.244897, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:19.245657, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:19.246908, 2] ssh_kex_select_methods: Negotiated ecdh-sha2-nistp384,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:19.247811, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:19.248729, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:19.249603, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:19.250525, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:19.282139, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.283658, 3] ssh_packet_socket_callback: packet: read type 30 [len=108,padding=5,comp=102,payload=102] [2023/01/26 18:30:19.284969, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:19.285807, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:19.286661, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:19.424952, 2] ssh_packet_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent [2023/01/26 18:30:19.426674, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.427612, 3] packet_send2: packet: wrote [type=31, len=676, padding_size=10, comp=665, payload=665] [2023/01/26 18:30:19.428601, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:19.429668, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:19.434823, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:19.435829, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:19.438856, 2] ssh_packet_server_ecdh_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:19.439907, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:19.440890, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.441734, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.442514, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.443298, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.470644, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.472129, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:19.473031, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:19.474162, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:19.475087, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:19.475994, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:19.480035, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.481034, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:19.482018, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:19.483291, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.484524, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.485329, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.502947, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.504736, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:19.505284, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.599212, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:19.611307, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:19.611848, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:19.612184, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:19.612773, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.613113, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.613353, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:19.613641, 4] ssh_list_kex: kex algos: ecdh-sha2-nistp384 [2023/01/26 18:30:19.614265, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:19.614586, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.614833, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.615056, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.615271, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.615521, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.615743, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.616014, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:19.616237, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:19.616809, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=6, comp=549, payload=549] [2023/01/26 18:30:19.617130, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:19.617606, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.618180, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.618472, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.618726, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.621860, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.622607, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:19.622953, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:19.623453, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:19.623768, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:19.624383, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:19.624652, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.624894, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:19.625160, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.625428, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:19.625696, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.625934, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:19.626187, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:19.626428, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:19.626843, 2] ssh_kex_select_methods: Negotiated ecdh-sha2-nistp384,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:19.627147, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:19.627409, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:19.627687, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:19.627938, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:19.657224, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.658263, 3] ssh_packet_socket_callback: packet: read type 30 [len=108,padding=5,comp=102,payload=102] [2023/01/26 18:30:19.658617, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:19.658871, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:19.659130, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:19.764500, 2] ssh_packet_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent [2023/01/26 18:30:19.765446, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.765730, 3] packet_send2: packet: wrote [type=31, len=676, padding_size=10, comp=665, payload=665] [2023/01/26 18:30:19.766075, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:19.766345, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:19.768341, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:19.768695, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:19.769958, 2] ssh_packet_server_ecdh_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:19.770377, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:19.770821, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.771171, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.771426, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.771659, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.799680, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.800479, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:19.800729, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:19.801002, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:19.801221, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:19.801472, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:19.802626, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.802985, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:19.803237, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:19.803626, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.804258, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.804506, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.806494, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.808003, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:19.808369, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:19.808762, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:19.809249, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:19.810109, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.810429, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:19.810883, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:19.811426, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:19.811770, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:19.812277, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:19.812828, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:19.813484, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:19.814436, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:19.815045, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:19.815739, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.816151, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.816418, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.816635, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.817458, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.818044, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:19.818354, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:19.818596, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:19.819885, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.820207, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:19.820629, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:19.820935, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.821159, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:19.823121, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:19.824548, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:19.824895, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:19.825144, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:19.826086, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:19.835064, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:19.835741, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:19.836732, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:19.837074, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:19.837533, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:19.837975, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:19.838551, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:19.838873, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:19.839206, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:19.839506, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:19.840003, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:19.840309, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:19.840534, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms ecdh-sha2-nistp521 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:20.095675, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:20.102548, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:21.551392, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:21.575040, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:21.575672, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:21.576578, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:21.578216, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:21.578656, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:21.579157, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:21.579907, 4] ssh_list_kex: kex algos: ecdh-sha2-nistp521 [2023/01/26 18:30:21.580277, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:21.580737, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:21.581208, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:21.581499, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:21.581710, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:21.581944, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:21.582177, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:21.582380, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:21.582741, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:21.583735, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=6, comp=549, payload=549] [2023/01/26 18:30:21.584426, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:21.585870, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:21.586622, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:21.587054, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:21.587438, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:21.642001, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:21.643188, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:21.643610, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:21.645542, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:21.645951, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:21.646204, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:21.646443, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:21.646649, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:21.646867, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:21.647068, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:21.647267, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:21.647464, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:21.647661, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:21.647869, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:21.648494, 2] ssh_kex_select_methods: Negotiated ecdh-sha2-nistp521,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:21.648943, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:21.649430, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:21.649823, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:21.650195, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:21.700766, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:21.701590, 3] ssh_packet_socket_callback: packet: read type 30 [len=148,padding=9,comp=138,payload=138] [2023/01/26 18:30:21.702153, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:21.702535, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:21.702920, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:21.861655, 2] ssh_packet_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent [2023/01/26 18:30:21.862806, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:21.863138, 3] packet_send2: packet: wrote [type=31, len=708, padding_size=6, comp=701, payload=701] [2023/01/26 18:30:21.863524, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:21.864160, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:21.868495, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:21.868855, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:21.871325, 2] ssh_packet_server_ecdh_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:21.871911, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:21.872778, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:21.873397, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:21.874092, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:21.874537, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:21.913359, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:21.914535, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:21.914958, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:21.915369, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:21.915762, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:21.916201, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:21.919678, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:21.920084, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:21.920565, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:21.921527, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:21.921875, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:21.922107, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:21.944212, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:21.944937, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:21.945398, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:22.033499, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:22.054368, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:22.054942, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:22.055294, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:22.055890, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:22.056224, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:22.056468, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:22.056720, 4] ssh_list_kex: kex algos: ecdh-sha2-nistp521 [2023/01/26 18:30:22.057006, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:22.057237, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:22.057514, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:22.057742, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:22.058038, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:22.058271, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:22.058545, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:22.058766, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:22.059011, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:22.059539, 3] packet_send2: packet: wrote [type=20, len=556, padding_size=6, comp=549, payload=549] [2023/01/26 18:30:22.059875, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:22.060354, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.060928, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:22.061235, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:22.062055, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:22.065027, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:22.065828, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:22.066165, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:22.066711, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:22.067064, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:22.067303, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:22.067603, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:22.067861, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:22.068144, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:22.068402, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:22.068694, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:22.068937, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:22.069158, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:22.069373, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:22.069768, 2] ssh_kex_select_methods: Negotiated ecdh-sha2-nistp521,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:22.070081, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:22.070322, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:22.070598, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:22.070847, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:22.107375, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:22.108353, 3] ssh_packet_socket_callback: packet: read type 30 [len=148,padding=9,comp=138,payload=138] [2023/01/26 18:30:22.108704, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:22.108972, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:22.109200, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:22.227312, 2] ssh_packet_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent [2023/01/26 18:30:22.228255, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.228528, 3] packet_send2: packet: wrote [type=31, len=708, padding_size=6, comp=701, payload=701] [2023/01/26 18:30:22.228817, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:22.229038, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:22.231130, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:22.231484, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:22.232570, 2] ssh_packet_server_ecdh_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:22.233013, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:22.233424, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.233816, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:22.234414, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:22.234634, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:22.270436, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:22.271342, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:22.271605, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:22.271831, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:22.272046, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:22.272413, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:22.273415, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.273747, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:22.274373, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:22.274798, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:22.276241, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:22.276621, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:22.277000, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:22.277470, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:22.278093, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:22.278689, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.279098, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:22.279323, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:22.279525, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:22.279820, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:22.280263, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:22.280605, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:22.281106, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:22.281686, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:22.282429, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.282745, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:22.283354, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:22.284124, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:22.284667, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:30:22.285143, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.285555, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:22.285839, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:22.286054, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:22.286905, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:22.287462, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:22.287769, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:22.288030, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:22.289302, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.289619, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:22.290052, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:22.290343, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:22.290556, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:22.292348, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:22.293556, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:22.294146, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:22.294491, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:22.295418, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:22.304175, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:22.304763, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:22.305706, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:22.306182, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:22.306855, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:22.307292, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:22.307873, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:22.308122, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:22.308439, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:22.308664, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:22.309300, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:22.309673, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:22.310066, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key KexAlgorithms diffie-hellman-group18-sha512 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:22.515493, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:22.522286, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:30:24.006894, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:24.029510, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:24.030112, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:24.031079, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:24.032731, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:24.033136, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:24.033480, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:24.034260, 4] ssh_list_kex: kex algos: diffie-hellman-group18-sha512 [2023/01/26 18:30:24.034608, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:24.034895, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:24.035149, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:24.035365, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:24.035625, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:24.035859, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:24.036101, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:24.036324, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:24.036610, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:24.037466, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=11, comp=560, payload=560] [2023/01/26 18:30:24.037816, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:24.039082, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:24.039736, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:24.040087, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:24.040382, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:24.093530, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:24.095234, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:24.095651, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:24.097141, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:24.097535, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:24.097805, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:24.098081, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:24.098300, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:24.098507, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:24.098713, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:24.098973, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:24.099188, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:24.099394, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:24.099596, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:24.100182, 2] ssh_kex_select_methods: Negotiated diffie-hellman-group18-sha512,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:24.100568, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:24.100974, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:24.101306, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:24.101683, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:26.696736, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:26.697889, 3] ssh_packet_socket_callback: packet: read type 30 [len=1036,padding=5,comp=1030,payload=1030] [2023/01/26 18:30:26.698277, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:26.698554, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:26.698855, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:26.699119, 3] ssh_packet_server_dh_init: Received SSH_MSG_KEXDH_INIT Connection failed : Timeout connecting to 127.0.0.10 [2023/01/26 18:30:34.371654, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:34.372595, 1] ssh_socket_exception_callback: Socket exception callback: 2 (32) [2023/01/26 18:30:34.373687, 1] ssh_socket_exception_callback: Socket error: Broken pipe [2023/01/26 18:30:34.374516, 3] packet_send2: packet: wrote [type=31, len=1604, padding_size=11, comp=1592, payload=1592] [2023/01/26 18:30:34.374814, 3] ssh_server_dh_process_init: Sent KEX_DH_[GEX]_REPLY [2023/01/26 18:30:34.375244, 1] ssh_socket_exception_callback: Socket exception callback: 2 (32) [2023/01/26 18:30:34.375559, 1] ssh_socket_exception_callback: Socket error: Broken pipe [2023/01/26 18:30:34.375806, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:34.376116, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:34.380075, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:34.380429, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:34.382425, 3] ssh_server_dh_process_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:34.382887, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 9 Socket error: Broken pipe ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 [2023/01/26 18:30:34.971749, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:34.985031, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:34.985563, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:34.985917, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:34.986485, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:34.986831, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:34.987076, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:34.987378, 4] ssh_list_kex: kex algos: diffie-hellman-group18-sha512 [2023/01/26 18:30:34.987644, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:34.987926, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:34.988177, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:34.988431, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:34.988690, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:34.988932, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:34.989208, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:34.989438, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:34.989701, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:34.990259, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=11, comp=560, payload=560] [2023/01/26 18:30:34.990580, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:34.991102, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:34.991718, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:34.992041, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:34.992273, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:35.047617, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:35.048701, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:35.049076, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:35.049646, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:35.049980, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:35.050221, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:35.050458, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:35.050678, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:35.050959, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:35.051192, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:35.051409, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:35.051627, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:35.051894, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:35.052123, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:35.052486, 2] ssh_kex_select_methods: Negotiated diffie-hellman-group18-sha512,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:35.052783, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:35.053044, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:35.053299, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:35.053611, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:37.635933, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:37.636933, 3] ssh_packet_socket_callback: packet: read type 30 [len=1036,padding=5,comp=1030,payload=1030] [2023/01/26 18:30:37.637226, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:37.637566, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:37.637874, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:37.638113, 3] ssh_packet_server_dh_init: Received SSH_MSG_KEXDH_INIT Connection failed : Timeout connecting to 127.0.0.10 [ ERROR ] --- 0x1 != 0 [ LINE ] --- /builddir/build/BUILD/libssh-0.10.4/tests/torture.c:1108: error: Failure! [ FAILED ] torture_server_config_kex [ RUN ] torture_server_config_hostkey_algorithms Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:45.338407, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:45.339130, 1] ssh_socket_exception_callback: Socket exception callback: 2 (32) [2023/01/26 18:30:45.339669, 1] ssh_socket_exception_callback: Socket error: Broken pipe [2023/01/26 18:30:45.339998, 3] packet_send2: packet: wrote [type=31, len=1604, padding_size=11, comp=1592, payload=1592] [2023/01/26 18:30:45.340248, 3] ssh_server_dh_process_init: Sent KEX_DH_[GEX]_REPLY [2023/01/26 18:30:45.340597, 1] ssh_socket_exception_callback: Socket exception callback: 2 (32) [2023/01/26 18:30:45.340919, 1] ssh_socket_exception_callback: Socket error: Broken pipe [2023/01/26 18:30:45.341173, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:45.341428, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:45.343500, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:45.343852, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:45.345153, 3] ssh_server_dh_process_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:45.345514, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 9 Socket error: Broken pipe ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 [2023/01/26 18:30:45.438994, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:45.446445, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:30:45.987260, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:45.999447, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:46.000008, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:46.000445, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:46.001162, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:46.001507, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:46.001831, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:46.002191, 4] ssh_list_kex: kex algos: diffie-hellman-group18-sha512 [2023/01/26 18:30:46.002509, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:46.002901, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:46.003217, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:46.003515, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:46.003840, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:46.004370, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:46.004717, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:46.005097, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:46.005563, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:46.006459, 3] packet_send2: packet: wrote [type=20, len=572, padding_size=11, comp=560, payload=560] [2023/01/26 18:30:46.006805, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:46.007356, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:46.007999, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:46.008325, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:46.008556, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:46.061174, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:46.062316, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:46.062678, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:46.063277, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:46.063590, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:46.064138, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:46.064452, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:46.064676, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:46.064906, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:46.065155, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:46.065531, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:46.065973, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:46.066236, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:46.066485, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:46.066894, 2] ssh_kex_select_methods: Negotiated diffie-hellman-group18-sha512,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:46.067221, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:46.067471, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:46.067741, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:46.068001, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:48.685236, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:48.686373, 3] ssh_packet_socket_callback: packet: read type 30 [len=1036,padding=6,comp=1029,payload=1029] [2023/01/26 18:30:48.686715, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:48.686968, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:48.687191, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:48.687438, 3] ssh_packet_server_dh_init: Received SSH_MSG_KEXDH_INIT Connection failed : Timeout connecting to 127.0.0.10 [2023/01/26 18:30:56.400023, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:56.401467, 1] ssh_socket_exception_callback: Socket exception callback: 2 (32) [2023/01/26 18:30:56.402497, 1] ssh_socket_exception_callback: Socket error: Broken pipe [2023/01/26 18:30:56.403338, 3] packet_send2: packet: wrote [type=31, len=1604, padding_size=11, comp=1592, payload=1592] [2023/01/26 18:30:56.404665, 3] ssh_server_dh_process_init: Sent KEX_DH_[GEX]_REPLY [2023/01/26 18:30:56.405572, 1] ssh_socket_exception_callback: Socket exception callback: 2 (32) [2023/01/26 18:30:56.406414, 1] ssh_socket_exception_callback: Socket error: Broken pipe [2023/01/26 18:30:56.407218, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:56.408012, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:56.410642, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:56.411488, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:56.413086, 3] ssh_server_dh_process_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:56.414332, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 9 Socket error: Broken pipe ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 [2023/01/26 18:30:57.034715, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:57.059042, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:57.059659, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:57.060684, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:57.062436, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.062860, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.063248, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.064105, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:57.064465, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:57.064706, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.064996, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.065220, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.065471, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.065688, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.065950, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.066170, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:57.066431, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:57.067578, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:30:57.067945, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:57.069329, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.070351, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.070834, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.071177, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.122990, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.124557, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:57.125010, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:57.126360, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:57.126774, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:57.127106, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:57.127342, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.127612, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.127849, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.128064, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.128274, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.128527, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.128806, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:57.129069, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:57.129926, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:57.130497, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:57.130976, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:57.131298, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:57.131734, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:57.136845, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.137501, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:57.138380, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:57.138698, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:57.138973, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:57.221626, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:57.222668, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.223017, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:57.223420, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:57.223800, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:57.229447, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:57.229867, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:57.232628, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:57.233134, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:57.233614, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.234237, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.234545, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.234767, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.235345, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.235907, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:57.236252, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:57.236560, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:57.236923, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:57.237439, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:57.241594, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.242021, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:57.242508, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:57.243291, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.243607, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.244097, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.273730, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.274738, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:57.275162, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.362944, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:57.375124, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:57.375640, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:57.376004, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:57.376577, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.376916, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.377188, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:57.377446, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:57.377723, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:30:57.377979, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.378232, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.378453, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.378670, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.378942, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.379170, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.379419, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:57.379682, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:57.380444, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:30:57.380774, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:57.381248, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.381821, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.382114, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.382353, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.386055, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.386930, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:57.387309, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:57.387750, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:30:57.388083, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:57.388327, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:57.388620, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.388864, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:57.389126, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.389349, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:57.389609, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.389858, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:57.390079, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:57.390329, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:57.390810, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:57.391123, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:57.391366, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:57.391774, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:57.392037, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:57.392401, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.392909, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:57.393218, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:57.393451, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:57.393713, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:57.435711, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:57.436604, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.436940, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:30:57.437248, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:57.437487, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:57.439532, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:57.439924, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:57.441206, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:57.441674, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:57.442220, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:57.442523, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:57.442798, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:57.443066, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:57.443329, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:57.444132, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:57.444607, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.444934, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:57.445288, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.445515, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.445732, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.447521, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.449444, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:57.449873, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:57.450556, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:57.451102, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:57.451943, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.452273, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:57.452750, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:57.453309, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:57.453613, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:57.454242, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:57.454994, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:57.455883, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:57.456640, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:57.457230, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:57.457882, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.458295, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.458534, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.458754, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.460053, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.460631, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:57.460968, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:57.461228, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:57.462628, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.462978, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:57.463465, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:57.463724, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.464318, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:57.466904, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:57.468318, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:57.468657, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:57.468943, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:57.470034, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:57.477551, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:57.478194, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:57.479083, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:57.479418, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:57.479927, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:57.480355, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:57.480852, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:57.481174, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:57.481560, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:57.481837, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:57.482316, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:57.482632, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:57.482882, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_ed25519_key HostkeyAlgorithms ssh-ed25519 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:57.700727, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:57.708966, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:30:57.711335, 2] ssh_pki_openssh_import: Opening OpenSSH private key: ciphername: none, kdf: none, nkeys: 1 [2023/01/26 18:30:58.351443, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:58.389300, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:58.390241, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:58.391922, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:58.394805, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.395473, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.396159, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.397230, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:58.397827, 4] ssh_list_kex: server host key algo: ssh-ed25519 [2023/01/26 18:30:58.398326, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.398861, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.399388, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.399926, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.400442, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.400975, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.401496, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:58.402031, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:58.403499, 3] packet_send2: packet: wrote [type=20, len=756, padding_size=8, comp=747, payload=747] [2023/01/26 18:30:58.404524, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:58.406716, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.407904, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:58.408502, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.409083, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:58.458295, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.460238, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:58.460886, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:58.462836, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:30:58.463499, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:58.464519, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:58.465055, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.465470, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.465946, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.466425, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.466946, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.467464, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.467945, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:58.468206, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:58.469115, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-ed25519,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:58.469606, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:58.470171, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:58.470608, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:58.471135, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:58.472016, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.472833, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:58.473194, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:58.473444, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:58.473718, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:58.514353, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:58.515297, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.515637, 3] packet_send2: packet: wrote [type=31, len=188, padding_size=8, comp=179, payload=179] [2023/01/26 18:30:58.516058, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:58.516412, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:58.520653, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:58.521037, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:58.523348, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:58.524008, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:58.524555, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:58.524910, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:58.525174, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:58.525500, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:58.525834, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:58.528891, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:58.529499, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.529891, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:58.530575, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:58.530891, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.531166, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:58.552707, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.553350, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:58.553735, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.638528, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:58.648194, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:58.648641, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:58.649151, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:58.649803, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.650109, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.650333, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:58.650599, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:58.650823, 4] ssh_list_kex: server host key algo: ssh-ed25519 [2023/01/26 18:30:58.651069, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.651277, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.651513, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.651742, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.651993, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.652200, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.652460, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:58.652673, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:58.653202, 3] packet_send2: packet: wrote [type=20, len=756, padding_size=8, comp=747, payload=747] [2023/01/26 18:30:58.653499, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:58.654315, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.654886, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:58.655164, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.655376, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:58.659120, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.659720, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:58.660042, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:58.660514, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:30:58.660818, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:58.661044, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:30:58.661283, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.661491, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:58.661693, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.661912, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:58.662148, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.662354, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:58.662589, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:58.662840, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:58.663234, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-ed25519,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:58.663519, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:58.663743, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:58.664566, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:58.664833, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:58.665181, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.665708, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:58.666028, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:58.666286, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:58.666496, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:58.679380, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:58.680104, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.680422, 3] packet_send2: packet: wrote [type=31, len=188, padding_size=8, comp=179, payload=179] [2023/01/26 18:30:58.680710, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:58.680997, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:58.682962, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:58.683292, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:58.684738, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:58.685154, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:30:58.685596, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:58.685897, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:58.686138, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:58.686347, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:58.686577, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:58.687264, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:58.687745, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.688057, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:58.688486, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:58.688937, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.689322, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:58.693185, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.695085, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:30:58.695460, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:30:58.695760, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:30:58.696437, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:30:58.697240, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.697575, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:30:58.698027, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:58.698570, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:30:58.698915, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:58.699246, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:30:58.699816, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:30:58.700450, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:30:58.701162, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:30:58.701748, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:30:58.702358, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.702747, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:58.703030, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.703243, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:58.704933, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.705495, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:30:58.705777, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:58.706037, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:58.707184, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.707508, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:30:58.707950, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:58.708244, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.708461, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:58.710238, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:58.710825, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:30:58.711133, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:30:58.711375, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:30:58.712340, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:30:58.717657, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:30:58.718218, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:30:58.719133, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:58.719453, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:30:58.720433, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:30:58.720881, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:30:58.721427, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:30:58.721733, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:30:58.722097, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:30:58.722392, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:30:58.722876, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:30:58.723177, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:58.723398, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key HostkeyAlgorithms ssh-rsa ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:30:58.925151, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:30:58.932391, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:30:59.620466, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:59.650226, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:59.651030, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:59.651958, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:59.653749, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.654551, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.654936, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.655590, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:59.655979, 4] ssh_list_kex: server host key algo: ssh-rsa [2023/01/26 18:30:59.656263, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:59.656557, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:59.656827, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:59.657138, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:59.657398, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:59.657679, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:59.658019, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:59.658314, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:59.659591, 3] packet_send2: packet: wrote [type=20, len=748, padding_size=4, comp=743, payload=743] [2023/01/26 18:30:59.660009, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:59.661366, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:59.662168, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:59.662509, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:59.662878, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:59.721408, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:59.722817, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:30:59.723237, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:30:59.724776, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:30:59.725220, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:30:59.725479, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:30:59.725698, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:59.725949, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:59.726159, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:59.726363, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:59.726677, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:59.726908, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:59.727118, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:59.727381, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:59.728165, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-rsa,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:30:59.728572, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:59.728998, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:30:59.729337, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:30:59.729708, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:30:59.737097, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:59.737798, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:30:59.738134, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:30:59.738384, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:30:59.738683, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:30:59.814374, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:30:59.815480, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:59.815842, 3] packet_send2: packet: wrote [type=31, len=604, padding_size=8, comp=595, payload=595] [2023/01/26 18:30:59.816256, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:30:59.816633, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:30:59.821063, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:59.821457, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:30:59.824316, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:30:59.824862, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:30:59.825299, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:59.825665, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:59.825925, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:59.826152, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:59.827766, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:59.828386, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:30:59.828744, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:30:59.829219, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:30:59.829538, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:30:59.829872, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:30:59.833147, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:59.833547, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:30:59.834263, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:30:59.835057, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:59.835377, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:30:59.835624, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:30:59.867272, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:30:59.868066, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:30:59.868422, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.979843, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:30:59.992628, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:59.993230, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:30:59.993571, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:30:59.994153, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.994971, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.995235, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:30:59.995494, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:30:59.995761, 4] ssh_list_kex: server host key algo: ssh-rsa [2023/01/26 18:30:59.996008, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:59.996228, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:30:59.996483, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:59.996753, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:30:59.996998, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:30:59.997261, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:30:59.997505, 4] ssh_list_kex: languages client->server: [2023/01/26 18:30:59.997759, 4] ssh_list_kex: languages server->client: [2023/01/26 18:30:59.998406, 3] packet_send2: packet: wrote [type=20, len=748, padding_size=4, comp=743, payload=743] [2023/01/26 18:30:59.998728, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:30:59.999221, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:30:59.999735, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:30:59.999996, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:00.000215, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:00.003433, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:00.004572, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:00.004953, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:00.005418, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:00.005737, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:00.005998, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:00.006264, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:00.006536, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:00.006824, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:00.007060, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:00.007316, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:00.007543, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:00.007806, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:00.008035, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:00.008434, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-rsa,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:00.008737, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:00.009000, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:00.009268, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:00.009500, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:00.009831, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:00.010393, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:00.010725, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:00.010983, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:00.011251, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:00.054895, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:00.055960, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.056280, 3] packet_send2: packet: wrote [type=31, len=604, padding_size=8, comp=595, payload=595] [2023/01/26 18:31:00.056636, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:00.056903, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:00.059104, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:00.059493, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:00.060994, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:00.061475, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:00.062201, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:00.062559, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:00.062818, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:00.063091, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:00.063390, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:00.064736, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:00.065331, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.065641, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:00.066157, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:00.066571, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:00.066835, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:00.069599, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:00.071200, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:00.071602, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:00.072143, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:00.072751, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:00.073678, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.074531, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:00.075047, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:00.075637, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:00.076024, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:00.076420, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:00.077064, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:00.077741, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:00.078512, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:00.079122, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:00.079803, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.080238, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:00.080544, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:00.080779, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:00.081677, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:00.082409, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:00.082885, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:00.083294, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:00.084880, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.085243, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:00.085714, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:00.086056, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:00.086419, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:00.088776, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:00.089992, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:00.090338, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:00.090604, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:00.091615, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:00.100900, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:00.102639, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:00.103585, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.104233, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:00.104762, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:00.105282, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:00.105890, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:00.106210, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:00.106543, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:00.107151, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:00.107828, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:00.108215, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:00.108497, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key HostkeyAlgorithms rsa-sha2-256 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:00.319468, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:00.326998, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:31:00.936766, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:00.960358, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:00.961045, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:00.961881, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:00.963485, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:00.963912, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:00.964255, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:00.965115, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:00.965481, 4] ssh_list_kex: server host key algo: rsa-sha2-256 [2023/01/26 18:31:00.965830, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:00.966183, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:00.966582, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:00.966849, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:00.967077, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:00.967297, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:00.967560, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:00.967797, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:00.969177, 3] packet_send2: packet: wrote [type=20, len=756, padding_size=7, comp=748, payload=748] [2023/01/26 18:31:00.969493, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:00.970833, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:00.971503, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:00.971887, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:00.972219, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.032366, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.035008, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:01.035735, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:01.037816, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA256 [2023/01/26 18:31:01.038485, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:01.039035, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:01.039485, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:01.039963, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:01.040467, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:01.040972, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:01.041394, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:01.041809, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:01.042232, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:01.042734, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:01.044280, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-256,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:01.045000, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:01.045767, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:01.046376, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:01.047119, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:01.048235, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.049206, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:01.049802, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:01.050283, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:01.050869, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:01.137183, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:01.138817, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.139142, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:01.139582, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:01.139963, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:01.147517, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:01.148309, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:01.151523, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:01.152106, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:01.152692, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:01.153181, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:01.153528, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:01.153856, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:01.154265, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:01.157732, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:01.158455, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.158869, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:01.159583, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:01.159911, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.160139, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.198346, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.199131, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:01.199523, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:01.294733, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:01.309070, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:01.309698, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:01.310073, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:01.310722, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:01.311091, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:01.311351, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:01.311657, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:01.311903, 4] ssh_list_kex: server host key algo: rsa-sha2-256 [2023/01/26 18:31:01.312201, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:01.312445, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:01.312709, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:01.312951, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:01.313237, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:01.313473, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:01.313727, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:01.314267, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:01.315067, 3] packet_send2: packet: wrote [type=20, len=756, padding_size=7, comp=748, payload=748] [2023/01/26 18:31:01.315420, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:01.315912, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.316622, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:01.316958, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.317199, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.320540, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.321305, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:01.321639, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:01.322121, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA256 [2023/01/26 18:31:01.322436, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:01.322673, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:01.322949, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:01.323179, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:01.323431, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:01.323683, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:01.324388, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:01.324700, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:01.324964, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:01.325224, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:01.325619, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-256,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:01.325926, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:01.326177, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:01.326452, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:01.326691, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:01.327085, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.327656, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:01.327988, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:01.328228, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:01.328494, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:01.373022, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:01.374513, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.374934, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:01.375275, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:01.375572, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:01.377755, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:01.378145, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:01.379602, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:01.380068, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:01.380602, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:01.380924, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:01.381163, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:01.381388, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:01.381662, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:01.382422, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:01.382993, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.383326, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:01.383692, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:01.384298, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.384608, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.387311, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.389492, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:01.389920, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:01.390353, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:01.390870, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:01.391832, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.392177, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:01.392656, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:01.392978, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.393219, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.393583, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.394651, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:01.395058, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:01.395460, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:01.396100, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:01.397018, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.397359, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:01.398002, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:01.398632, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:01.399240, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:31:01.399732, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.400152, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:01.400440, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.400673, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.402277, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.402965, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:01.403295, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:01.403563, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:01.405554, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.405950, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:01.406444, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:01.406812, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.407057, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:01.410994, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:01.412354, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:01.412717, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:01.413013, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:01.414472, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:01.424825, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:01.425643, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:01.426743, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:01.427149, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:01.427684, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:01.428207, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:01.429070, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:01.429571, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:01.429988, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:01.430316, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:01.430856, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:01.431182, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:01.431425, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key HostkeyAlgorithms rsa-sha2-512 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:01.641968, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:01.649298, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:31:02.307208, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:02.325191, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:02.325900, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:02.329429, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:02.331092, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.331514, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.331848, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.332389, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:02.332705, 4] ssh_list_kex: server host key algo: rsa-sha2-512 [2023/01/26 18:31:02.332953, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.333240, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.333555, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.333795, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.334291, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.334518, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.334725, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:02.334949, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:02.336105, 3] packet_send2: packet: wrote [type=20, len=756, padding_size=7, comp=748, payload=748] [2023/01/26 18:31:02.336470, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:02.337818, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.338571, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.338893, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.339160, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.393705, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.395519, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:02.395944, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:02.397213, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:31:02.397644, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:02.397924, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:02.398171, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.398383, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.398591, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.398809, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.399027, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.399235, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.399442, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:02.399646, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:02.400331, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:02.400731, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:02.401107, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:02.401382, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:02.401715, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:02.406978, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.408256, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:02.408688, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:02.408974, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:02.409239, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:02.489976, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:02.491125, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.491470, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:02.491891, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:02.492267, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:02.496943, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:02.497481, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:02.500082, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:02.500664, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:31:02.501143, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.501573, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.501892, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.502118, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.502913, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.503534, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:02.504169, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:02.504549, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:02.504915, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:02.505306, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:02.508888, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.509360, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:02.509792, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:02.510544, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.510806, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.511026, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.540246, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.541137, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:02.541497, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.637775, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:02.649932, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:02.650520, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:02.651048, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:02.651670, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.652001, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.652255, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:02.652509, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:02.652719, 4] ssh_list_kex: server host key algo: rsa-sha2-512 [2023/01/26 18:31:02.652940, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.653171, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.653374, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.653576, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.653834, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.654895, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.655126, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:02.655331, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:02.656055, 3] packet_send2: packet: wrote [type=20, len=756, padding_size=7, comp=748, payload=748] [2023/01/26 18:31:02.656377, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:02.656888, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.657502, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.657749, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.657999, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.662232, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.663106, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:02.663377, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:02.664266, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:31:02.664628, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:02.664868, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:02.665082, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.665287, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:02.665496, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.665744, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:02.665970, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.666177, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:02.666379, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:02.666600, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:02.666997, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:02.667300, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:02.667536, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:02.667752, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:02.668029, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:02.668366, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.669004, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:02.669345, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:02.669590, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:02.669812, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:02.715699, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:02.716771, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.717119, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:02.717452, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:02.717743, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:02.720067, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:02.720465, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:02.721776, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:02.722221, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:02.722747, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:02.723065, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:02.723291, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:02.723536, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:02.723824, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:02.725135, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:02.725698, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.726006, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:02.726410, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.726679, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.726954, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.728660, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.730289, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:02.730666, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:02.731053, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:02.731524, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:02.732429, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.732760, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:02.733239, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:02.733814, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:02.734171, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:02.734871, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:02.735495, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:02.736188, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:02.736901, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:02.737512, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:02.738194, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.738606, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.738900, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.739123, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.740173, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.740851, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:02.741163, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:02.741410, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:02.742883, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.743228, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:02.743689, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:02.744426, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.744676, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:02.746965, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:02.748812, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:02.749177, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:02.749435, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:02.750903, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:02.758460, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:02.759228, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:02.760379, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:02.760723, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:02.761227, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:02.761676, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:02.762341, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:02.762654, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:02.763021, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:02.763432, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:02.764298, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:02.764643, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:02.764884, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_ecdsa_256_key HostkeyAlgorithms ecdsa-sha2-nistp256 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:02.970450, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:02.977685, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:31:04.599113, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:04.615880, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:04.616535, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:04.617347, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:04.618935, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.619360, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.619709, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.620324, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:04.620644, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp256 [2023/01/26 18:31:04.620888, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.621140, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.621373, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.621578, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.621794, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.622041, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.622251, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:04.622485, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:04.623398, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=8, comp=755, payload=755] [2023/01/26 18:31:04.623758, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:04.625344, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:04.626071, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:04.626414, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:04.626681, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:04.687115, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:04.688860, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:04.689328, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:04.690717, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:04.691151, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:04.691452, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:04.691717, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.691990, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.692242, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.692525, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.692798, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.693037, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.693282, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:04.693554, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:04.694681, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp256,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:04.695147, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:04.695563, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:04.695910, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:04.696267, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:04.701767, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:04.702614, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:04.702996, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:04.703266, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:04.703577, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:04.767163, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:04.769630, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:04.770067, 3] packet_send2: packet: wrote [type=31, len=260, padding_size=11, comp=248, payload=248] [2023/01/26 18:31:04.770487, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:04.770851, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:04.775607, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:04.776027, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:04.778692, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:04.779197, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:31:04.779603, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:04.780027, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:04.780327, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:04.780544, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:04.788148, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:04.789658, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:04.790045, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:04.790326, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:04.790679, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:04.791068, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:04.794723, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:04.795147, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:04.795587, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:04.796337, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:04.796653, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:04.796891, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:04.842251, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:04.843095, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:04.843440, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.945575, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:04.958073, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:04.958744, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:04.959562, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:04.960250, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.960688, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.960957, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:04.961271, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:04.961523, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp256 [2023/01/26 18:31:04.961808, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.962044, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.962298, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.962550, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.962815, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.963075, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.963297, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:04.963536, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:04.964595, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=8, comp=755, payload=755] [2023/01/26 18:31:04.964966, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:04.965466, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:04.966103, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:04.966415, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:04.966648, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:04.972218, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:04.972956, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:04.973291, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:04.974251, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:04.974601, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:04.974878, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:04.975156, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.975434, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:04.975662, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.975904, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:04.976129, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.976387, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:04.976610, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:04.976842, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:04.977364, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp256,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:04.977707, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:04.977976, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:04.978244, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:04.978489, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:04.978878, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:04.979394, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:04.979710, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:04.979966, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:04.980229, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:05.014887, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:05.016017, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:05.016329, 3] packet_send2: packet: wrote [type=31, len=260, padding_size=11, comp=248, payload=248] [2023/01/26 18:31:05.016677, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:05.016947, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:05.019929, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:05.020303, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:05.021674, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:05.022142, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:05.022674, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:05.023009, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:05.023253, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:05.023519, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:05.023902, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:05.024881, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:05.025480, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:05.025837, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:05.026220, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:05.026515, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:05.026752, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:05.054211, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:05.056122, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:05.056542, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:05.056950, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:05.057450, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:05.058357, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:05.058709, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:05.059568, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:05.060184, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:05.060552, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:05.060922, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:05.061554, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:05.062198, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:05.062929, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:05.063514, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:05.064491, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:05.064954, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:05.065255, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:05.065493, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:05.066591, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:05.067191, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:05.067525, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:05.067834, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:05.069330, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:05.069679, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:05.070156, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:05.070469, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:05.070738, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:05.073082, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:05.073704, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:05.074464, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:05.074751, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:05.075762, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:05.082558, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:05.083166, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:05.084308, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:05.084654, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:05.085136, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:05.085562, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:05.086697, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:05.087054, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:05.087393, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:05.087706, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:05.088227, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:05.088538, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:05.088771, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_ecdsa_384_key HostkeyAlgorithms ecdsa-sha2-nistp384 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:05.309694, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:05.317240, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:31:06.860245, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:06.876736, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:06.877358, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:06.878414, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:06.880006, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:06.880422, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:06.880754, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:06.881367, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:06.881700, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp384 [2023/01/26 18:31:06.881961, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:06.882228, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:06.882455, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:06.882708, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:06.882949, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:06.883172, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:06.883438, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:06.883716, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:06.885282, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=8, comp=755, payload=755] [2023/01/26 18:31:06.885654, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:06.887045, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:06.887761, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:06.888154, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:06.888440, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:06.949505, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:06.951068, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:06.951506, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:06.952649, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:06.953073, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:06.953381, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:06.953624, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:06.954490, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:06.954764, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:06.955045, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:06.955270, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:06.955488, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:06.955707, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:06.955942, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:06.956834, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp384,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:06.957257, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:06.957682, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:06.958060, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:06.958461, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:06.963510, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:06.964888, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:06.965252, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:06.965519, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:06.965776, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:07.045831, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:07.047296, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.047670, 3] packet_send2: packet: wrote [type=31, len=324, padding_size=10, comp=313, payload=313] [2023/01/26 18:31:07.048094, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:07.048478, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:07.052797, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:07.053229, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:07.056714, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:07.057298, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:31:07.057820, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.058343, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.058617, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.058849, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.066657, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.067367, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:07.067663, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:07.067993, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:07.068293, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:07.068671, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:07.071866, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.072276, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:07.072686, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:07.073450, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.073765, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.075846, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.141611, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.142398, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:07.142746, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:07.239429, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:07.251108, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:07.251707, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:07.252052, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:07.252637, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:07.252971, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:07.253226, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:07.253488, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:07.253734, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp384 [2023/01/26 18:31:07.254555, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:07.254812, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:07.255116, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:07.255322, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:07.255525, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:07.255726, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:07.255943, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:07.256179, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:07.256864, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=8, comp=755, payload=755] [2023/01/26 18:31:07.257177, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:07.257648, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.258211, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.258484, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.258695, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.262467, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.263307, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:07.263623, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:07.264624, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:07.264973, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:07.265277, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:07.265550, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:07.265828, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:07.266207, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:07.266438, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:07.266679, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:07.266905, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:07.267181, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:07.267406, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:07.267867, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp384,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:07.268194, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:07.268438, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:07.268698, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:07.268954, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:07.269277, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.269831, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:07.270171, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:07.270416, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:07.270666, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:07.322077, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:07.323186, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.323530, 3] packet_send2: packet: wrote [type=31, len=324, padding_size=11, comp=312, payload=312] [2023/01/26 18:31:07.324448, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:07.324810, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:07.327192, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:07.327551, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:07.329245, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:07.329682, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:07.330197, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:07.330492, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:07.330716, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:07.330967, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:07.331229, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:07.332016, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:07.332598, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.332926, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:07.333274, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.333541, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.333761, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.365336, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.367190, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:07.367633, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:07.368053, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:07.368523, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:07.369503, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.369851, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:07.370312, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.370596, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.370827, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.371182, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.371794, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:07.372154, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:07.372514, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:07.373067, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:07.374316, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.374677, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:07.375291, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:07.375962, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:07.376509, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:31:07.376989, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.377357, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.377616, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.377842, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.379224, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.379909, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:07.380216, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:07.380464, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:07.381909, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.382243, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:07.382692, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:07.383000, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.383233, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:07.386022, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:07.386846, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:07.387161, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:07.387411, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:07.388456, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:07.395151, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:07.395963, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:07.397709, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:07.398083, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:07.398563, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:07.399003, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:07.399653, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:07.399977, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:07.400321, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:07.400619, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:07.401124, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:07.401425, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:07.401647, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_ecdsa_521_key HostkeyAlgorithms ecdsa-sha2-nistp521 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:07.611929, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:07.619531, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:31:09.169195, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:09.186196, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:09.186940, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:09.187826, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:09.189447, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.189874, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.190191, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.190757, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:09.191095, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp521 [2023/01/26 18:31:09.191322, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.191530, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.191770, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.192064, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.192310, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.192543, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.192795, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:09.193009, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:09.194487, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=8, comp=755, payload=755] [2023/01/26 18:31:09.194910, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:09.196291, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.197036, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.197381, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.197697, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.255738, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.257230, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:09.257645, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:09.258822, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:09.259199, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:09.259450, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:09.259712, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.259944, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.260185, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.260393, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.260636, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.260860, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.261104, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:09.261308, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:09.262150, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp521,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:09.262541, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:09.262949, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:09.263279, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:09.263677, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:09.276283, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.277077, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:09.277421, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:09.277693, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:09.278004, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:09.365279, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:09.366347, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.366656, 3] packet_send2: packet: wrote [type=31, len=388, padding_size=4, comp=383, payload=383] [2023/01/26 18:31:09.367068, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:09.367416, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:09.371375, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:09.371766, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:09.374429, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:09.374936, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:31:09.375385, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.375715, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.375955, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.376164, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.388872, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.389649, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:09.389985, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:09.390294, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:09.390583, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:09.390962, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:09.394476, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.394936, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:09.395352, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:09.396078, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.396378, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.396593, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.475511, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.476353, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:09.476703, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.576606, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:09.588588, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:09.589185, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:09.589528, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:09.590193, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.590638, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.590891, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:09.591147, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:09.591364, 4] ssh_list_kex: server host key algo: ecdsa-sha2-nistp521 [2023/01/26 18:31:09.591578, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.591820, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.592065, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.592288, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.592498, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.592708, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.593047, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:09.593271, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:09.593743, 3] packet_send2: packet: wrote [type=20, len=764, padding_size=8, comp=755, payload=755] [2023/01/26 18:31:09.594542, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:09.595081, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.595656, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.595920, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.596144, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.600985, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.601859, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:09.602135, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:09.602585, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: [2023/01/26 18:31:09.602920, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:09.603157, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:09.603412, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.603633, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:09.603866, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.604613, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:09.604896, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.605119, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:09.605335, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:09.605548, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:09.605941, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ecdsa-sha2-nistp521,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:09.606186, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:09.606414, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:09.606645, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:09.606893, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:09.609217, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.609834, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:09.610145, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:09.610376, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:09.610594, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:09.671442, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:09.672510, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.672888, 3] packet_send2: packet: wrote [type=31, len=388, padding_size=4, comp=383, payload=383] [2023/01/26 18:31:09.673246, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:09.673550, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:09.676052, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:09.676461, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:09.677863, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:09.678318, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:09.678889, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:09.679197, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:09.679430, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:09.679683, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:09.680040, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:09.680715, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:09.681292, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.681602, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:09.681981, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.682266, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.682495, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.720346, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.722334, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:09.722810, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:09.723188, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:09.723664, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:09.725044, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.725383, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:09.725901, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.726217, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.726436, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.726726, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.727382, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:09.727718, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:09.728067, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:09.728664, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:09.729606, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.729962, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:09.730566, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:09.731174, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:09.731719, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:31:09.732210, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.732575, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.732842, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.733053, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.735442, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.736129, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:09.736435, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:09.736679, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:09.738104, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.738427, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:09.738887, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:09.739174, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.739410, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:09.743726, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:09.745554, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:09.745915, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:09.746168, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:09.747165, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:09.753489, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:09.754411, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:09.755464, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:09.755831, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:09.756319, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:09.756743, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:09.757379, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:09.757682, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:09.758033, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:09.758327, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:09.758858, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:09.759158, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:09.759378, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye [ OK ] torture_server_config_hostkey_algorithms [ RUN ] torture_server_config_unknown Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key UnknownOption unknown-value1,unknown-value2 ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:09.980148, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:09.987754, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2023/01/26 18:31:10.063022, 1] ssh_bind_config_parse_line: Unknown option: UnknownOption, line: 2 Connection failed : Failed to connect: Connection refused [2023/01/26 18:31:11.572267, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:11.593862, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:11.594709, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:11.595747, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:11.597412, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.597850, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.598183, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.598801, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:11.599139, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:31:11.599380, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.599604, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.599881, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.600137, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.600394, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.600618, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.600912, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:11.601145, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:11.602071, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:31:11.602440, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:11.603724, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.604721, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.605128, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.605459, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.660519, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.662101, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:11.662521, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:11.664187, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:31:11.664623, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:11.664936, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:11.665218, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.665483, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.665760, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.666008, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.666269, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.666585, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.667204, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:11.667429, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:11.668181, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:11.668908, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:11.669339, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:11.669684, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:11.670094, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:11.674544, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.675242, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:11.675592, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:11.675861, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:11.676160, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:11.750877, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:11.751973, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.752401, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:11.752865, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:11.753242, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:11.757931, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:11.758340, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:11.760995, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:11.761487, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:31:11.761982, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.762354, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.762618, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.762943, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.763683, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.764513, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:11.764885, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:11.765196, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:11.765538, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:11.765919, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:11.769170, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.769575, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:11.770077, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:11.770840, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.771155, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.771377, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.800567, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.801386, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:11.801743, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.895206, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:11.906478, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:11.906970, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:11.907481, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:11.908137, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.908459, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.908691, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:11.908987, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256 [2023/01/26 18:31:11.909206, 4] ssh_list_kex: server host key algo: rsa-sha2-512,rsa-sha2-256 [2023/01/26 18:31:11.909449, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.909724, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.910002, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.910252, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.910500, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.910709, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.910929, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:11.911133, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:11.911801, 3] packet_send2: packet: wrote [type=20, len=772, padding_size=10, comp=761, payload=761] [2023/01/26 18:31:11.912117, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:11.912573, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.913362, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.913680, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.914387, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.918049, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.918801, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:11.919066, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:11.919432, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA512 [2023/01/26 18:31:11.919709, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:11.919947, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 [2023/01/26 18:31:11.920210, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.920426, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:11.920632, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.920911, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:11.921126, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.921332, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:11.921573, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:11.921795, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:11.922348, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-512,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:11.922683, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:11.922934, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:11.923162, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:11.923387, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:11.923767, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.924770, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:11.925101, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:11.925325, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:11.925566, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:11.970503, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:11.971491, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.971770, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:11.972121, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:11.972391, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:11.975133, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:11.975514, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:11.976944, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:11.977387, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:11.977898, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:11.978206, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:11.978428, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:11.978674, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:11.978917, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:11.979651, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:11.980235, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.980553, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:11.980921, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.981208, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.981426, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.983076, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.984934, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:11.985327, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:11.985720, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:11.986184, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:11.987042, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.987320, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:11.987836, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.988151, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.988372, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.988698, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.989193, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:11.989541, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:11.989886, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:11.990496, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:11.991299, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.991633, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:11.992238, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:11.992818, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:11.993371, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 52 [2023/01/26 18:31:11.994147, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.994561, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.994848, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.995067, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:11.996135, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:11.996745, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:11.997023, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:11.997261, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:11.998622, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:11.998975, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:11.999412, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:11.999706, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:11.999942, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:12.002707, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:12.004298, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:12.004669, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:12.004955, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:12.005961, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:12.013041, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:12.013626, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:12.014950, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:12.015292, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:12.015759, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:12.016237, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:12.016857, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:12.017198, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:12.017548, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:12.017875, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:12.018387, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:12.018713, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:12.018994, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye [ OK ] torture_server_config_unknown [ RUN ] torture_server_config_rsa_hostkey_order Config file /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config content: HostKey /tmp/test_socket_wrapper_nEiKts/sshd/ssh_host_rsa_key HostkeyAlgorithms rsa-sha2-256,ssh-rsa ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = FALSE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated [2023/01/26 18:31:12.306337, 3] ssh_bind_config_parse_file: Reading configuration data from /etc/libssh/libssh_server.config [2023/01/26 18:31:12.314918, 3] local_parse_file: Reading additional configuration data from /etc/crypto-policies/back-ends/libssh.config [2023/01/26 18:31:12.342992, 3] ssh_bind_config_parse_file: Reading configuration data from /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config [2023/01/26 18:31:12.344922, 2] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false Connection failed : Failed to connect: Connection refused [2023/01/26 18:31:13.821655, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:13.838760, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:13.839446, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:13.840276, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:13.841866, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:13.842278, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:13.842631, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:13.843216, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 [2023/01/26 18:31:13.843535, 4] ssh_list_kex: server host key algo: rsa-sha2-256,ssh-rsa [2023/01/26 18:31:13.843766, 4] ssh_list_kex: encryption client->server: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr [2023/01/26 18:31:13.844359, 4] ssh_list_kex: encryption server->client: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr [2023/01/26 18:31:13.844589, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha2-512 [2023/01/26 18:31:13.844854, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha2-512 [2023/01/26 18:31:13.845070, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:13.845316, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:13.845555, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:13.845819, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:13.846762, 3] packet_send2: packet: wrote [type=20, len=812, padding_size=7, comp=804, payload=804] [2023/01/26 18:31:13.847132, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:13.848445, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:13.849171, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:13.849532, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:13.849860, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:13.904797, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:13.906204, 3] ssh_packet_socket_callback: packet: read type 20 [len=860,padding=7,comp=852,payload=852] [2023/01/26 18:31:13.906655, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:13.908042, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA256 [2023/01/26 18:31:13.908447, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:13.908704, 4] ssh_list_kex: server host key algo: ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa [2023/01/26 18:31:13.908989, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:13.909232, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:13.909515, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:13.909738, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:13.909998, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:13.910212, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:13.910475, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:13.910692, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:13.911509, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,rsa-sha2-256,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:13.911926, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:13.912347, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:13.912690, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:13.913098, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:13.918190, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:13.918861, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:13.919206, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:13.919462, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:13.919764, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:13.995095, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:13.996114, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:13.996448, 3] packet_send2: packet: wrote [type=31, len=612, padding_size=11, comp=600, payload=600] [2023/01/26 18:31:13.996853, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:13.997213, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:14.001888, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:14.002288, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:14.005079, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:14.005550, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 16 [2023/01/26 18:31:14.006025, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.006406, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:14.006682, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.006917, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:14.007682, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.008234, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:14.008566, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:14.008980, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:14.009301, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:14.009692, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:14.012719, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.013119, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:14.013577, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:14.014636, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:14.014985, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.015215, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:14.045277, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.046017, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0) [2023/01/26 18:31:14.046369, 1] ssh_socket_exception_callback: Socket error: disconnected do_poll error: Socket error: disconnected ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = TRUE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 OK: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:14.142153, 3] packet_send2: packet: wrote [type=1, len=28, padding_size=7, comp=20, payload=20] [2023/01/26 18:31:14.164267, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:14.164841, 3] ssh_socket_pollcallback: Received POLLOUT in connecting state [2023/01/26 18:31:14.165187, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 23 [2023/01/26 18:31:14.165759, 3] callback_receive_banner: Received banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:14.166099, 2] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:14.166380, 2] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.10.4 [2023/01/26 18:31:14.166629, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 [2023/01/26 18:31:14.166919, 4] ssh_list_kex: server host key algo: rsa-sha2-256,ssh-rsa [2023/01/26 18:31:14.167147, 4] ssh_list_kex: encryption client->server: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr [2023/01/26 18:31:14.167392, 4] ssh_list_kex: encryption server->client: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr [2023/01/26 18:31:14.167608, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha2-512 [2023/01/26 18:31:14.167835, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha2-512 [2023/01/26 18:31:14.168049, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:14.168258, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:14.168499, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:14.168713, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:14.169222, 3] packet_send2: packet: wrote [type=20, len=812, padding_size=7, comp=804, payload=804] [2023/01/26 18:31:14.169536, 3] ssh_send_kex: SSH_MSG_KEXINIT sent [2023/01/26 18:31:14.170046, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.170601, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:14.170899, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.171123, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:14.174892, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.175580, 3] ssh_packet_socket_callback: packet: read type 20 [len=772,padding=4,comp=767,payload=767] [2023/01/26 18:31:14.175915, 3] ssh_packet_process: Dispatching handler for packet type 20 [2023/01/26 18:31:14.176450, 3] ssh_packet_kexinit: The client supports extension negotiation. Enabled signature algorithms: SHA256 [2023/01/26 18:31:14.176763, 4] ssh_list_kex: kex algos: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,ext-info-c [2023/01/26 18:31:14.177012, 4] ssh_list_kex: server host key algo: ssh-rsa,rsa-sha2-256 [2023/01/26 18:31:14.177260, 4] ssh_list_kex: encryption client->server: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:14.177476, 4] ssh_list_kex: encryption server->client: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr, [2023/01/26 18:31:14.177687, 4] ssh_list_kex: mac algo client->server: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:14.177915, 4] ssh_list_kex: mac algo server->client: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512 [2023/01/26 18:31:14.178161, 4] ssh_list_kex: compression algo client->server: none,zlib@openssh.com,zlib [2023/01/26 18:31:14.178375, 4] ssh_list_kex: compression algo server->client: none,zlib@openssh.com,zlib [2023/01/26 18:31:14.178583, 4] ssh_list_kex: languages client->server: [2023/01/26 18:31:14.178858, 4] ssh_list_kex: languages server->client: [2023/01/26 18:31:14.179247, 2] ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-rsa,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,, [2023/01/26 18:31:14.179529, 3] crypt_set_algorithms_server: Set output algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:14.179764, 3] crypt_set_algorithms_server: Set HMAC output algorithm to aead-poly1305 [2023/01/26 18:31:14.180033, 3] crypt_set_algorithms_server: Set input algorithm chacha20-poly1305@openssh.com [2023/01/26 18:31:14.180257, 3] crypt_set_algorithms_server: Set HMAC input algorithm to aead-poly1305 [2023/01/26 18:31:14.180658, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.181201, 3] ssh_packet_socket_callback: packet: read type 30 [len=44,padding=6,comp=37,payload=37] [2023/01/26 18:31:14.181507, 3] ssh_packet_process: Dispatching handler for packet type 30 [2023/01/26 18:31:14.181735, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT [2023/01/26 18:31:14.181999, 3] ssh_packet_kexdh_init: Calling next KEXDH handler [2023/01/26 18:31:14.225735, 2] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent [2023/01/26 18:31:14.226799, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.227143, 3] packet_send2: packet: wrote [type=31, len=604, padding_size=8, comp=595, payload=595] [2023/01/26 18:31:14.227454, 3] packet_send2: packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1] [2023/01/26 18:31:14.227680, 4] ssh_packet_set_newkeys: called, direction = OUT [2023/01/26 18:31:14.229945, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:14.230304, 2] ssh_init_rekey_state: Set rekey after 134217728 blocks [2023/01/26 18:31:14.231695, 2] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent [2023/01/26 18:31:14.232126, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 16 [2023/01/26 18:31:14.232623, 3] ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1] [2023/01/26 18:31:14.232935, 3] ssh_packet_process: Dispatching handler for packet type 21 [2023/01/26 18:31:14.233185, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS [2023/01/26 18:31:14.233440, 4] ssh_packet_set_newkeys: called, direction = IN [2023/01/26 18:31:14.233685, 3] ssh_server_send_extensions: Sending SSH_MSG_EXT_INFO [2023/01/26 18:31:14.234506, 3] packet_send2: packet: wrote [type=7, len=360, padding_size=10, comp=349, payload=349] [2023/01/26 18:31:14.235035, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.235343, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: current state : 7 [2023/01/26 18:31:14.235699, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:14.235994, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.236216, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:14.237456, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.238958, 3] ssh_packet_socket_callback: packet: read type 5 [len=24,padding=6,comp=17,payload=17] [2023/01/26 18:31:14.239333, 3] ssh_packet_process: Dispatching handler for packet type 5 [2023/01/26 18:31:14.239750, 3] ssh_packet_service_request: Received a SERVICE_REQUEST for service ssh-userauth [2023/01/26 18:31:14.240250, 3] ssh_message_service_reply_success: Sending a SERVICE_ACCEPT for service ssh-userauth [2023/01/26 18:31:14.241091, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.241372, 3] packet_send2: packet: wrote [type=6, len=24, padding_size=6, comp=17, payload=17] [2023/01/26 18:31:14.241852, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:14.242329, 3] ssh_packet_socket_callback: packet: read type 50 [len=48,padding=11,comp=36,payload=36] [2023/01/26 18:31:14.242600, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:14.243068, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method none for user 'alice' [2023/01/26 18:31:14.243696, 3] ssh_send_issue_banner: Sending a server issue banner [2023/01/26 18:31:14.244620, 3] packet_send2: packet: wrote [type=53, len=56, padding_size=11, comp=44, payload=44] [2023/01/26 18:31:14.245357, 3] ssh_auth_reply_default: Sending a auth failure. methods that can continue: publickey,password [2023/01/26 18:31:14.245953, 3] packet_send2: packet: wrote [type=51, len=32, padding_size=7, comp=24, payload=24] [2023/01/26 18:31:14.246602, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.247020, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:14.247303, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.247520, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:14.248490, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.249129, 3] ssh_packet_socket_callback: packet: read type 50 [len=120,padding=7,comp=112,payload=112] [2023/01/26 18:31:14.249385, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:14.249620, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:14.250940, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.251272, 3] packet_send2: packet: wrote [type=60, len=80, padding_size=8, comp=71, payload=71] [2023/01/26 18:31:14.251708, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLOUT ), out buffer 0 [2023/01/26 18:31:14.252021, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.252244, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback [2023/01/26 18:31:14.254718, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN ), out buffer 0 [2023/01/26 18:31:14.256472, 3] ssh_packet_socket_callback: packet: read type 50 [len=208,padding=8,comp=199,payload=199] [2023/01/26 18:31:14.256961, 3] ssh_packet_process: Dispatching handler for packet type 50 [2023/01/26 18:31:14.257279, 3] ssh_packet_userauth_request: Auth request for service ssh-connection, method publickey for user 'alice' [2023/01/26 18:31:14.258367, 4] ssh_pki_signature_verify: Going to verify a ssh-ed25519 type signature [2023/01/26 18:31:14.267858, 4] pki_verify_data_signature: Signature valid [2023/01/26 18:31:14.268569, 3] ssh_packet_userauth_request: Valid signature received [2023/01/26 18:31:14.269643, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2023/01/26 18:31:14.269999, 3] packet_send2: packet: wrote [type=52, len=8, padding_size=6, comp=1, payload=1] [2023/01/26 18:31:14.270512, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=44] [2023/01/26 18:31:14.270963, 4] ssh_socket_pollcallback: Poll callback on socket 5 (POLLIN POLLOUT ), out buffer 0 [2023/01/26 18:31:14.271852, 3] ssh_packet_socket_callback: packet: read type 1 [len=32,padding=11,comp=20,payload=20] [2023/01/26 18:31:14.272258, 3] ssh_packet_process: Dispatching handler for packet type 1 [2023/01/26 18:31:14.272668, 3] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT 11:Bye Bye [2023/01/26 18:31:14.272998, 1] ssh_packet_disconnect_callback: Received SSH_MSG_DISCONNECT: 11:Bye Bye [2023/01/26 18:31:14.273694, 3] ssh_packet_need_rekey: rekey: [data_rekey_needed=0, out_blocks=61, in_blocks=46] [2023/01/26 18:31:14.274283, 4] ssh_socket_pollcallback: sending control flow event [2023/01/26 18:31:14.274530, 4] ssh_packet_socket_controlflow_callback: sending channel_write_wontblock callback do_poll error: Received SSH_MSG_DISCONNECT: 11:Bye Bye [ OK ] torture_server_config_rsa_hostkey_order [==========] 7 test(s) run. [ PASSED ] 6 test(s). [ FAILED ] 1 test(s), listed below: [ FAILED ] torture_server_config_kex 1 FAILED TEST(S) ===================| STATE |===================== address = 127.0.0.10 port = 22 ================================================= ecdsa_key = NULL dsa_key = NULL ed25519_key = NULL rsa_key = NULL host_key = NULL ================================================= auth_methods = SSH_AUTH_METHOD_PASSWORD SSH_AUTH_METHOD_PUBLICKEY verbosity = FUNCTIONS with_pcap = FALSE pcap_file = /tmp/test_socket_wrapper_nEiKts/socket_trace.pcap ================================================= username = libssh password = libssh ================================================= with_global_config = TRUE config_file = /tmp/test_socket_wrapper_nEiKts/sshd/sshd_config ================================================= Started libssh test server on port 22 None authentication of user alice Public key authentication of user alice Authenticated Public key authentication of user alice Authenticated Start 62: torture_server_algorithms 62/62 Test #62: torture_server_algorithms ........ Passed 5.78 sec 98% tests passed, 1 tests failed out of 62 Total Test time (real) = 1883.60 sec The following tests FAILED: 61 - torture_server_config (Failed) Errors while running CTest error: Bad exit status from /var/tmp/rpm-tmp.TgKCkI (%check) RPM build errors: %changelog not in descending chronological order Bad exit status from /var/tmp/rpm-tmp.TgKCkI (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libssh.spec