Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-166170-10200/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.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 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-paramiko-3.1.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-166170-10200/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.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 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Bi70ho + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf paramiko-3.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/paramiko-3.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd paramiko-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-remove-pytest-relaxed-dep.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-remove-icecream-dep.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -c a-x demos/demo.py demos/demo_keygen.py demos/demo_server.py demos/demo_sftp.py demos/demo_simple.py demos/forward.py demos/interactive.py demos/rforward.py demos/test_rsa.key demos/user_rsa_key demos/user_rsa_key.pub mode of 'demos/demo.py' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'demos/demo_keygen.py' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'demos/rforward.py' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + sed -i -e '/^#!/,1d' demos/demo.py demos/demo_keygen.py demos/demo_server.py demos/demo_sftp.py demos/demo_simple.py demos/forward.py demos/interactive.py demos/rforward.py demos/test_rsa.key demos/user_rsa_key demos/user_rsa_key.pub + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jmXaxH + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd paramiko-3.1.0 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/paramiko copying paramiko/__init__.py -> build/lib/paramiko copying paramiko/_version.py -> build/lib/paramiko copying paramiko/_winapi.py -> build/lib/paramiko copying paramiko/agent.py -> build/lib/paramiko copying paramiko/auth_handler.py -> build/lib/paramiko copying paramiko/ber.py -> build/lib/paramiko copying paramiko/buffered_pipe.py -> build/lib/paramiko copying paramiko/channel.py -> build/lib/paramiko copying paramiko/client.py -> build/lib/paramiko copying paramiko/common.py -> build/lib/paramiko copying paramiko/compress.py -> build/lib/paramiko copying paramiko/config.py -> build/lib/paramiko copying paramiko/dsskey.py -> build/lib/paramiko copying paramiko/ecdsakey.py -> build/lib/paramiko copying paramiko/ed25519key.py -> build/lib/paramiko copying paramiko/file.py -> build/lib/paramiko copying paramiko/hostkeys.py -> build/lib/paramiko copying paramiko/kex_curve25519.py -> build/lib/paramiko copying paramiko/kex_ecdh_nist.py -> build/lib/paramiko copying paramiko/kex_gex.py -> build/lib/paramiko copying paramiko/kex_group1.py -> build/lib/paramiko copying paramiko/kex_group14.py -> build/lib/paramiko copying paramiko/kex_group16.py -> build/lib/paramiko copying paramiko/kex_gss.py -> build/lib/paramiko copying paramiko/message.py -> build/lib/paramiko copying paramiko/packet.py -> build/lib/paramiko copying paramiko/pipe.py -> build/lib/paramiko copying paramiko/pkey.py -> build/lib/paramiko copying paramiko/primes.py -> build/lib/paramiko copying paramiko/proxy.py -> build/lib/paramiko copying paramiko/rsakey.py -> build/lib/paramiko copying paramiko/server.py -> build/lib/paramiko copying paramiko/sftp.py -> build/lib/paramiko copying paramiko/sftp_attr.py -> build/lib/paramiko copying paramiko/sftp_client.py -> build/lib/paramiko copying paramiko/sftp_file.py -> build/lib/paramiko copying paramiko/sftp_handle.py -> build/lib/paramiko copying paramiko/sftp_server.py -> build/lib/paramiko copying paramiko/sftp_si.py -> build/lib/paramiko copying paramiko/ssh_exception.py -> build/lib/paramiko copying paramiko/ssh_gss.py -> build/lib/paramiko copying paramiko/transport.py -> build/lib/paramiko copying paramiko/util.py -> build/lib/paramiko copying paramiko/win_openssh.py -> build/lib/paramiko copying paramiko/win_pageant.py -> build/lib/paramiko + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kFmzrp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch + cd paramiko-3.1.0 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/__init__.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/_version.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/_winapi.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/agent.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/auth_handler.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/ber.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/buffered_pipe.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/channel.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/client.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/common.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/compress.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/config.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/dsskey.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/ecdsakey.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/ed25519key.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/file.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/hostkeys.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_curve25519.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_ecdh_nist.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_gex.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_group1.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_group14.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_group16.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/kex_gss.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/message.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/packet.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/pipe.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/pkey.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/primes.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/proxy.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/rsakey.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/server.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp_attr.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp_client.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp_file.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp_handle.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp_server.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/sftp_si.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/ssh_exception.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/ssh_gss.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/transport.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/util.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/win_openssh.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko copying build/lib/paramiko/win_pageant.py -> /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/_version.py to _version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/_winapi.py to _winapi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/agent.py to agent.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/auth_handler.py to auth_handler.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/ber.py to ber.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/buffered_pipe.py to buffered_pipe.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/channel.py to channel.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/client.py to client.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/common.py to common.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/compress.py to compress.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/config.py to config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/dsskey.py to dsskey.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/ecdsakey.py to ecdsakey.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/ed25519key.py to ed25519key.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/file.py to file.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/hostkeys.py to hostkeys.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_curve25519.py to kex_curve25519.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_ecdh_nist.py to kex_ecdh_nist.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_gex.py to kex_gex.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_group1.py to kex_group1.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_group14.py to kex_group14.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_group16.py to kex_group16.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/kex_gss.py to kex_gss.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/message.py to message.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/packet.py to packet.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/pipe.py to pipe.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/pkey.py to pkey.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/primes.py to primes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/proxy.py to proxy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/rsakey.py to rsakey.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/server.py to server.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp.py to sftp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp_attr.py to sftp_attr.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp_client.py to sftp_client.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp_file.py to sftp_file.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp_handle.py to sftp_handle.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp_server.py to sftp_server.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/sftp_si.py to sftp_si.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/ssh_exception.py to ssh_exception.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/ssh_gss.py to ssh_gss.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/transport.py to transport.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/util.py to util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/win_openssh.py to win_openssh.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko/win_pageant.py to win_pageant.cpython-311.pyc writing byte-compilation script '/tmp/tmp1d1wdxd8.py' /usr/bin/python3 /tmp/tmp1d1wdxd8.py removing /tmp/tmp1d1wdxd8.py running install_egg_info running egg_info creating paramiko.egg-info writing paramiko.egg-info/PKG-INFO writing dependency_links to paramiko.egg-info/dependency_links.txt writing requirements to paramiko.egg-info/requires.txt writing top-level names to paramiko.egg-info/top_level.txt writing manifest file 'paramiko.egg-info/SOURCES.txt' reading manifest file 'paramiko.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'docs' adding license file 'LICENSE' writing manifest file 'paramiko.egg-info/SOURCES.txt' Copying paramiko.egg-info to /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/paramiko-3.1.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/bin/__pycache__ + sphinx-build -b html sites/docs/ html/ Running Sphinx v7.0.1 making output directory... done loading intersphinx inventory from https://docs.python.org/3.6/objects.inv... loading intersphinx inventory from /builddir/build/BUILD/paramiko-3.1.0/sites/docs/../www/_build/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory '/builddir/build/BUILD/paramiko-3.1.0/sites/docs/../www/_build/objects.inv' not fetchable due to : [Errno 2] No such file or directory: '/builddir/build/BUILD/paramiko-3.1.0/sites/docs/../www/_build/objects.inv' WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3.6/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3.6/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 19 source files that are out of date updating environment: [new config] 19 added, 0 changed, 0 removed reading sources... [ 5%] api/agent reading sources... [ 10%] api/buffered_pipe reading sources... [ 15%] api/channel reading sources... [ 21%] api/client reading sources... [ 26%] api/config reading sources... [ 31%] api/file reading sources... [ 36%] api/hostkeys reading sources... [ 42%] api/kex_gss reading sources... [ 47%] api/keys reading sources... [ 52%] api/message reading sources... [ 57%] api/packet reading sources... [ 63%] api/pipe reading sources... [ 68%] api/proxy reading sources... [ 73%] api/server reading sources... [ 78%] api/sftp reading sources... [ 84%] api/ssh_exception reading sources... [ 89%] api/ssh_gss reading sources... [ 94%] api/transport reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] api/agent writing output... [ 10%] api/buffered_pipe writing output... [ 15%] api/channel writing output... [ 21%] api/client writing output... [ 26%] api/config writing output... [ 31%] api/file writing output... [ 36%] api/hostkeys writing output... [ 42%] api/kex_gss writing output... [ 47%] api/keys writing output... [ 52%] api/message writing output... [ 57%] api/packet writing output... [ 63%] api/pipe writing output... [ 68%] api/proxy writing output... [ 73%] api/server writing output... [ 78%] api/sftp writing output... [ 84%] api/ssh_exception writing output... [ 89%] api/ssh_gss writing output... [ 94%] api/transport writing output... [100%] index /builddir/build/BUILD/paramiko-3.1.0/sites/docs/api/config.rst:66: WARNING: undefined label: 'paramiko-itself' generating indices... genindex py-modindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 3 warnings. The HTML pages are in html. + rm html/.buildinfo + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.1.0-4.ocs23 --unique-debug-suffix -3.1.0-4.ocs23.noarch --unique-debug-src-base python-paramiko-3.1.0-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/paramiko-3.1.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lf6Dl4 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd paramiko-3.1.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-paramiko-3.1.0-4.ocs23.noarch/usr/lib/python3.11/site-packages + pytest-3.11 ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/paramiko-3.1.0 configfile: pytest.ini collected 423 items tests/test_agent.py ... [ 0%] tests/test_auth.py ......... [ 2%] tests/test_buffered_pipe.py .... [ 3%] tests/test_channelfile.py ........... [ 6%] tests/test_client.py FFss..FF..F.FFFF....s.F.F.FFFF.s....FFFFF [ 16%] tests/test_config.py ................................................... [ 28%] .s........ssssss.....ssssssssss................................... [ 43%] tests/test_file.py ...........s... [ 47%] tests/test_gssapi.py sss [ 47%] tests/test_hostkeys.py ............ [ 50%] tests/test_kex.py .................. [ 55%] tests/test_kex_gss.py ss [ 55%] tests/test_message.py ..... [ 56%] tests/test_packetizer.py ... [ 57%] tests/test_pkey.py .......s.........F...........................F...... [ 69%] tests/test_proxy.py ........... [ 72%] tests/test_sftp.py ................................s...s. [ 81%] tests/test_sftp_big.py .......... [ 83%] tests/test_ssh_exception.py ......... [ 85%] tests/test_ssh_gss.py ss [ 86%] tests/test_transport.py ..s...................................F......... [ 97%] ....F [ 98%] tests/test_util.py ..... [100%] =================================== FAILURES =================================== _______________________ SSHClientTest.test_auth_timeout ________________________ self = @requires_sha1_signing @slow def test_auth_timeout(self): """ verify that the SSHClient has a configurable auth timeout """ # Connect with a half second auth timeout > self.assertRaises( AuthenticationException, self._test_connection, password="unresponsive-server", auth_timeout=0.5, ) tests/test_client.py:559: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [3836.3797664642334] DEBUG:paramiko.transport:starting thread (client mode): 0xf0882810 [3870.4707622528076] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3872.541904449463] DEBUG:paramiko.transport:starting thread (server mode): 0xf062ba90 [3873.310327529907] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3873.4841346740723] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3873.755693435669] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3874.455690383911] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3874.8066425323486] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3876.0406970977783] DEBUG:paramiko.transport:=== Key exchange possibilities === [3876.3480186462402] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [3876.4421939849854] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [3876.5265941619873] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3876.613140106201] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3876.6965866088867] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [3876.783847808838] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [3876.8677711486816] DEBUG:paramiko.transport:client compress: none [3876.9516944885254] DEBUG:paramiko.transport:server compress: none [3877.034902572632] DEBUG:paramiko.transport:client lang: [3877.1166801452637] DEBUG:paramiko.transport:server lang: [3877.1984577178955] DEBUG:paramiko.transport:kex follows: False [3877.2757053375244] DEBUG:paramiko.transport:=== Key exchange agreements === [3877.391815185547] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3877.5112628936768] DEBUG:paramiko.transport:HostKey: ssh-rsa [3878.307104110718] DEBUG:paramiko.transport:=== Key exchange possibilities === [3878.5324096679688] DEBUG:paramiko.transport:Cipher: aes128-ctr [3878.805637359619] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [3879.096269607544] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3879.349946975708] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [3879.620313644409] DEBUG:paramiko.transport:Compression: none [3879.878282546997] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3880.125045776367] DEBUG:paramiko.transport:=== End of kex handshake === [3880.371332168579] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3881.0875415802] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [3881.277561187744] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [3881.366491317749] DEBUG:paramiko.transport:client compress: none [3881.4494609832764] DEBUG:paramiko.transport:server compress: none [3881.531238555908] DEBUG:paramiko.transport:client lang: [3881.6123008728027] DEBUG:paramiko.transport:server lang: [3881.7145824432373] DEBUG:paramiko.transport:kex follows: False [3881.9055557250977] DEBUG:paramiko.transport:=== Key exchange agreements === [3882.0221424102783] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3882.145404815674] DEBUG:paramiko.transport:HostKey: ssh-rsa [3882.246971130371] DEBUG:paramiko.transport:Cipher: aes128-ctr [3882.34543800354] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3882.4362754821777] DEBUG:paramiko.transport:Compression: none [3882.5056552886963] DEBUG:paramiko.transport:=== End of kex handshake === [3883.6684226989746] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [3885.1635456085205] ERROR:paramiko.transport:Traceback (most recent call last): [3885.255813598633] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [3885.321617126465] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [3885.387897491455] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [3885.4520320892334] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [3885.5178356170654] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3885.5841159820557] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [3885.6465816497803] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [3885.7407569885254] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3885.8046531677246] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [3885.8678340911865] ERROR:paramiko.transport: sig = self.key.sign( [3885.9333992004395] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [3885.995388031006] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [3886.056661605835] ERROR:paramiko.transport: [3886.306047439575] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0882810 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf062ba90 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____________________ SSHClientTest.test_auth_trickledown ______________________ self = @requires_sha1_signing def test_auth_trickledown(self): """ Failed key auth doesn't prevent subsequent pw auth from succeeding """ # NOTE: re #387, re #394 # If pkey module used within Client._auth isn't correctly handling auth # errors (e.g. if it allows things like ValueError to bubble up as per # midway through #394) client.connect() will fail (at key load step) # instead of succeeding (at password step) kwargs = dict( # Password-protected key whose passphrase is not 'pygmalion' (it's # 'television' as per tests/test_pkey.py). NOTE: must use # key_filename, loading the actual key here with PKey will except # immediately; we're testing the try/except crap within Client. key_filename=[_support("test_rsa_password.key")], # Actual password for default 'slowdive' user password="pygmalion", ) > self._test_connection(**kwargs) tests/test_client.py:550: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [4085.3137969970703] DEBUG:paramiko.transport:starting thread (client mode): 0xf0ae0750 [4119.409084320068] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4121.647357940674] DEBUG:paramiko.transport:starting thread (server mode): 0xf0ae14d0 [4122.259855270386] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4122.4775314331055] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4122.72047996521] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4123.152256011963] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4123.595476150513] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4125.177621841431] DEBUG:paramiko.transport:=== Key exchange possibilities === [4125.531911849976] DEBUG:paramiko.transport:=== Key exchange possibilities === [4125.80680847168] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [4126.120090484619] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [4126.400470733643] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [4126.731395721436] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [4127.017974853516] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4127.30598449707] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4127.5787353515625] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4127.856492996216] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4128.129720687866] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [4128.404855728149] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [4128.675937652588] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [4128.95131111145] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [4129.224538803101] DEBUG:paramiko.transport:client compress: none [4129.498243331909] DEBUG:paramiko.transport:client compress: none [4129.796981811523] DEBUG:paramiko.transport:server compress: none [4130.083799362183] DEBUG:paramiko.transport:server compress: none [4130.366563796997] DEBUG:paramiko.transport:client lang: [4130.647659301758] DEBUG:paramiko.transport:client lang: [4130.923271179199] DEBUG:paramiko.transport:server lang: [4131.198406219482] DEBUG:paramiko.transport:server lang: [4131.478071212769] DEBUG:paramiko.transport:kex follows: False [4131.761789321899] DEBUG:paramiko.transport:kex follows: False [4132.037401199341] DEBUG:paramiko.transport:=== Key exchange agreements === [4132.31635093689] DEBUG:paramiko.transport:=== Key exchange agreements === [4132.668256759644] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4132.994174957275] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4133.317708969116] DEBUG:paramiko.transport:HostKey: ssh-rsa [4133.652925491333] DEBUG:paramiko.transport:HostKey: ssh-rsa [4133.995771408081] DEBUG:paramiko.transport:Cipher: aes128-ctr [4134.312391281128] DEBUG:paramiko.transport:Cipher: aes128-ctr [4134.626865386963] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4134.949684143066] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4135.2949142456055] DEBUG:paramiko.transport:Compression: none [4135.601758956909] DEBUG:paramiko.transport:Compression: none [4135.874271392822] DEBUG:paramiko.transport:=== End of kex handshake === [4136.147975921631] DEBUG:paramiko.transport:=== End of kex handshake === [4138.778448104858] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [4139.664888381958] ERROR:paramiko.transport:Traceback (most recent call last): [4139.758825302124] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [4139.825344085693] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [4139.889240264893] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [4139.952659606934] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [4140.017747879028] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4140.087127685547] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [4140.151739120483] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [4140.219211578369] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4140.285491943359] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [4140.349388122559] ERROR:paramiko.transport: sig = self.key.sign( [4140.414237976074] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [4140.480041503906] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [4140.542984008789] ERROR:paramiko.transport: [4140.892505645752] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0ae0750 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0ae14d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ___________ SSHClientTest.test_certs_allowed_as_key_filename_values ____________ self = @requires_sha1_signing def test_certs_allowed_as_key_filename_values(self): # NOTE: giving cert path here, not key path. (Key path test is below. # They're similar except for which path is given; the expected auth and # server-side behavior is 100% identical.) # NOTE: only bothered whipping up one cert per overall class/family. for type_ in ("rsa", "dss", "ecdsa_256", "ed25519"): cert_name = "test_{}.key-cert.pub".format(type_) cert_path = _support(os.path.join("cert_support", cert_name)) > self._test_connection( key_filename=cert_path, public_blob=PublicBlob.from_file(cert_path), ) tests/test_client.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [4971.656084060669] DEBUG:paramiko.transport:starting thread (client mode): 0xf0ae47d0 [5006.237983703613] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5008.301496505737] DEBUG:paramiko.transport:starting thread (server mode): 0xf0942ed0 [5008.837461471558] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5008.981704711914] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5009.346485137939] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5009.604692459106] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5009.932041168213] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5012.649297714233] DEBUG:paramiko.transport:=== Key exchange possibilities === [5013.033151626587] DEBUG:paramiko.transport:=== Key exchange possibilities === [5013.298273086548] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [5013.605117797852] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [5013.916730880737] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5014.204978942871] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [5014.483451843262] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5014.769554138184] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5015.0439739227295] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5015.318870544434] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5015.5956745147705] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5015.874624252319] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5016.152381896973] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5016.429901123047] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5016.701221466064] DEBUG:paramiko.transport:client compress: none [5016.976833343506] DEBUG:paramiko.transport:client compress: none [5017.252206802368] DEBUG:paramiko.transport:server compress: none [5017.527341842651] DEBUG:paramiko.transport:server compress: none [5017.822265625] DEBUG:paramiko.transport:client lang: [5018.111705780029] DEBUG:paramiko.transport:client lang: [5018.390417098999] DEBUG:paramiko.transport:server lang: [5018.665790557861] DEBUG:paramiko.transport:server lang: [5018.944978713989] DEBUG:paramiko.transport:kex follows: False [5019.22869682312] DEBUG:paramiko.transport:kex follows: False [5019.5112228393555] DEBUG:paramiko.transport:=== Key exchange agreements === [5019.786357879639] DEBUG:paramiko.transport:=== Key exchange agreements === [5020.10440826416] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5020.426034927368] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5020.744323730469] DEBUG:paramiko.transport:HostKey: ssh-rsa [5021.076917648315] DEBUG:paramiko.transport:HostKey: ssh-rsa [5021.389007568359] DEBUG:paramiko.transport:Cipher: aes128-ctr [5021.7249393463135] DEBUG:paramiko.transport:Cipher: aes128-ctr [5022.046804428101] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5022.367238998413] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5022.674798965454] DEBUG:paramiko.transport:Compression: none [5022.984981536865] DEBUG:paramiko.transport:Compression: none [5023.255348205566] DEBUG:paramiko.transport:=== End of kex handshake === [5023.529052734375] DEBUG:paramiko.transport:=== End of kex handshake === [5026.715278625488] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5027.416944503784] ERROR:paramiko.transport:Traceback (most recent call last): [5027.50563621521] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5027.568101882935] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5027.6312828063965] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5027.695178985596] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5027.761936187744] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5027.832984924316] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5027.900457382202] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5027.966022491455] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5028.031587600708] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5028.096914291382] ERROR:paramiko.transport: sig = self.key.sign( [5028.161287307739] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5028.225660324097] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5028.291702270508] ERROR:paramiko.transport: [5028.510570526123] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0ae47d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0942ed0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ____ SSHClientTest.test_certs_implicitly_loaded_alongside_key_filename_keys ____ self = @requires_sha1_signing def test_certs_implicitly_loaded_alongside_key_filename_keys(self): # NOTE: a regular test_connection() w/ test_rsa.key would incidentally # test this (because test_xxx.key-cert.pub exists) but incidental tests # stink, so NullServer and friends were updated to allow assertions # about the server-side key object's public blob. Thus, we can prove # that a specific cert was found, along with regular authorization # succeeding proving that the overall flow works. for type_ in ("rsa", "dss", "ecdsa_256", "ed25519"): key_name = "test_{}.key".format(type_) key_path = _support(os.path.join("cert_support", key_name)) > self._test_connection( key_filename=key_path, public_blob=PublicBlob.from_file( "{}-cert.pub".format(key_path) ), ) tests/test_client.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [5180.682897567749] DEBUG:paramiko.transport:starting thread (client mode): 0xf08c44d0 [5181.430339813232] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5216.90034866333] DEBUG:paramiko.transport:starting thread (server mode): 0xf0846050 [5217.344045639038] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5217.493772506714] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5217.589855194092] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5217.918395996094] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5218.290567398071] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5219.602584838867] DEBUG:paramiko.transport:=== Key exchange possibilities === [5219.858646392822] DEBUG:paramiko.transport:=== Key exchange possibilities === [5220.086097717285] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [5220.3404903411865] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [5220.576524734497] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [5220.8099365234375] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5221.044301986694] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5221.273899078369] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5221.505403518677] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5221.750974655151] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5221.997976303101] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5222.23162651062] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5222.466707229614] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5222.699403762817] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [5222.930192947388] DEBUG:paramiko.transport:client compress: none [5223.162889480591] DEBUG:paramiko.transport:client compress: none [5223.394155502319] DEBUG:paramiko.transport:server compress: none [5223.623514175415] DEBUG:paramiko.transport:server compress: none [5223.85573387146] DEBUG:paramiko.transport:client lang: [5224.088191986084] DEBUG:paramiko.transport:client lang: [5224.316120147705] DEBUG:paramiko.transport:server lang: [5224.546432495117] DEBUG:paramiko.transport:server lang: [5224.780082702637] DEBUG:paramiko.transport:kex follows: False [5225.018262863159] DEBUG:paramiko.transport:kex follows: False [5225.2490520477295] DEBUG:paramiko.transport:=== Key exchange agreements === [5225.477457046509] DEBUG:paramiko.transport:=== Key exchange agreements === [5225.75569152832] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5226.038932800293] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5226.311922073364] DEBUG:paramiko.transport:HostKey: ssh-rsa [5226.582288742065] DEBUG:paramiko.transport:HostKey: ssh-rsa [5226.836442947388] DEBUG:paramiko.transport:Cipher: aes128-ctr [5227.097988128662] DEBUG:paramiko.transport:Cipher: aes128-ctr [5227.364301681519] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5227.627515792847] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5227.883338928223] DEBUG:paramiko.transport:Compression: none [5228.137969970703] DEBUG:paramiko.transport:Compression: none [5228.363513946533] DEBUG:paramiko.transport:=== End of kex handshake === [5228.596210479736] DEBUG:paramiko.transport:=== End of kex handshake === [5230.890512466431] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5232.036352157593] ERROR:paramiko.transport:Traceback (most recent call last): [5232.12456703186] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5232.187986373901] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5232.251405715942] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5232.313632965088] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5232.379913330078] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5232.4464321136475] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5232.510805130005] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5232.573986053467] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5232.635498046875] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5232.696294784546] ERROR:paramiko.transport: sig = self.key.sign( [5232.760906219482] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5232.825040817261] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5232.887506484985] ERROR:paramiko.transport: [5233.0896854400635] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf08c44d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0846050 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________________ SSHClientTest.test_client ___________________________ self = @requires_sha1_signing def test_client(self): """ verify that the SSHClient stuff works too. """ > self._test_connection(password="pygmalion") tests/test_client.py:251: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [7112.163782119751] DEBUG:paramiko.transport:starting thread (client mode): 0xf08c9390 [7147.569417953491] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7147.881031036377] DEBUG:paramiko.transport:starting thread (server mode): 0xf05fdd90 [7148.776054382324] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7149.016380310059] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7149.367570877075] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7150.224924087524] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7150.402784347534] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7151.68309211731] DEBUG:paramiko.transport:=== Key exchange possibilities === [7151.989221572876] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [7152.086019515991] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7152.173042297363] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7152.2581577301025] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7152.345180511475] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7152.433633804321] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7152.520179748535] DEBUG:paramiko.transport:client compress: none [7152.605056762695] DEBUG:paramiko.transport:server compress: none [7152.689218521118] DEBUG:paramiko.transport:client lang: [7152.776718139648] DEBUG:paramiko.transport:server lang: [7152.864456176758] DEBUG:paramiko.transport:kex follows: False [7152.947902679443] DEBUG:paramiko.transport:=== Key exchange agreements === [7153.075695037842] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7153.19561958313] DEBUG:paramiko.transport:HostKey: ssh-rsa [7153.310060501099] DEBUG:paramiko.transport:Cipher: aes128-ctr [7153.419733047485] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7153.523206710815] DEBUG:paramiko.transport:Compression: none [7153.607606887817] DEBUG:paramiko.transport:=== End of kex handshake === [7154.379844665527] DEBUG:paramiko.transport:=== Key exchange possibilities === [7154.721975326538] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [7154.825448989868] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [7154.926776885986] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7155.016660690308] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7155.10630607605] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7155.356645584106] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7155.437231063843] DEBUG:paramiko.transport:client compress: none [7155.509233474731] DEBUG:paramiko.transport:server compress: none [7155.580043792725] DEBUG:paramiko.transport:client lang: [7155.649662017822] DEBUG:paramiko.transport:server lang: [7155.723571777344] DEBUG:paramiko.transport:kex follows: False [7155.795574188232] DEBUG:paramiko.transport:=== Key exchange agreements === [7155.907154083252] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7156.026363372803] DEBUG:paramiko.transport:HostKey: ssh-rsa [7156.128406524658] DEBUG:paramiko.transport:Cipher: aes128-ctr [7156.229734420776] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7156.320333480835] DEBUG:paramiko.transport:Compression: none [7156.389236450195] DEBUG:paramiko.transport:=== End of kex handshake === [7157.60612487793] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7158.485174179077] ERROR:paramiko.transport:Traceback (most recent call last): [7158.5845947265625] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7158.649206161499] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7158.712148666382] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7158.774375915527] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7158.839702606201] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7158.904075622559] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7158.967018127441] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7159.03639793396] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7159.101724624634] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7159.166097640991] ERROR:paramiko.transport: sig = self.key.sign( [7159.231185913086] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7159.293651580811] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7159.358978271484] ERROR:paramiko.transport: [7159.608840942383] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf08c9390 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf05fdd90 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________________ SSHClientTest.test_client_dsa _________________________ self = @requires_sha1_signing def test_client_dsa(self): """ verify that SSHClient works with a DSA key. """ > self._test_connection(key_filename=_support("test_dss.key")) tests/test_client.py:258: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [7381.146430969238] DEBUG:paramiko.transport:starting thread (client mode): 0xf06512d0 [7416.139841079712] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7416.5942668914795] DEBUG:paramiko.transport:starting thread (server mode): 0xf06535d0 [7417.754411697388] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7417.972087860107] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7418.268442153931] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7419.184446334839] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7419.576406478882] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7421.3573932647705] DEBUG:paramiko.transport:=== Key exchange possibilities === [7421.751499176025] DEBUG:paramiko.transport:=== Key exchange possibilities === [7422.058343887329] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [7422.446012496948] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [7422.770023345947] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7423.09832572937] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [7423.418998718262] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7423.743009567261] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7424.058198928833] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7424.3738651275635] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7424.704551696777] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7425.02760887146] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7425.350189208984] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7425.693035125732] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7426.023483276367] DEBUG:paramiko.transport:client compress: none [7426.350355148315] DEBUG:paramiko.transport:client compress: none [7426.666975021362] DEBUG:paramiko.transport:server compress: none [7426.986932754517] DEBUG:paramiko.transport:server compress: none [7427.306175231934] DEBUG:paramiko.transport:client lang: [7427.627086639404] DEBUG:paramiko.transport:client lang: [7427.947998046875] DEBUG:paramiko.transport:server lang: [7428.2591342926025] DEBUG:paramiko.transport:server lang: [7428.582191467285] DEBUG:paramiko.transport:kex follows: False [7428.905248641968] DEBUG:paramiko.transport:kex follows: False [7429.219007492065] DEBUG:paramiko.transport:=== Key exchange agreements === [7429.529666900635] DEBUG:paramiko.transport:=== Key exchange agreements === [7429.915904998779] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7430.283308029175] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7430.643081665039] DEBUG:paramiko.transport:HostKey: ssh-rsa [7431.020259857178] DEBUG:paramiko.transport:HostKey: ssh-rsa [7431.922674179077] DEBUG:paramiko.transport:Cipher: aes128-ctr [7432.3108196258545] DEBUG:paramiko.transport:Cipher: aes128-ctr [7432.678461074829] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7433.045864105225] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7433.39467048645] DEBUG:paramiko.transport:Compression: none [7433.759927749634] DEBUG:paramiko.transport:Compression: none [7434.087753295898] DEBUG:paramiko.transport:=== End of kex handshake === [7434.401273727417] DEBUG:paramiko.transport:=== End of kex handshake === [7437.373161315918] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7438.45796585083] ERROR:paramiko.transport:Traceback (most recent call last): [7438.560009002686] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7438.624858856201] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7438.689470291138] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7438.754081726074] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7438.821077346802] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7438.892602920532] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7438.96222114563] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7439.032077789307] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7439.104318618774] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7439.17179107666] ERROR:paramiko.transport: sig = self.key.sign( [7439.238548278809] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7439.303636550903] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7439.373254776001] ERROR:paramiko.transport: [7439.661026000977] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf06512d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf06535d0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread --------------------------- Captured stderr teardown --------------------------- [7456.053972244263] DEBUG:paramiko.transport:EOF in transport thread [7456.264019012451] DEBUG:paramiko.transport:EOF in transport thread _______________________ SSHClientTest.test_client_ecdsa ________________________ self = @requires_sha1_signing def test_client_ecdsa(self): """ verify that SSHClient works with an ECDSA key. """ > self._test_connection(key_filename=_support("test_ecdsa_256.key")) tests/test_client.py:272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [7590.921401977539] DEBUG:paramiko.transport:starting thread (client mode): 0xf08b0dd0 [7626.193523406982] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7626.457929611206] DEBUG:paramiko.transport:starting thread (server mode): 0xf08b3f90 [7627.16269493103] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7627.388954162598] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7627.591133117676] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7627.854347229004] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7628.144025802612] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7630.510568618774] DEBUG:paramiko.transport:=== Key exchange possibilities === [7630.83815574646] DEBUG:paramiko.transport:=== Key exchange possibilities === [7631.103992462158] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [7631.407022476196] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [7631.691694259644] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7631.978511810303] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [7632.256031036377] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7632.540464401245] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7632.817983627319] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7633.098602294922] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7633.3746910095215] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7633.652925491333] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7633.965253829956] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7634.253263473511] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7634.537696838379] DEBUG:paramiko.transport:client compress: none [7634.820938110352] DEBUG:paramiko.transport:client compress: none [7635.091781616211] DEBUG:paramiko.transport:server compress: none [7635.371208190918] DEBUG:paramiko.transport:server compress: none [7635.64395904541] DEBUG:paramiko.transport:client lang: [7635.919570922852] DEBUG:paramiko.transport:client lang: [7636.19327545166] DEBUG:paramiko.transport:server lang: [7636.474132537842] DEBUG:paramiko.transport:server lang: [7636.757612228394] DEBUG:paramiko.transport:kex follows: False [7637.03727722168] DEBUG:paramiko.transport:kex follows: False [7637.311220169067] DEBUG:paramiko.transport:=== Key exchange agreements === [7637.584686279297] DEBUG:paramiko.transport:=== Key exchange agreements === [7637.925624847412] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7638.237714767456] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7638.553142547607] DEBUG:paramiko.transport:HostKey: ssh-rsa [7638.8819217681885] DEBUG:paramiko.transport:HostKey: ssh-rsa [7639.196157455444] DEBUG:paramiko.transport:Cipher: aes128-ctr [7639.516353607178] DEBUG:paramiko.transport:Cipher: aes128-ctr [7639.831066131592] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7640.155076980591] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7640.455722808838] DEBUG:paramiko.transport:Compression: none [7640.761852264404] DEBUG:paramiko.transport:Compression: none [7641.0322189331055] DEBUG:paramiko.transport:=== End of kex handshake === [7641.307830810547] DEBUG:paramiko.transport:=== End of kex handshake === [7643.691301345825] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7644.605398178101] ERROR:paramiko.transport:Traceback (most recent call last): [7644.694089889526] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7644.757270812988] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7644.822835922241] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7644.889116287231] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7644.954204559326] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7645.023822784424] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7645.089149475098] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7645.156383514404] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7645.22385597229] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7645.2882289886475] ERROR:paramiko.transport: sig = self.key.sign( [7645.3537940979] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7645.420074462891] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7645.484924316406] ERROR:paramiko.transport: [7645.724773406982] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf08b0dd0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf08b3f90 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ______________________ SSHClientTest.test_client_ed25519 _______________________ self = @requires_sha1_signing def test_client_ed25519(self): > self._test_connection(key_filename=_support("test_ed25519.key")) tests/test_client.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [7837.155103683472] DEBUG:paramiko.transport:starting thread (client mode): 0xf0b61490 [7871.052026748657] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7872.943878173828] DEBUG:paramiko.transport:starting thread (server mode): 0xf0b62990 [7873.717308044434] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7873.836040496826] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7874.161720275879] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7874.380350112915] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7874.630928039551] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7876.8274784088135] DEBUG:paramiko.transport:=== Key exchange possibilities === [7877.04873085022] DEBUG:paramiko.transport:=== Key exchange possibilities === [7877.2382736206055] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [7877.492666244507] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [7877.7453899383545] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [7877.995491027832] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7878.231048583984] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7878.459215164185] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7878.694772720337] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7878.9262771606445] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7879.159450531006] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7879.390001296997] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7879.6226978302] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7879.858016967773] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7880.091190338135] DEBUG:paramiko.transport:client compress: none [7880.3277015686035] DEBUG:paramiko.transport:client compress: none [7880.558490753174] DEBUG:paramiko.transport:server compress: none [7880.788326263428] DEBUG:paramiko.transport:server compress: none [7881.021976470947] DEBUG:paramiko.transport:client lang: [7881.255149841309] DEBUG:paramiko.transport:client lang: [7881.485939025879] DEBUG:paramiko.transport:server lang: [7881.72721862793] DEBUG:paramiko.transport:server lang: [7881.978511810303] DEBUG:paramiko.transport:kex follows: False [7882.214069366455] DEBUG:paramiko.transport:kex follows: False [7882.44366645813] DEBUG:paramiko.transport:=== Key exchange agreements === [7882.671594619751] DEBUG:paramiko.transport:=== Key exchange agreements === [7882.9333782196045] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7883.203029632568] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7883.478164672852] DEBUG:paramiko.transport:HostKey: ssh-rsa [7883.751153945923] DEBUG:paramiko.transport:HostKey: ssh-rsa [7884.016513824463] DEBUG:paramiko.transport:Cipher: aes128-ctr [7884.281158447266] DEBUG:paramiko.transport:Cipher: aes128-ctr [7884.544610977173] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7884.809255599976] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7885.062694549561] DEBUG:paramiko.transport:Compression: none [7885.31494140625] DEBUG:paramiko.transport:Compression: none [7885.545015335083] DEBUG:paramiko.transport:=== End of kex handshake === [7885.793209075928] DEBUG:paramiko.transport:=== End of kex handshake === [7888.496160507202] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7889.5275592803955] ERROR:paramiko.transport:Traceback (most recent call last): [7889.615297317505] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7889.697074890137] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7889.7740840911865] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7889.838457107544] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7889.904499053955] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7889.971733093262] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7890.033960342407] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7890.097141265869] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7890.161514282227] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7890.2246952056885] ERROR:paramiko.transport: sig = self.key.sign( [7890.28787612915] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7890.350341796875] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7890.4125690460205] ERROR:paramiko.transport: [7890.738487243652] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0b61490 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0b62990 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________________ SSHClientTest.test_client_rsa _________________________ self = @requires_sha1_signing def test_client_rsa(self): """ verify that SSHClient works with an RSA key. """ > self._test_connection(key_filename=_support("test_rsa.key")) tests/test_client.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [8038.074493408203] DEBUG:paramiko.transport:starting thread (client mode): 0xf0e8c550 [8073.947906494141] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8076.107501983643] DEBUG:paramiko.transport:starting thread (server mode): 0xf0b59a10 [8076.786756515503] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8076.990604400635] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8077.204942703247] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8077.561378479004] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8077.7997970581055] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8079.542398452759] DEBUG:paramiko.transport:=== Key exchange possibilities === [8079.811811447144] DEBUG:paramiko.transport:=== Key exchange possibilities === [8080.039262771606] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [8080.29842376709] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [8080.540418624878] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8080.783128738403] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [8081.021070480347] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8081.260681152344] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8081.49528503418] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8081.75253868103] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8082.0043087005615] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [8082.239627838135] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [8082.474231719971] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [8082.710742950439] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [8082.941770553589] DEBUG:paramiko.transport:client compress: none [8083.171129226685] DEBUG:paramiko.transport:client compress: none [8083.398103713989] DEBUG:paramiko.transport:server compress: none [8083.629846572876] DEBUG:paramiko.transport:server compress: none [8083.8634967803955] DEBUG:paramiko.transport:client lang: [8084.0935707092285] DEBUG:paramiko.transport:client lang: [8084.327459335327] DEBUG:paramiko.transport:server lang: [8084.55753326416] DEBUG:paramiko.transport:server lang: [8084.791898727417] DEBUG:paramiko.transport:kex follows: False [8085.02721786499] DEBUG:paramiko.transport:kex follows: False [8085.261583328247] DEBUG:paramiko.transport:=== Key exchange agreements === [8085.489511489868] DEBUG:paramiko.transport:=== Key exchange agreements === [8085.835218429565] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8086.122274398804] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8086.396932601929] DEBUG:paramiko.transport:HostKey: ssh-rsa [8086.679220199585] DEBUG:paramiko.transport:HostKey: ssh-rsa [8086.9505405426025] DEBUG:paramiko.transport:Cipher: aes128-ctr [8087.218999862671] DEBUG:paramiko.transport:Cipher: aes128-ctr [8087.482929229736] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8087.748289108276] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8088.0067348480225] DEBUG:paramiko.transport:Compression: none [8088.263750076294] DEBUG:paramiko.transport:Compression: none [8088.49310874939] DEBUG:paramiko.transport:=== End of kex handshake === [8088.726282119751] DEBUG:paramiko.transport:=== End of kex handshake === [8091.331720352173] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8092.35954284668] ERROR:paramiko.transport:Traceback (most recent call last): [8092.450857162476] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8092.514991760254] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8092.577219009399] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8092.64063835144] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8092.70453453064] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8092.769145965576] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8092.832088470459] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8092.8990840911865] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8092.962741851807] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8093.026876449585] ERROR:paramiko.transport: sig = self.key.sign( [8093.090772628784] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8093.155860900879] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8093.2207107543945] ERROR:paramiko.transport: [8093.43695640564] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0e8c550 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0b59a10 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________ SSHClientTest.test_host_key_negotiation_2 ___________________ self = @requires_sha1_signing def test_host_key_negotiation_2(self): host_key = paramiko.RSAKey.generate(2048) > self._client_host_key_bad(host_key) tests/test_client.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:652: in _client_host_key_bad self.assertRaises( paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [9018.567562103271] DEBUG:paramiko.transport:starting thread (client mode): 0xf09334d0 [9052.45566368103] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9054.16989326477] DEBUG:paramiko.transport:starting thread (server mode): 0xf076aa10 [9054.419040679932] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9054.481029510498] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9054.648160934448] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9054.696559906006] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9054.939270019531] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9055.767059326172] DEBUG:paramiko.transport:=== Key exchange possibilities === [9055.88674545288] DEBUG:paramiko.transport:=== Key exchange possibilities === [9055.976629257202] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [9056.081295013428] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [9056.172847747803] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9056.267261505127] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [9056.352615356445] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9056.448698043823] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9056.535005569458] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9056.620359420776] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9056.706428527832] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9056.792497634888] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9056.880235671997] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9056.968212127686] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9057.05451965332] DEBUG:paramiko.transport:client compress: none [9057.13963508606] DEBUG:paramiko.transport:client compress: none [9057.22451210022] DEBUG:paramiko.transport:server compress: none [9057.30938911438] DEBUG:paramiko.transport:server compress: none [9057.398796081543] DEBUG:paramiko.transport:client lang: [9057.487964630127] DEBUG:paramiko.transport:client lang: [9057.572603225708] DEBUG:paramiko.transport:server lang: [9057.656526565552] DEBUG:paramiko.transport:server lang: [9057.759284973145] DEBUG:paramiko.transport:kex follows: False [9057.844877243042] DEBUG:paramiko.transport:kex follows: False [9057.927370071411] DEBUG:paramiko.transport:=== Key exchange agreements === [9058.011770248413] DEBUG:paramiko.transport:=== Key exchange agreements === [9058.11858177185] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9058.22205543518] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9058.329343795776] DEBUG:paramiko.transport:HostKey: ssh-rsa [9058.438539505005] DEBUG:paramiko.transport:HostKey: ssh-rsa [9058.54320526123] DEBUG:paramiko.transport:Cipher: aes128-ctr [9058.64429473877] DEBUG:paramiko.transport:Cipher: aes128-ctr [9058.745384216309] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9058.84599685669] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9058.947801589966] DEBUG:paramiko.transport:Compression: none [9059.043645858765] DEBUG:paramiko.transport:Compression: none [9059.126853942871] DEBUG:paramiko.transport:=== End of kex handshake === [9059.209108352661] DEBUG:paramiko.transport:=== End of kex handshake === [9060.657262802124] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9061.426162719727] ERROR:paramiko.transport:Traceback (most recent call last): [9061.51270866394] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9061.574697494507] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9061.635732650757] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9061.708688735962] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9061.824798583984] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9061.891794204712] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9061.953067779541] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9062.012434005737] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9062.073945999146] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9062.134742736816] ERROR:paramiko.transport: sig = self.key.sign( [9062.19506263733] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9062.259674072266] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9062.320947647095] ERROR:paramiko.transport: [9062.46542930603] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09334d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf076aa10 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________ SSHClientTest.test_host_key_negotiation_4 ___________________ self = @requires_sha1_signing def test_host_key_negotiation_4(self): > self._client_host_key_good(paramiko.RSAKey, "test_rsa.key") tests/test_client.py:689: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:669: in _client_host_key_good self.tc.connect(password="pygmalion", **self.connect_kwargs) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [9301.88512802124] DEBUG:paramiko.transport:starting thread (client mode): 0xf09d6450 [9302.192211151123] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9336.381435394287] DEBUG:paramiko.transport:starting thread (server mode): 0xf08748d0 [9336.56096458435] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9336.612462997437] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9336.764335632324] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9336.808443069458] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9337.17131614685] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9337.627172470093] DEBUG:paramiko.transport:=== Key exchange possibilities === [9337.763547897339] DEBUG:paramiko.transport:=== Key exchange possibilities === [9337.850093841553] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [9337.959289550781] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [9338.049411773682] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9338.136196136475] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [9338.22226524353] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9338.311672210693] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9338.39726448059] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9338.483572006226] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9338.568210601807] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9338.653802871704] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9338.740110397339] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9338.824987411499] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9338.910579681396] DEBUG:paramiko.transport:client compress: none [9338.99450302124] DEBUG:paramiko.transport:client compress: none [9339.078903198242] DEBUG:paramiko.transport:server compress: none [9339.162826538086] DEBUG:paramiko.transport:server compress: none [9339.246988296509] DEBUG:paramiko.transport:client lang: [9339.330673217773] DEBUG:paramiko.transport:client lang: [9339.414119720459] DEBUG:paramiko.transport:server lang: [9339.496374130249] DEBUG:paramiko.transport:server lang: [9339.581489562988] DEBUG:paramiko.transport:kex follows: False [9339.665651321411] DEBUG:paramiko.transport:kex follows: False [9339.746713638306] DEBUG:paramiko.transport:=== Key exchange agreements === [9339.9817943573] DEBUG:paramiko.transport:=== Key exchange agreements === [9340.094804763794] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9340.195894241333] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9340.29746055603] DEBUG:paramiko.transport:HostKey: ssh-rsa [9340.401887893677] DEBUG:paramiko.transport:HostKey: ssh-rsa [9340.500593185425] DEBUG:paramiko.transport:Cipher: aes128-ctr [9340.598821640015] DEBUG:paramiko.transport:Cipher: aes128-ctr [9340.696334838867] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9340.795993804932] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9340.890645980835] DEBUG:paramiko.transport:Compression: none [9340.98482131958] DEBUG:paramiko.transport:Compression: none [9341.06707572937] DEBUG:paramiko.transport:=== End of kex handshake === [9341.149806976318] DEBUG:paramiko.transport:=== End of kex handshake === [9342.29063987732] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9342.9594039917] ERROR:paramiko.transport:Traceback (most recent call last): [9343.042373657227] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9343.104839324951] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9343.164682388306] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9343.22476387024] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9343.284368515015] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9343.344688415527] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9343.403816223145] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9343.463897705078] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9343.525409698486] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9343.585729598999] ERROR:paramiko.transport: sig = self.key.sign( [9343.64628791809] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9343.705177307129] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9343.765020370483] ERROR:paramiko.transport: [9343.883037567139] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09d6450 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf08748d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread --------------------------- Captured stderr teardown --------------------------- [9376.188278198242] DEBUG:paramiko.transport:EOF in transport thread [9376.386165618896] DEBUG:paramiko.transport:EOF in transport thread ____________________ SSHClientTest.test_multiple_key_files _____________________ self = @requires_sha1_signing def test_multiple_key_files(self): """ verify that SSHClient accepts and tries multiple key files. """ # This is dumb :( types_ = { "rsa": "ssh-rsa", "dss": "ssh-dss", "ecdsa": "ecdsa-sha2-nistp256", } # Various combos of attempted & valid keys # TODO: try every possible combo using itertools functions for attempt, accept in ( (["rsa", "dss"], ["dss"]), # Original test #3 (["dss", "rsa"], ["dss"]), # Ordering matters sometimes, sadly (["dss", "rsa", "ecdsa_256"], ["dss"]), # Try ECDSA but fail (["rsa", "ecdsa_256"], ["ecdsa"]), # ECDSA success ): try: > self._test_connection( key_filename=[ _support("test_{}.key".format(x)) for x in attempt ], allowed_keys=[types_[x] for x in accept], ) tests/test_client.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [9492.910146713257] DEBUG:paramiko.transport:starting thread (client mode): 0xf0622510 [9526.41487121582] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9528.01251411438] DEBUG:paramiko.transport:starting thread (server mode): 0xf0620550 [9528.219938278198] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9528.274536132812] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9528.428316116333] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9528.473138809204] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9528.688430786133] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9529.292821884155] DEBUG:paramiko.transport:=== Key exchange possibilities === [9529.387712478638] DEBUG:paramiko.transport:=== Key exchange possibilities === [9529.4771194458] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [9529.580116271973] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [9529.680967330933] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9529.778957366943] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [9529.865741729736] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9529.956579208374] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9530.041456222534] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9530.125379562378] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9530.208826065063] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9530.293941497803] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9530.379295349121] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9530.46464920044] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9530.547857284546] DEBUG:paramiko.transport:client compress: none [9530.632019042969] DEBUG:paramiko.transport:client compress: none [9530.715703964233] DEBUG:paramiko.transport:server compress: none [9530.79891204834] DEBUG:paramiko.transport:server compress: none [9530.882835388184] DEBUG:paramiko.transport:client lang: [9530.966997146606] DEBUG:paramiko.transport:client lang: [9531.049013137817] DEBUG:paramiko.transport:server lang: [9531.131744384766] DEBUG:paramiko.transport:server lang: [9531.215190887451] DEBUG:paramiko.transport:kex follows: False [9531.298637390137] DEBUG:paramiko.transport:kex follows: False [9531.378746032715] DEBUG:paramiko.transport:=== Key exchange agreements === [9531.463146209717] DEBUG:paramiko.transport:=== Key exchange agreements === [9531.562328338623] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9531.659841537476] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9531.760931015015] DEBUG:paramiko.transport:HostKey: ssh-rsa [9531.86559677124] DEBUG:paramiko.transport:HostKey: ssh-rsa [9531.965255737305] DEBUG:paramiko.transport:Cipher: aes128-ctr [9532.064437866211] DEBUG:paramiko.transport:Cipher: aes128-ctr [9532.164812088013] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9532.264232635498] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9532.35912322998] DEBUG:paramiko.transport:Compression: none [9532.453060150146] DEBUG:paramiko.transport:Compression: none [9532.53436088562] DEBUG:paramiko.transport:=== End of kex handshake === [9532.616138458252] DEBUG:paramiko.transport:=== End of kex handshake === [9533.83755683899] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9534.46078300476] ERROR:paramiko.transport:Traceback (most recent call last): [9534.544467926025] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9534.607648849487] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9534.666776657104] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9534.7261428833] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9534.785270690918] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9534.847021102905] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9534.907579421997] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9534.968137741089] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9535.027742385864] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9535.088539123535] ERROR:paramiko.transport: sig = self.key.sign( [9535.150289535522] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9535.210371017456] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9535.271167755127] ERROR:paramiko.transport: [9535.40062904358] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0622510 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0620550 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________ SSHClientTest.test_multiple_key_files_failure _________________ self = @requires_sha1_signing def test_multiple_key_files_failure(self): """ Expect failure when multiple keys in play and none are accepted """ # Until #387 is fixed we have to catch a high-up exception since # various platforms trigger different errors here >_< > self.assertRaises( SSHException, self._test_connection, key_filename=[_support("test_rsa.key")], allowed_keys=["ecdsa-sha2-nistp256"], ) tests/test_client.py:317: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [9681.60629272461] DEBUG:paramiko.transport:starting thread (client mode): 0xf0ad7a50 [9714.527606964111] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9716.091871261597] DEBUG:paramiko.transport:starting thread (server mode): 0xf08b0dd0 [9716.288805007935] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9716.342449188232] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9716.495990753174] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9716.539859771729] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9716.75443649292] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9717.352628707886] DEBUG:paramiko.transport:=== Key exchange possibilities === [9717.44441986084] DEBUG:paramiko.transport:=== Key exchange possibilities === [9717.533111572266] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [9717.634916305542] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [9717.736721038818] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9717.832803726196] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [9717.918872833252] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9718.007326126099] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9718.090772628784] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9718.174457550049] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9718.261003494263] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9718.345403671265] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9718.430042266846] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9718.514204025269] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9718.598127365112] DEBUG:paramiko.transport:client compress: none [9718.680381774902] DEBUG:paramiko.transport:client compress: none [9718.762636184692] DEBUG:paramiko.transport:server compress: none [9718.846797943115] DEBUG:paramiko.transport:server compress: none [9718.930721282959] DEBUG:paramiko.transport:client lang: [9719.01273727417] DEBUG:paramiko.transport:client lang: [9719.09475326538] DEBUG:paramiko.transport:server lang: [9719.17724609375] DEBUG:paramiko.transport:server lang: [9719.260931015015] DEBUG:paramiko.transport:kex follows: False [9719.345808029175] DEBUG:paramiko.transport:kex follows: False [9719.42687034607] DEBUG:paramiko.transport:=== Key exchange agreements === [9719.51174736023] DEBUG:paramiko.transport:=== Key exchange agreements === [9719.610452651978] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9719.707250595093] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9719.809293746948] DEBUG:paramiko.transport:HostKey: ssh-rsa [9719.914436340332] DEBUG:paramiko.transport:HostKey: ssh-rsa [9720.013856887817] DEBUG:paramiko.transport:Cipher: aes128-ctr [9720.11399269104] DEBUG:paramiko.transport:Cipher: aes128-ctr [9720.213890075684] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9720.31283378601] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9720.407247543335] DEBUG:paramiko.transport:Compression: none [9720.502138137817] DEBUG:paramiko.transport:Compression: none [9720.583200454712] DEBUG:paramiko.transport:=== End of kex handshake === [9720.66354751587] DEBUG:paramiko.transport:=== End of kex handshake === [9721.827030181885] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9722.753286361694] ERROR:paramiko.transport:Traceback (most recent call last): [9722.837686538696] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9722.899198532104] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9722.958087921143] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9723.020792007446] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9723.081350326538] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9723.142147064209] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9723.2027053833] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9723.263263702393] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9723.323106765747] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9723.382234573364] ERROR:paramiko.transport: sig = self.key.sign( [9723.44183921814] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9723.504066467285] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9723.564386367798] ERROR:paramiko.transport: [9723.694801330566] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0ad7a50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf08b0dd0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ SSHClientTest.test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa _____ self = @requires_sha1_signing def test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa(self): # NOTE: 512 happens to be first in our list and is thus chosen > self._cert_algo_test(ver="7.8", alg="rsa-sha2-512") tests/test_client.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:359: in _cert_algo_test self._test_connection( tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [9906.038284301758] DEBUG:paramiko.transport:starting thread (client mode): 0xf09e57d0 [9939.15057182312] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9940.698385238647] DEBUG:paramiko.transport:starting thread (server mode): 0xf09e5350 [9940.913200378418] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.8 [9940.968990325928] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.8 [9941.126585006714] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.8) [9941.171646118164] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9941.394805908203] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9942.0166015625] DEBUG:paramiko.transport:=== Key exchange possibilities === [9942.110061645508] DEBUG:paramiko.transport:=== Key exchange possibilities === [9942.19994544983] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [9942.304611206055] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [9942.394256591797] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9942.481756210327] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [9942.565202713013] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9942.655801773071] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9942.741394042969] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9942.826986312866] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9942.911386489868] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9942.995071411133] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9943.079471588135] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9943.164825439453] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [9943.248510360718] DEBUG:paramiko.transport:client compress: none [9943.333148956299] DEBUG:paramiko.transport:client compress: none [9943.41492652893] DEBUG:paramiko.transport:server compress: none [9943.496227264404] DEBUG:paramiko.transport:server compress: none [9943.57943534851] DEBUG:paramiko.transport:client lang: [9943.662166595459] DEBUG:paramiko.transport:client lang: [9943.744897842407] DEBUG:paramiko.transport:server lang: [9943.82619857788] DEBUG:paramiko.transport:server lang: [9943.911790847778] DEBUG:paramiko.transport:kex follows: False [9943.994522094727] DEBUG:paramiko.transport:kex follows: False [9944.074869155884] DEBUG:paramiko.transport:=== Key exchange agreements === [9944.161176681519] DEBUG:paramiko.transport:=== Key exchange agreements === [9944.260120391846] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9944.358587265015] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9944.462060928345] DEBUG:paramiko.transport:HostKey: ssh-rsa [9944.568634033203] DEBUG:paramiko.transport:HostKey: ssh-rsa [9944.668769836426] DEBUG:paramiko.transport:Cipher: aes128-ctr [9944.769620895386] DEBUG:paramiko.transport:Cipher: aes128-ctr [9944.869995117188] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9944.970607757568] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9945.064783096313] DEBUG:paramiko.transport:Compression: none [9945.159196853638] DEBUG:paramiko.transport:Compression: none [9945.241212844849] DEBUG:paramiko.transport:=== End of kex handshake === [9945.322275161743] DEBUG:paramiko.transport:=== End of kex handshake === [9946.660995483398] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9947.277069091797] ERROR:paramiko.transport:Traceback (most recent call last): [9947.359085083008] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9947.422981262207] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9947.485208511353] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9947.545051574707] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9947.604656219482] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9947.665452957153] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9947.726488113403] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9947.787284851074] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9947.848558425903] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9947.911024093628] ERROR:paramiko.transport: sig = self.key.sign( [9947.971820831299] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9948.031187057495] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9948.09103012085] ERROR:paramiko.transport: [9948.220491409302] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09e57d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf09e5350 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-OpenSSH_7.8 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-OpenSSH_7.8 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client OpenSSH_7.8) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ SSHClientTest.test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2 ______ self = @requires_sha1_signing def test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2(self): > self._cert_algo_test(ver="7.7", alg="ssh-rsa") tests/test_client.py:374: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:359: in _cert_algo_test self._test_connection( tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10101.649522781372] DEBUG:paramiko.transport:starting thread (client mode): 0xf09d7910 [10134.695053100586] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10136.273622512817] DEBUG:paramiko.transport:starting thread (server mode): 0xf09d5c50 [10136.479377746582] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.7 [10136.533260345459] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.7 [10136.686325073242] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.7) [10136.731147766113] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10136.942386627197] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10137.539148330688] DEBUG:paramiko.transport:=== Key exchange possibilities === [10137.632369995117] DEBUG:paramiko.transport:=== Key exchange possibilities === [10137.730121612549] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [10137.841701507568] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [10137.932538986206] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10138.022422790527] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [10138.108730316162] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10138.19694519043] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10138.280153274536] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10138.363361358643] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10138.447761535645] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10138.530015945435] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10138.614654541016] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10138.69833946228] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10138.781547546387] DEBUG:paramiko.transport:client compress: none [10138.864994049072] DEBUG:paramiko.transport:client compress: none [10138.9479637146] DEBUG:paramiko.transport:server compress: none [10139.02997970581] DEBUG:paramiko.transport:server compress: none [10139.113187789917] DEBUG:paramiko.transport:client lang: [10139.196157455444] DEBUG:paramiko.transport:client lang: [10139.27698135376] DEBUG:paramiko.transport:server lang: [10139.357328414917] DEBUG:paramiko.transport:server lang: [10139.440536499023] DEBUG:paramiko.transport:kex follows: False [10139.522314071655] DEBUG:paramiko.transport:kex follows: False [10139.607906341553] DEBUG:paramiko.transport:=== Key exchange agreements === [10139.687061309814] DEBUG:paramiko.transport:=== Key exchange agreements === [10139.784812927246] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10139.881610870361] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10139.9827003479] DEBUG:paramiko.transport:HostKey: ssh-rsa [10140.086889266968] DEBUG:paramiko.transport:HostKey: ssh-rsa [10140.186548233032] DEBUG:paramiko.transport:Cipher: aes128-ctr [10140.285968780518] DEBUG:paramiko.transport:Cipher: aes128-ctr [10140.387296676636] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10140.486240386963] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10140.580892562866] DEBUG:paramiko.transport:Compression: none [10140.673398971558] DEBUG:paramiko.transport:Compression: none [10140.755891799927] DEBUG:paramiko.transport:=== End of kex handshake === [10140.8371925354] DEBUG:paramiko.transport:=== End of kex handshake === [10142.15898513794] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10142.763137817383] ERROR:paramiko.transport:Traceback (most recent call last): [10142.847299575806] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10142.910480499268] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10142.971992492676] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10143.032789230347] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10143.093347549438] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10143.153190612793] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10143.212795257568] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10143.275260925293] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10143.336534500122] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10143.397092819214] ERROR:paramiko.transport: sig = self.key.sign( [10143.457412719727] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10143.51749420166] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10143.577337265015] ERROR:paramiko.transport: [10143.708944320679] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09d7910 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf09d5c50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-OpenSSH_7.7 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-OpenSSH_7.7 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client OpenSSH_7.7) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ___ PasswordPassphraseTests.test_passphrase_kwarg_not_used_for_password_auth ___ self = @requires_sha1_signing def test_passphrase_kwarg_not_used_for_password_auth(self): with pytest.raises(SSHException): # Using the "right" password in the "wrong" field shouldn't work. > self._test_connection(passphrase="pygmalion") tests/test_client.py:816: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10487.083673477173] DEBUG:paramiko.transport:starting thread (client mode): 0xf0b33710 [10487.40029335022] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10521.422386169434] DEBUG:paramiko.transport:starting thread (server mode): 0xf0931590 [10521.605253219604] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10521.655797958374] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10521.781206130981] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10521.860837936401] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10521.952152252197] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10522.658824920654] DEBUG:paramiko.transport:=== Key exchange possibilities === [10522.762298583984] DEBUG:paramiko.transport:=== Key exchange possibilities === [10522.846937179565] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [10522.951602935791] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [10523.040533065796] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10523.128986358643] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [10523.21481704712] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10523.307085037231] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10523.390769958496] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10523.476362228394] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10523.560285568237] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10523.643493652344] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10523.726224899292] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10523.809671401978] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10523.892164230347] DEBUG:paramiko.transport:client compress: none [10523.974418640137] DEBUG:paramiko.transport:client compress: none [10524.055242538452] DEBUG:paramiko.transport:server compress: none [10524.1379737854] DEBUG:paramiko.transport:server compress: none [10524.22046661377] DEBUG:paramiko.transport:client lang: [10524.301290512085] DEBUG:paramiko.transport:client lang: [10524.384021759033] DEBUG:paramiko.transport:server lang: [10524.466753005981] DEBUG:paramiko.transport:server lang: [10524.550914764404] DEBUG:paramiko.transport:kex follows: False [10524.63436126709] DEBUG:paramiko.transport:kex follows: False [10524.71947669983] DEBUG:paramiko.transport:=== Key exchange agreements === [10524.800062179565] DEBUG:paramiko.transport:=== Key exchange agreements === [10524.896621704102] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10524.99270439148] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10525.094032287598] DEBUG:paramiko.transport:HostKey: ssh-rsa [10525.198459625244] DEBUG:paramiko.transport:HostKey: ssh-rsa [10525.296211242676] DEBUG:paramiko.transport:Cipher: aes128-ctr [10525.396585464478] DEBUG:paramiko.transport:Cipher: aes128-ctr [10525.496244430542] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10525.596380233765] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10525.699615478516] DEBUG:paramiko.transport:Compression: none [10525.800943374634] DEBUG:paramiko.transport:Compression: none [10525.88701248169] DEBUG:paramiko.transport:=== End of kex handshake === [10525.970697402954] DEBUG:paramiko.transport:=== End of kex handshake === [10527.068853378296] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10527.704238891602] ERROR:paramiko.transport:Traceback (most recent call last): [10527.787208557129] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10527.848720550537] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10527.908086776733] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10527.969598770142] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10528.03111076355] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10528.0921459198] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10528.151273727417] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10528.212070465088] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10528.2723903656] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10528.332471847534] ERROR:paramiko.transport: sig = self.key.sign( [10528.39207649231] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10528.452157974243] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10528.51152420044] ERROR:paramiko.transport: [10528.626680374146] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0b33710 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0931590 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ____ PasswordPassphraseTests.test_passphrase_kwarg_used_for_key_passphrase _____ self = @requires_sha1_signing def test_passphrase_kwarg_used_for_key_passphrase(self): # Straightforward again, with new passphrase kwarg. > self._test_connection( key_filename=_support("test_rsa_password.key"), passphrase="television", ) tests/test_client.py:821: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10705.743551254272] DEBUG:paramiko.transport:starting thread (client mode): 0xf0b96110 [10738.791942596436] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10740.283727645874] DEBUG:paramiko.transport:starting thread (server mode): 0xf0b97c50 [10740.562915802002] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10740.618228912354] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10740.77296257019] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10740.816831588745] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10741.044282913208] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10741.687536239624] DEBUG:paramiko.transport:=== Key exchange possibilities === [10741.793155670166] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [10741.871118545532] DEBUG:paramiko.transport:=== Key exchange possibilities === [10741.953372955322] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [10742.058038711548] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [10742.151260375977] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10742.239952087402] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10742.326021194458] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10742.41018295288] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10742.4955368042] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10742.578506469727] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10742.662191390991] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10742.746591567993] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10742.831468582153] DEBUG:paramiko.transport:client compress: none [10742.91467666626] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10742.99669265747] DEBUG:paramiko.transport:server compress: none [10743.079423904419] DEBUG:paramiko.transport:client compress: none [10743.160724639893] DEBUG:paramiko.transport:client lang: [10743.245124816895] DEBUG:paramiko.transport:server compress: none [10743.327379226685] DEBUG:paramiko.transport:server lang: [10743.410587310791] DEBUG:paramiko.transport:client lang: [10743.495225906372] DEBUG:paramiko.transport:kex follows: False [10743.577241897583] DEBUG:paramiko.transport:server lang: [10743.65758895874] DEBUG:paramiko.transport:=== Key exchange agreements === [10743.745565414429] DEBUG:paramiko.transport:kex follows: False [10743.845701217651] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10743.928909301758] DEBUG:paramiko.transport:=== Key exchange agreements === [10744.034767150879] DEBUG:paramiko.transport:HostKey: ssh-rsa [10744.132041931152] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10744.231939315796] DEBUG:paramiko.transport:Cipher: aes128-ctr [10744.332790374756] DEBUG:paramiko.transport:HostKey: ssh-rsa [10744.433403015137] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10744.533061981201] DEBUG:paramiko.transport:Cipher: aes128-ctr [10744.626760482788] DEBUG:paramiko.transport:Compression: none [10744.730472564697] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10744.815826416016] DEBUG:paramiko.transport:=== End of kex handshake === [10744.911193847656] DEBUG:paramiko.transport:Compression: none [10745.278358459473] DEBUG:paramiko.transport:=== End of kex handshake === [10746.277332305908] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10746.89531326294] ERROR:paramiko.transport:Traceback (most recent call last): [10746.978044509888] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10747.041940689087] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10747.102499008179] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10747.162818908691] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10747.223854064941] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10747.285842895508] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10747.347593307495] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10747.407913208008] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10747.46823310852] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10747.542381286621] ERROR:paramiko.transport: sig = self.key.sign( [10747.615098953247] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10747.687816619873] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10747.760772705078] ERROR:paramiko.transport: [10748.062133789062] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0b96110 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0b97c50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _ PasswordPassphraseTests.test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given _ self = @requires_sha1_signing def test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given( # noqa self, ): # Sanity: if we're given both fields, the password field is NOT used as # a passphrase. with pytest.raises(AuthenticationException): > self._test_connection( key_filename=_support("test_rsa_password.key"), password="television", passphrase="wat? lol no", ) tests/test_client.py:843: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10894.761085510254] DEBUG:paramiko.transport:starting thread (client mode): 0xf099e050 [10927.913188934326] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10929.341316223145] DEBUG:paramiko.transport:starting thread (server mode): 0xf099ded0 [10929.612636566162] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10929.666519165039] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10929.8574924469] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10929.936647415161] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10930.027484893799] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10930.78637123108] DEBUG:paramiko.transport:=== Key exchange possibilities === [10930.8922290802] DEBUG:paramiko.transport:=== Key exchange possibilities === [10930.977582931519] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [10931.081295013428] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [10931.169986724854] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10931.260108947754] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [10931.343793869019] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10931.433916091919] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10931.519746780396] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10931.604862213135] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10931.68830871582] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10931.769847869873] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10931.85305595398] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10931.93531036377] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [10932.018280029297] DEBUG:paramiko.transport:client compress: none [10932.100534439087] DEBUG:paramiko.transport:client compress: none [10932.183027267456] DEBUG:paramiko.transport:server compress: none [10932.265996932983] DEBUG:paramiko.transport:server compress: none [10932.348012924194] DEBUG:paramiko.transport:client lang: [10932.429552078247] DEBUG:paramiko.transport:client lang: [10932.512283325195] DEBUG:paramiko.transport:server lang: [10932.594299316406] DEBUG:paramiko.transport:server lang: [10932.677507400513] DEBUG:paramiko.transport:kex follows: False [10932.760238647461] DEBUG:paramiko.transport:kex follows: False [10932.84559249878] DEBUG:paramiko.transport:=== Key exchange agreements === [10932.924509048462] DEBUG:paramiko.transport:=== Key exchange agreements === [10933.02297592163] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10933.120012283325] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10933.220624923706] DEBUG:paramiko.transport:HostKey: ssh-rsa [10933.325290679932] DEBUG:paramiko.transport:HostKey: ssh-rsa [10933.424949645996] DEBUG:paramiko.transport:Cipher: aes128-ctr [10933.52484703064] DEBUG:paramiko.transport:Cipher: aes128-ctr [10933.625936508179] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10933.73703956604] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10933.840990066528] DEBUG:paramiko.transport:Compression: none [10933.93611907959] DEBUG:paramiko.transport:Compression: none [10934.02075767517] DEBUG:paramiko.transport:=== End of kex handshake === [10934.10325050354] DEBUG:paramiko.transport:=== End of kex handshake === [10935.352563858032] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10935.952186584473] ERROR:paramiko.transport:Traceback (most recent call last): [10936.033487319946] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10936.095714569092] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10936.156511306763] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10936.216831207275] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10936.276197433472] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10936.336517333984] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10936.397314071655] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10936.45691871643] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10936.517715454102] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10936.577796936035] ERROR:paramiko.transport: sig = self.key.sign( [10936.638355255127] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10936.698198318481] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10936.757802963257] ERROR:paramiko.transport: [10936.887741088867] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf099e050 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf099ded0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _ PasswordPassphraseTests.test_password_kwarg_used_for_passphrase_when_no_passphrase_kwarg_given _ self = @requires_sha1_signing def test_password_kwarg_used_for_passphrase_when_no_passphrase_kwarg_given( self, ): # noqa # Backwards compatibility: passphrase in the password field. > self._test_connection( key_filename=_support("test_rsa_password.key"), password="television", ) tests/test_client.py:831: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [11127.317190170288] DEBUG:paramiko.transport:starting thread (client mode): 0xf065dad0 [11160.476446151733] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11162.038803100586] DEBUG:paramiko.transport:starting thread (server mode): 0xf065f590 [11162.293910980225] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11162.351369857788] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11162.511110305786] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11162.556886672974] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11162.86039352417] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11163.404941558838] DEBUG:paramiko.transport:=== Key exchange possibilities === [11163.52653503418] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [11163.61117362976] DEBUG:paramiko.transport:=== Key exchange possibilities === [11163.69080543518] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11163.791179656982] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [11163.8765335083] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11163.966417312622] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [11164.054870605469] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11164.143323898315] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11164.226055145264] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11164.310216903687] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11164.395332336426] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11164.47925567627] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11164.564609527588] DEBUG:paramiko.transport:client compress: none [11164.649486541748] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11164.73388671875] DEBUG:paramiko.transport:server compress: none [11164.817333221436] DEBUG:paramiko.transport:client compress: none [11164.9010181427] DEBUG:paramiko.transport:client lang: [11164.983987808228] DEBUG:paramiko.transport:server compress: none [11165.066719055176] DEBUG:paramiko.transport:server lang: [11165.149450302124] DEBUG:paramiko.transport:client lang: [11165.23551940918] DEBUG:paramiko.transport:kex follows: False [11165.316820144653] DEBUG:paramiko.transport:server lang: [11165.39716720581] DEBUG:paramiko.transport:=== Key exchange agreements === [11165.483951568604] DEBUG:paramiko.transport:kex follows: False [11165.582656860352] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11165.664434432983] DEBUG:paramiko.transport:=== Key exchange agreements === [11165.786981582642] DEBUG:paramiko.transport:HostKey: ssh-rsa [11165.885210037231] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11165.98629951477] DEBUG:paramiko.transport:Cipher: aes128-ctr [11166.093826293945] DEBUG:paramiko.transport:HostKey: ssh-rsa [11166.194677352905] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11166.29695892334] DEBUG:paramiko.transport:Cipher: aes128-ctr [11166.39232635498] DEBUG:paramiko.transport:Compression: none [11166.494131088257] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11166.576623916626] DEBUG:paramiko.transport:=== End of kex handshake === [11166.669845581055] DEBUG:paramiko.transport:Compression: none [11167.080402374268] DEBUG:paramiko.transport:=== End of kex handshake === [11168.008804321289] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11168.622255325317] ERROR:paramiko.transport:Traceback (most recent call last): [11168.705463409424] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11168.76769065857] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11168.82848739624] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11168.88952255249] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11168.95055770874] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11169.01183128357] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11169.07262802124] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11169.135093688965] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11169.19732093811] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11169.257164001465] ERROR:paramiko.transport: sig = self.key.sign( [11169.317483901978] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11169.376850128174] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11169.43621635437] ERROR:paramiko.transport: [11169.568300247192] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf065dad0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf065f590 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ PasswordPassphraseTests.test_password_kwarg_works_for_password_auth ______ self = @requires_sha1_signing def test_password_kwarg_works_for_password_auth(self): # Straightforward / duplicate of earlier basic password test. > self._test_connection(password="pygmalion") tests/test_client.py:808: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [11317.25263595581] DEBUG:paramiko.transport:starting thread (client mode): 0xf08b3990 [11350.30198097229] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11351.730585098267] DEBUG:paramiko.transport:starting thread (server mode): 0xf08b2c50 [11352.003574371338] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11352.05864906311] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11352.214813232422] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11352.259159088135] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11352.550983428955] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11353.085041046143] DEBUG:paramiko.transport:=== Key exchange possibilities === [11353.189468383789] DEBUG:paramiko.transport:=== Key exchange possibilities === [11353.273868560791] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [11353.376150131226] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [11353.464126586914] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11353.551864624023] DEBUG:paramiko.transport:server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [11353.635311126709] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11353.739738464355] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11353.830099105835] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11353.915214538574] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11353.999137878418] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11354.081630706787] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11354.16555404663] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11354.250192642212] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [11354.334592819214] DEBUG:paramiko.transport:client compress: none [11354.41780090332] DEBUG:paramiko.transport:client compress: none [11354.501485824585] DEBUG:paramiko.transport:server compress: none [11354.583740234375] DEBUG:paramiko.transport:server compress: none [11354.666709899902] DEBUG:paramiko.transport:client lang: [11354.749202728271] DEBUG:paramiko.transport:client lang: [11354.832172393799] DEBUG:paramiko.transport:server lang: [11354.914903640747] DEBUG:paramiko.transport:server lang: [11354.99882698059] DEBUG:paramiko.transport:kex follows: False [11355.082035064697] DEBUG:paramiko.transport:kex follows: False [11355.166673660278] DEBUG:paramiko.transport:=== Key exchange agreements === [11355.246782302856] DEBUG:paramiko.transport:=== Key exchange agreements === [11355.345726013184] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11355.442762374878] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11355.547904968262] DEBUG:paramiko.transport:HostKey: ssh-rsa [11355.655431747437] DEBUG:paramiko.transport:HostKey: ssh-rsa [11355.75556755066] DEBUG:paramiko.transport:Cipher: aes128-ctr [11355.856657028198] DEBUG:paramiko.transport:Cipher: aes128-ctr [11355.957508087158] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11356.05764389038] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11356.153011322021] DEBUG:paramiko.transport:Compression: none [11356.248617172241] DEBUG:paramiko.transport:Compression: none [11356.333255767822] DEBUG:paramiko.transport:=== End of kex handshake === [11356.41622543335] DEBUG:paramiko.transport:=== End of kex handshake === [11357.686758041382] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11358.293294906616] ERROR:paramiko.transport:Traceback (most recent call last): [11358.375549316406] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11358.43825340271] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11358.498811721802] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11358.558654785156] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11358.61873626709] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11358.678579330444] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11358.738422393799] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11358.79921913147] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11358.86025428772] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11358.919858932495] ERROR:paramiko.transport: sig = self.key.sign( [11358.980178833008] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11359.0407371521] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11359.102249145508] ERROR:paramiko.transport: [11359.233617782593] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf08b3990 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf08b2c50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________________ KeyTest.test_generate_rsa ___________________________ self = @requires_sha1_signing def test_generate_rsa(self): key = RSAKey.generate(1024) > msg = key.sign_ssh_data(b"jerri blank") tests/test_pkey.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , data = b'jerri blank' algorithm = 'ssh-rsa' def sign_ssh_data(self, data, algorithm="ssh-rsa"): > sig = self.key.sign( data, padding=padding.PKCS1v15(), algorithm=self.HASHES[algorithm](), ) E cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. paramiko/rsakey.py:118: UnsupportedAlgorithm _____________________ KeyTest.test_sign_and_verify_ssh_rsa _____________________ self = @requires_sha1_signing def test_sign_and_verify_ssh_rsa(self): > self._sign_and_verify_rsa("ssh-rsa", SIGNED_RSA) tests/test_pkey.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_pkey.py:252: in _sign_and_verify_rsa msg = key.sign_ssh_data(b"ice weasels", algorithm) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , data = b'ice weasels' algorithm = 'ssh-rsa' def sign_ssh_data(self, data, algorithm="ssh-rsa"): > sig = self.key.sign( data, padding=padding.PKCS1v15(), algorithm=self.HASHES[algorithm](), ) E cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. paramiko/rsakey.py:118: UnsupportedAlgorithm __ TestSHA2SignatureKeyExchange.test_base_case_ssh_rsa_still_used_as_fallback __ self = @requires_sha1_signing def test_base_case_ssh_rsa_still_used_as_fallback(self): # Prove that ssh-rsa is used if either, or both, participants have SHA2 # algorithms disabled for which in ("init", "client_init", "server_init"): > with server(**{which: _disable_sha2}) as (tc, _): tests/test_transport.py:1296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/test_transport.py:1253: in server tc.connect(**connect) paramiko/transport.py:1351: in connect self.start_client() paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [79319.02551651001] DEBUG:paramiko.transport:starting thread (server mode): 0xf094c310 [79319.16308403015] DEBUG:paramiko.transport:starting thread (client mode): 0xf094f850 [79319.26608085632] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [79319.38529014587] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [79319.4887638092] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [79319.5858001709] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [79319.67520713806] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [79319.76199150085] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [79320.36352157593] DEBUG:paramiko.transport:=== Key exchange possibilities === [79320.46270370483] DEBUG:paramiko.transport:=== Key exchange possibilities === [79320.55020332336] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [79320.65176963806] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [79320.74069976807] DEBUG:paramiko.transport:server key: ssh-rsa [79320.82748413086] DEBUG:paramiko.transport:server key: ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa, ssh-dss, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, ssh-rsa-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [79320.91116905212] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79320.99628448486] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79321.08163833618] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79321.16651535034] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79321.24972343445] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [79321.33483886719] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [79321.41947746277] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [79321.50292396545] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [79321.58613204956] DEBUG:paramiko.transport:client compress: none [79321.68245315552] DEBUG:paramiko.transport:client compress: none [79321.77758216858] DEBUG:paramiko.transport:server compress: none [79321.86222076416] DEBUG:paramiko.transport:server compress: none [79321.94566726685] DEBUG:paramiko.transport:client lang: [79322.02887535095] DEBUG:paramiko.transport:client lang: [79322.11136817932] DEBUG:paramiko.transport:server lang: [79322.19290733337] DEBUG:paramiko.transport:server lang: [79322.27563858032] DEBUG:paramiko.transport:kex follows: False [79322.35932350159] DEBUG:paramiko.transport:kex follows: False [79322.438955307] DEBUG:paramiko.transport:=== Key exchange agreements === [79322.52049446106] DEBUG:paramiko.transport:=== Key exchange agreements === [79322.61753082275] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [79322.71981239319] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [79322.81851768494] DEBUG:paramiko.transport:HostKey: ssh-rsa [79322.92318344116] DEBUG:paramiko.transport:HostKey: ssh-rsa [79323.02117347717] DEBUG:paramiko.transport:Cipher: aes128-ctr [79323.1189250946] DEBUG:paramiko.transport:Cipher: aes128-ctr [79323.21572303772] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [79323.31490516663] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [79323.40836524963] DEBUG:paramiko.transport:Compression: none [79323.5023021698] DEBUG:paramiko.transport:Compression: none [79323.58503341675] DEBUG:paramiko.transport:=== End of kex handshake === [79323.66609573364] DEBUG:paramiko.transport:=== End of kex handshake === [79324.70464706421] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [79325.41728019714] ERROR:paramiko.transport:Traceback (most recent call last): [79325.50024986267] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [79325.56390762329] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [79325.6254196167] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [79325.70099830627] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [79325.77109336853] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [79325.8330821991] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [79325.89340209961] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [79325.95348358154] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [79326.0133266449] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [79326.07531547546] ERROR:paramiko.transport: sig = self.key.sign( [79326.13754272461] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [79326.19857788086] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [79326.25937461853] ERROR:paramiko.transport: [79424.05033111572] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf094c310 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf094f850 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa, ssh-dss, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, ssh-rsa-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ TestSHA2SignaturePubkeys.test_ssh_rsa_still_used_when_sha2_disabled ______ self = @requires_sha1_signing def test_ssh_rsa_still_used_when_sha2_disabled(self): privkey = RSAKey.from_private_key_file(_support("test_rsa.key")) # NOTE: this works because key obj comparison uses public bytes # TODO: would be nice for PKey to grow a legit "give me another obj of # same class but just the public bits" using asbytes() > with server( pubkeys=[privkey], connect=dict(pkey=privkey), init=_disable_sha2 ) as (tc, _): tests/test_transport.py:1420: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/test_transport.py:1253: in server tc.connect(**connect) paramiko/transport.py:1351: in connect self.start_client() paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [80516.03150367737] DEBUG:paramiko.transport:EOF in transport thread [80516.0961151123] DEBUG:paramiko.transport:EOF in transport thread [80549.99279975891] DEBUG:paramiko.transport:starting thread (server mode): 0xedaea310 [80550.1229763031] DEBUG:paramiko.transport:starting thread (client mode): 0xedae9790 [80550.22025108337] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80550.33874511719] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80550.44221878052] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80550.53997039795] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80550.62747001648] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80550.71377754211] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80551.31983757019] DEBUG:paramiko.transport:=== Key exchange possibilities === [80551.4190196991] DEBUG:paramiko.transport:=== Key exchange possibilities === [80551.50413513184] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 [80551.60522460938] DEBUG:paramiko.transport:kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c [80551.69320106506] DEBUG:paramiko.transport:server key: ssh-rsa [80551.78093910217] DEBUG:paramiko.transport:server key: ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa, ssh-dss, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, ssh-rsa-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com [80551.86462402344] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80551.95045471191] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80552.03461647034] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80552.11877822876] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80552.20222473145] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [80552.28590965271] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [80552.3693561554] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [80552.4525642395] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [80552.53529548645] DEBUG:paramiko.transport:client compress: none [80552.61754989624] DEBUG:paramiko.transport:client compress: none [80552.69956588745] DEBUG:paramiko.transport:server compress: none [80552.78158187866] DEBUG:paramiko.transport:server compress: none [80552.86502838135] DEBUG:paramiko.transport:client lang: [80552.9477596283] DEBUG:paramiko.transport:client lang: [80553.0309677124] DEBUG:paramiko.transport:server lang: [80553.11250686646] DEBUG:paramiko.transport:server lang: [80553.19547653198] DEBUG:paramiko.transport:kex follows: False [80553.27820777893] DEBUG:paramiko.transport:kex follows: False [80553.35998535156] DEBUG:paramiko.transport:=== Key exchange agreements === [80553.44414710999] DEBUG:paramiko.transport:=== Key exchange agreements === [80553.5409450531] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80553.63988876343] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80553.75814437866] DEBUG:paramiko.transport:HostKey: ssh-rsa [80553.87043952942] DEBUG:paramiko.transport:HostKey: ssh-rsa [80553.9722442627] DEBUG:paramiko.transport:Cipher: aes128-ctr [80554.07357215881] DEBUG:paramiko.transport:Cipher: aes128-ctr [80554.17704582214] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80554.27646636963] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80554.37088012695] DEBUG:paramiko.transport:Compression: none [80554.46553230286] DEBUG:paramiko.transport:Compression: none [80554.54707145691] DEBUG:paramiko.transport:=== End of kex handshake === [80554.6281337738] DEBUG:paramiko.transport:=== End of kex handshake === [80555.63473701477] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [80556.2195777893] ERROR:paramiko.transport:Traceback (most recent call last): [80556.30254745483] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [80556.36477470398] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [80556.42557144165] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [80556.4866065979] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [80556.54644966125] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80556.60724639893] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [80556.6680431366] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [80556.72764778137] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80556.78844451904] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [80556.84804916382] ERROR:paramiko.transport: sig = self.key.sign( [80556.9076538086] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [80556.96749687195] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [80557.0261478424] ERROR:paramiko.transport: [80581.83121681213] DEBUG:paramiko.transport:EOF in transport thread [80582.0083618164] DEBUG:paramiko.transport:EOF in transport thread [80655.01427650452] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 EOF in transport thread DEBUG paramiko.transport:transport.py:1873 EOF in transport thread DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xedaea310 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xedae9790 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa, ssh-dss, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, ssh-rsa-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread DEBUG paramiko.transport:transport.py:1873 EOF in transport thread DEBUG paramiko.transport:transport.py:1873 EOF in transport thread =============================== warnings summary =============================== ../../../../usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1373 /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: looponfailroots self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") tests/test_channelfile.py::TestChannelStdinFile::test_defaults_to_unbuffered_reading tests/test_channelfile.py::TestChannelStdinFile::test_can_override_mode_and_bufsize /usr/lib/python3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: Traceback (most recent call last): File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/file.py", line 67, in __del__ self.close() File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/channel.py", line 1390, in close self.channel.shutdown_write() File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/channel.py", line 989, in shutdown_write self.shutdown(1) File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/channel.py", line 965, in shutdown self.transport._send_user_message(m) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_send_user_message' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/test_client.py::SSHClientTest::test_update_environment /builddir/build/BUILD/paramiko-3.1.0/tests/test_client.py:702: DeprecationWarning: isSet() is deprecated, use is_set() instead self.assertTrue(self.event.isSet()) tests/test_config.py::TestSSHConfig::test_init /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_init is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_from_text /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_from_text is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_from_file /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_from_file is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_from_path /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_from_path is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_parse_config /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_parse_config is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_host_config[irc.danger.com-values0] /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_host_config[irc.danger.com-values0] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_host_config[irc.example.com-values1] /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_host_config[irc.example.com-values1] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_host_config[spoo.example.com-values2] /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_host_config[spoo.example.com-values2] is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_fabric_issue_33 /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_fabric_issue_33 is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxycommand_config_equals_parsing /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxycommand_config_equals_parsing is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxycommand_interpolation /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxycommand_interpolation is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxycommand_tilde_expansion /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxycommand_tilde_expansion is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxyjump_token_expansion /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxyjump_token_expansion is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_controlpath_token_expansion /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_controlpath_token_expansion is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_negation /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_negation is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxycommand /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxycommand is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_identityfile /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_identityfile is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_config_addressfamily_and_lazy_fqdn /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_config_addressfamily_and_lazy_fqdn is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_config_dos_crlf_succeeds /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_config_dos_crlf_succeeds is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_get_hostnames /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_get_hostnames is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_quoted_host_names /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_quoted_host_names is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_quoted_params_in_config /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_quoted_params_in_config is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_quoted_host_in_config /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_quoted_host_in_config is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_invalid_line_format_excepts /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_invalid_line_format_excepts is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxycommand_none_issue_415 /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxycommand_none_issue_415 is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_proxycommand_none_masking /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_proxycommand_none_masking is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) tests/test_config.py::TestSSHConfig::test_hostname_tokenization /usr/lib/python3.11/site-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. tests/test_config.py::TestSSHConfig::test_hostname_tokenization is using nose-specific method: `setup(self)` To remove this warning, rename it to `setup_method(self)` See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose fixture_result = next(generator) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_client.py::SSHClientTest::test_auth_timeout - EOFError FAILED tests/test_client.py::SSHClientTest::test_auth_trickledown - EOFError FAILED tests/test_client.py::SSHClientTest::test_certs_allowed_as_key_filename_values FAILED tests/test_client.py::SSHClientTest::test_certs_implicitly_loaded_alongside_key_filename_keys FAILED tests/test_client.py::SSHClientTest::test_client - EOFError FAILED tests/test_client.py::SSHClientTest::test_client_dsa - EOFError FAILED tests/test_client.py::SSHClientTest::test_client_ecdsa - EOFError FAILED tests/test_client.py::SSHClientTest::test_client_ed25519 - EOFError FAILED tests/test_client.py::SSHClientTest::test_client_rsa - EOFError FAILED tests/test_client.py::SSHClientTest::test_host_key_negotiation_2 - EOF... FAILED tests/test_client.py::SSHClientTest::test_host_key_negotiation_4 - EOF... FAILED tests/test_client.py::SSHClientTest::test_multiple_key_files - EOFError FAILED tests/test_client.py::SSHClientTest::test_multiple_key_files_failure FAILED tests/test_client.py::SSHClientTest::test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa FAILED tests/test_client.py::SSHClientTest::test_old_openssh_needs_ssh_rsa_for_certs_not_rsa_sha2 FAILED tests/test_client.py::PasswordPassphraseTests::test_passphrase_kwarg_not_used_for_password_auth FAILED tests/test_client.py::PasswordPassphraseTests::test_passphrase_kwarg_used_for_key_passphrase FAILED tests/test_client.py::PasswordPassphraseTests::test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given FAILED tests/test_client.py::PasswordPassphraseTests::test_password_kwarg_used_for_passphrase_when_no_passphrase_kwarg_given FAILED tests/test_client.py::PasswordPassphraseTests::test_password_kwarg_works_for_password_auth FAILED tests/test_pkey.py::KeyTest::test_generate_rsa - cryptography.exceptio... FAILED tests/test_pkey.py::KeyTest::test_sign_and_verify_ssh_rsa - cryptograp... FAILED tests/test_transport.py::TestSHA2SignatureKeyExchange::test_base_case_ssh_rsa_still_used_as_fallback FAILED tests/test_transport.py::TestSHA2SignaturePubkeys::test_ssh_rsa_still_used_when_sha2_disabled ====== 24 failed, 366 passed, 33 skipped, 31 warnings in 80.22s (0:01:20) ====== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lf6Dl4 (%check) Bad exit status from /var/tmp/rpm-tmp.lf6Dl4 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec\n', 1)] 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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec