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-149058-9859/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=981gid=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-149058-9859/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=981gid=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.9dqMJD + 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.xjGfjP + 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.eqgXIa + 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/tmpwzove16l.py' /usr/bin/python3 /tmp/tmpwzove16l.py removing /tmp/tmpwzove16l.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.FleLVB + 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 ----------------------------- [3871.023178100586] DEBUG:paramiko.transport:starting thread (client mode): 0xef5d1610 [3911.3926887512207] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3914.348602294922] DEBUG:paramiko.transport:starting thread (server mode): 0xef697e90 [3915.0424003601074] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3915.2650833129883] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3915.5099391937256] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3915.9412384033203] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3916.379690170288] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3918.100595474243] DEBUG:paramiko.transport:=== Key exchange possibilities === [3918.3435440063477] DEBUG:paramiko.transport:=== Key exchange possibilities === [3918.571710586548] 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 [3918.8599586486816] 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 [3919.1417694091797] 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 [3919.4161891937256] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [3919.694185256958] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3919.9600219726562] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3920.232057571411] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3920.5026626586914] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3923.069477081299] 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 [3923.365592956543] 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 [3923.654794692993] 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 [3923.9232540130615] 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 [3924.2048263549805] DEBUG:paramiko.transport:client compress: none [3924.4720935821533] DEBUG:paramiko.transport:client compress: none [3924.7422218322754] DEBUG:paramiko.transport:server compress: none [3925.0240325927734] DEBUG:paramiko.transport:server compress: none [3925.3172874450684] DEBUG:paramiko.transport:client lang: [3925.5897998809814] DEBUG:paramiko.transport:client lang: [3925.861120223999] DEBUG:paramiko.transport:server lang: [3926.126718521118] DEBUG:paramiko.transport:server lang: [3926.3980388641357] DEBUG:paramiko.transport:kex follows: False [3926.6722202301025] DEBUG:paramiko.transport:kex follows: False [3926.94354057312] DEBUG:paramiko.transport:=== Key exchange agreements === [3927.2522926330566] DEBUG:paramiko.transport:=== Key exchange agreements === [3927.6044368743896] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3927.967071533203] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3928.295612335205] DEBUG:paramiko.transport:HostKey: ssh-rsa [3928.6465644836426] DEBUG:paramiko.transport:HostKey: ssh-rsa [3928.978443145752] DEBUG:paramiko.transport:Cipher: aes128-ctr [3929.3107986450195] DEBUG:paramiko.transport:Cipher: aes128-ctr [3929.619073867798] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3929.9252033233643] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3930.2732944488525] DEBUG:paramiko.transport:Compression: none [3930.5732250213623] DEBUG:paramiko.transport:Compression: none [3930.8440685272217] DEBUG:paramiko.transport:=== End of kex handshake === [3931.10990524292] DEBUG:paramiko.transport:=== End of kex handshake === [3934.108257293701] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [3936.8865489959717] ERROR:paramiko.transport:Traceback (most recent call last): [3937.0083808898926] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [3937.082052230835] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [3937.1492862701416] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [3937.2150897979736] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [3937.279462814331] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3937.345504760742] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [3937.408685684204] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [3937.4709129333496] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3937.5340938568115] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [3937.598943710327] ERROR:paramiko.transport: sig = self.key.sign( [3937.6654624938965] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [3937.7293586730957] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [3937.793970108032] ERROR:paramiko.transport: [3938.109874725342] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef5d1610 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): 0xef697e90 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_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 ----------------------------- [4119.938373565674] DEBUG:paramiko.transport:starting thread (client mode): 0xef5e1c10 [4153.41329574585] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4155.152082443237] DEBUG:paramiko.transport:starting thread (server mode): 0xef822f90 [4155.861377716064] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4156.049728393555] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4156.358242034912] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4157.070636749268] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4157.238960266113] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4158.133268356323] DEBUG:paramiko.transport:=== Key exchange possibilities === [4158.409595489502] 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 [4158.502578735352] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [4158.5893630981445] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4158.673048019409] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4158.757209777832] 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 [4158.843755722046] 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 [4158.9295864105225] DEBUG:paramiko.transport:client compress: none [4159.010648727417] DEBUG:paramiko.transport:server compress: none [4159.094333648682] DEBUG:paramiko.transport:client lang: [4159.174680709839] DEBUG:paramiko.transport:server lang: [4159.257411956787] DEBUG:paramiko.transport:kex follows: False [4159.33632850647] DEBUG:paramiko.transport:=== Key exchange agreements === [4159.445524215698] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4159.559965133667] DEBUG:paramiko.transport:HostKey: ssh-rsa [4159.669876098633] DEBUG:paramiko.transport:Cipher: aes128-ctr [4159.774303436279] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4159.877300262451] DEBUG:paramiko.transport:Compression: none [4159.960508346558] DEBUG:paramiko.transport:=== End of kex handshake === [4160.505533218384] DEBUG:paramiko.transport:=== Key exchange possibilities === [4160.713672637939] 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 [4160.807847976685] 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 [4160.900354385376] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4161.010980606079] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4161.1878871917725] 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 [4161.392450332642] 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 [4161.470174789429] DEBUG:paramiko.transport:client compress: none [4161.543369293213] DEBUG:paramiko.transport:server compress: none [4161.610841751099] DEBUG:paramiko.transport:client lang: [4161.680221557617] DEBUG:paramiko.transport:server lang: [4161.748647689819] DEBUG:paramiko.transport:kex follows: False [4161.817312240601] DEBUG:paramiko.transport:=== Key exchange agreements === [4161.921739578247] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4162.034034729004] DEBUG:paramiko.transport:HostKey: ssh-rsa [4162.129163742065] DEBUG:paramiko.transport:Cipher: aes128-ctr [4162.222623825073] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4162.309646606445] DEBUG:paramiko.transport:Compression: none [4162.377834320068] DEBUG:paramiko.transport:=== End of kex handshake === [4163.6061668396] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [4164.543151855469] ERROR:paramiko.transport:Traceback (most recent call last): [4164.632797241211] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [4164.697885513306] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [4164.762735366821] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [4164.825916290283] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [4164.892196655273] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4164.999961853027] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [4165.074586868286] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [4165.1411056518555] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4165.20619392395] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [4165.270090103149] ERROR:paramiko.transport: sig = self.key.sign( [4165.331840515137] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [4165.393590927124] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [4165.456771850586] ERROR:paramiko.transport: [4165.681838989258] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef5e1c10 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): 0xef822f90 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_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 ----------------------------- [5020.0982093811035] DEBUG:paramiko.transport:starting thread (client mode): 0xef52ca10 [5055.120468139648] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5055.354118347168] DEBUG:paramiko.transport:starting thread (server mode): 0xef52ead0 [5056.012868881226] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5056.257247924805] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5056.470632553101] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5056.747674942017] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5057.075023651123] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5059.139013290405] DEBUG:paramiko.transport:=== Key exchange possibilities === [5059.275150299072] 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 [5059.370279312134] 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 [5059.464931488037] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5059.553384780884] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5059.641361236572] 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 [5059.732913970947] 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 [5059.821844100952] DEBUG:paramiko.transport:client compress: none [5059.9071979522705] DEBUG:paramiko.transport:server compress: none [5059.991359710693] DEBUG:paramiko.transport:client lang: [5060.075283050537] DEBUG:paramiko.transport:server lang: [5060.161113739014] DEBUG:paramiko.transport:kex follows: False [5060.244798660278] DEBUG:paramiko.transport:=== Key exchange agreements === [5060.350656509399] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5060.47511100769] DEBUG:paramiko.transport:HostKey: ssh-rsa [5060.583591461182] DEBUG:paramiko.transport:Cipher: aes128-ctr [5060.693025588989] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5060.79888343811] DEBUG:paramiko.transport:Compression: none [5060.885190963745] DEBUG:paramiko.transport:=== End of kex handshake === [5061.568260192871] DEBUG:paramiko.transport:=== Key exchange possibilities === [5061.82336807251] 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 [5061.906814575195] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5061.984062194824] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5062.061309814453] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5062.136650085449] 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 [5062.224864959717] 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 [5062.298774719238] DEBUG:paramiko.transport:client compress: none [5062.370777130127] DEBUG:paramiko.transport:server compress: none [5062.439680099487] DEBUG:paramiko.transport:client lang: [5062.510967254639] DEBUG:paramiko.transport:server lang: [5062.584638595581] DEBUG:paramiko.transport:kex follows: False [5062.657833099365] DEBUG:paramiko.transport:=== Key exchange agreements === [5062.774181365967] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5062.895059585571] DEBUG:paramiko.transport:HostKey: ssh-rsa [5062.992811203003] DEBUG:paramiko.transport:Cipher: aes128-ctr [5063.093662261963] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5063.188076019287] DEBUG:paramiko.transport:Compression: none [5063.257217407227] DEBUG:paramiko.transport:=== End of kex handshake === [5064.528465270996] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5065.773963928223] ERROR:paramiko.transport:Traceback (most recent call last): [5065.876483917236] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5065.941333770752] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5066.006898880005] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5066.072940826416] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5066.138982772827] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5066.209077835083] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5066.274404525757] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5066.340684890747] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5066.404104232788] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5066.467761993408] ERROR:paramiko.transport: sig = self.key.sign( [5066.533327102661] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5066.59722328186] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5066.6632652282715] ERROR:paramiko.transport: [5066.993713378906] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef52ca10 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): 0xef52ead0 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 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 === 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 === 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 ----------------------------- [5235.595226287842] DEBUG:paramiko.transport:starting thread (client mode): 0xef68d950 [5270.257949829102] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5272.4151611328125] DEBUG:paramiko.transport:starting thread (server mode): 0xef68c590 [5273.200273513794] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5273.326635360718] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5273.74267578125] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5274.135589599609] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5274.34778213501] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5275.9575843811035] DEBUG:paramiko.transport:=== Key exchange possibilities === [5276.278972625732] 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 [5276.381492614746] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5276.473045349121] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5276.562213897705] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5276.648044586182] 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 [5276.739597320557] 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 [5276.827096939087] DEBUG:paramiko.transport:client compress: none [5276.910781860352] DEBUG:paramiko.transport:server compress: none [5277.122974395752] DEBUG:paramiko.transport:=== Key exchange possibilities === [5277.3118019104] DEBUG:paramiko.transport:client lang: [5277.578115463257] 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 [5277.831792831421] DEBUG:paramiko.transport:server lang: [5278.079032897949] 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 [5278.337717056274] DEBUG:paramiko.transport:kex follows: False [5278.580188751221] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5278.832674026489] DEBUG:paramiko.transport:=== Key exchange agreements === [5279.069662094116] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5279.372215270996] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5279.6125411987305] 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 [5279.906511306763] DEBUG:paramiko.transport:HostKey: ssh-rsa [5280.147314071655] 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 [5280.431032180786] DEBUG:paramiko.transport:Cipher: aes128-ctr [5280.670166015625] DEBUG:paramiko.transport:client compress: none [5280.970096588135] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5281.224727630615] DEBUG:paramiko.transport:server compress: none [5281.501531600952] DEBUG:paramiko.transport:Compression: none [5281.733989715576] DEBUG:paramiko.transport:client lang: [5281.983375549316] DEBUG:paramiko.transport:=== End of kex handshake === [5282.219648361206] DEBUG:paramiko.transport:server lang: [5283.139228820801] DEBUG:paramiko.transport:kex follows: False [5283.227920532227] DEBUG:paramiko.transport:=== Key exchange agreements === [5283.345699310303] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5283.472537994385] DEBUG:paramiko.transport:HostKey: ssh-rsa [5283.581256866455] DEBUG:paramiko.transport:Cipher: aes128-ctr [5283.687591552734] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5283.784866333008] DEBUG:paramiko.transport:Compression: none [5283.863067626953] DEBUG:paramiko.transport:=== End of kex handshake === [5285.649061203003] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5286.553382873535] ERROR:paramiko.transport:Traceback (most recent call last): [5286.641597747803] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5286.705493927002] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5286.768674850464] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5286.830902099609] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5286.895036697388] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5286.959409713745] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5287.022352218628] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5287.086725234985] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5287.148475646973] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5287.209987640381] ERROR:paramiko.transport: sig = self.key.sign( [5287.274360656738] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5287.3375415802] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5287.398815155029] ERROR:paramiko.transport: [5287.64271736145] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef68d950 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): 0xef68c590 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 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 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 client lang: 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 lang: 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 follows: False 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 === Key exchange agreements === 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 Kex: curve25519-sha256@libssh.org 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 HostKey: ssh-rsa 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 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === 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 ___________________________ 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 ----------------------------- [7196.6392993927] DEBUG:paramiko.transport:starting thread (client mode): 0xef5a7410 [7230.223894119263] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7232.024192810059] DEBUG:paramiko.transport:starting thread (server mode): 0xef52fd10 [7232.520341873169] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7232.621431350708] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7232.933759689331] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7233.050584793091] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7233.678102493286] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7234.941005706787] DEBUG:paramiko.transport:=== Key exchange possibilities === [7235.169172286987] DEBUG:paramiko.transport:=== Key exchange possibilities === [7235.3620529174805] 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 [7235.588312149048] 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 [7235.787868499756] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7235.999822616577] 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 [7236.193418502808] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7236.403465270996] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7236.597299575806] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7236.8035316467285] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7237.087965011597] 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 [7237.282752990723] 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 [7237.484693527222] 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 [7237.692594528198] 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 [7237.889051437378] DEBUG:paramiko.transport:client compress: none [7238.095998764038] DEBUG:paramiko.transport:client compress: none [7238.289594650269] DEBUG:paramiko.transport:server compress: none [7238.49630355835] DEBUG:paramiko.transport:server compress: none [7238.6932373046875] DEBUG:paramiko.transport:client lang: [7238.89422416687] DEBUG:paramiko.transport:client lang: [7239.08543586731] DEBUG:paramiko.transport:server lang: [7239.287614822388] DEBUG:paramiko.transport:server lang: [7239.482164382935] DEBUG:paramiko.transport:kex follows: False [7239.689826965332] DEBUG:paramiko.transport:kex follows: False [7239.883184432983] DEBUG:paramiko.transport:=== Key exchange agreements === [7240.0877475738525] DEBUG:paramiko.transport:=== Key exchange agreements === [7240.309000015259] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7240.548133850098] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7240.777254104614] DEBUG:paramiko.transport:HostKey: ssh-rsa [7241.076707839966] DEBUG:paramiko.transport:HostKey: ssh-rsa [7241.3153648376465] DEBUG:paramiko.transport:Cipher: aes128-ctr [7241.554260253906] DEBUG:paramiko.transport:Cipher: aes128-ctr [7241.779088973999] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7242.015600204468] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7242.228746414185] DEBUG:paramiko.transport:Compression: none [7242.458343505859] DEBUG:paramiko.transport:Compression: none [7242.650508880615] DEBUG:paramiko.transport:=== End of kex handshake === [7242.855787277222] DEBUG:paramiko.transport:=== End of kex handshake === [7244.687795639038] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7245.612144470215] ERROR:paramiko.transport:Traceback (most recent call last): [7245.710611343384] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7245.774745941162] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7245.83888053894] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7245.903015136719] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7245.970249176025] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7246.037244796753] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7246.102571487427] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7246.170520782471] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7246.236562728882] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7246.3014125823975] ERROR:paramiko.transport: sig = self.key.sign( [7246.365547180176] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7246.432065963745] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7246.498584747314] ERROR:paramiko.transport: [7246.6912269592285] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef5a7410 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): 0xef52fd10 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_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 ----------------------------- [7459.183216094971] DEBUG:paramiko.transport:starting thread (client mode): 0xef904590 [7494.75359916687] DEBUG:paramiko.transport:starting thread (server mode): 0xef907710 [7494.996070861816] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7495.5925941467285] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7495.762348175049] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7496.140956878662] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7496.482849121094] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7496.779918670654] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7498.1560707092285] DEBUG:paramiko.transport:=== Key exchange possibilities === [7498.409748077393] 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 [7498.506784439087] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7498.593330383301] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7498.677730560303] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7498.761415481567] 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 [7498.850584030151] 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 [7498.935699462891] DEBUG:paramiko.transport:client compress: none [7499.019145965576] DEBUG:paramiko.transport:server compress: none [7499.101877212524] DEBUG:paramiko.transport:client lang: [7499.185562133789] DEBUG:paramiko.transport:server lang: [7499.273300170898] DEBUG:paramiko.transport:kex follows: False [7499.359369277954] DEBUG:paramiko.transport:=== Key exchange agreements === [7499.480485916138] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7499.594926834106] DEBUG:paramiko.transport:HostKey: ssh-rsa [7499.70555305481] DEBUG:paramiko.transport:Cipher: aes128-ctr [7499.8157024383545] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7499.919176101685] DEBUG:paramiko.transport:Compression: none [7500.003099441528] DEBUG:paramiko.transport:=== End of kex handshake === [7500.63681602478] DEBUG:paramiko.transport:=== Key exchange possibilities === [7500.921249389648] 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 [7501.116991043091] 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 [7501.201629638672] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7501.276254653931] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7501.34801864624] 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 [7501.439809799194] 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 [7501.508951187134] DEBUG:paramiko.transport:client compress: none [7501.579523086548] DEBUG:paramiko.transport:server compress: none [7501.648187637329] DEBUG:paramiko.transport:client lang: [7501.717805862427] DEBUG:paramiko.transport:server lang: [7501.790761947632] DEBUG:paramiko.transport:kex follows: False [7501.858711242676] DEBUG:paramiko.transport:=== Key exchange agreements === [7501.962661743164] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7502.075672149658] DEBUG:paramiko.transport:HostKey: ssh-rsa [7502.177715301514] DEBUG:paramiko.transport:Cipher: aes128-ctr [7502.273321151733] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7502.825736999512] DEBUG:paramiko.transport:Compression: none [7502.915382385254] DEBUG:paramiko.transport:=== End of kex handshake === [7504.275560379028] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7505.158185958862] ERROR:paramiko.transport:Traceback (most recent call last): [7505.255222320557] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7505.319833755493] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7505.38444519043] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7505.445957183838] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7505.512714385986] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7505.579710006714] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7505.644798278809] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7505.708932876587] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7505.774021148682] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7505.838632583618] ERROR:paramiko.transport: sig = self.key.sign( [7505.9027671813965] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7505.968332290649] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7506.031274795532] ERROR:paramiko.transport: [7506.250619888306] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef904590 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xef907710 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 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 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 --------------------------- Captured stderr teardown --------------------------- [7529.240369796753] DEBUG:paramiko.transport:EOF in transport thread [7529.541969299316] 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 ----------------------------- [7658.149242401123] DEBUG:paramiko.transport:starting thread (client mode): 0xef86a0d0 [7691.984176635742] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7693.866729736328] DEBUG:paramiko.transport:starting thread (server mode): 0xef71b6d0 [7694.281339645386] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7694.434404373169] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7694.536209106445] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7694.858551025391] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7695.232391357422] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7696.536064147949] DEBUG:paramiko.transport:=== Key exchange possibilities === [7696.8066692352295] DEBUG:paramiko.transport:=== Key exchange possibilities === [7697.052001953125] 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 [7697.340250015259] 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 [7697.618722915649] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7697.896242141724] 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 [7698.169946670532] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7698.439836502075] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7698.7035274505615] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7698.972702026367] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7699.2480754852295] 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 [7699.522256851196] 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 [7699.790716171265] 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 [7700.062036514282] 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 [7700.3333568573] DEBUG:paramiko.transport:client compress: none [7700.601577758789] DEBUG:paramiko.transport:client compress: none [7700.876474380493] DEBUG:paramiko.transport:server compress: none [7701.174020767212] DEBUG:paramiko.transport:server compress: none [7701.444625854492] DEBUG:paramiko.transport:client lang: [7701.7083168029785] DEBUG:paramiko.transport:client lang: [7701.980113983154] DEBUG:paramiko.transport:server lang: [7702.242136001587] DEBUG:paramiko.transport:server lang: [7702.516317367554] DEBUG:paramiko.transport:kex follows: False [7702.785968780518] DEBUG:paramiko.transport:kex follows: False [7703.0534744262695] DEBUG:paramiko.transport:=== Key exchange agreements === [7703.3140659332275] DEBUG:paramiko.transport:=== Key exchange agreements === [7703.617811203003] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7703.927040100098] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7704.234600067139] DEBUG:paramiko.transport:HostKey: ssh-rsa [7704.556465148926] DEBUG:paramiko.transport:HostKey: ssh-rsa [7704.86307144165] DEBUG:paramiko.transport:Cipher: aes128-ctr [7705.202341079712] DEBUG:paramiko.transport:Cipher: aes128-ctr [7705.515146255493] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7705.821752548218] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7706.120252609253] DEBUG:paramiko.transport:Compression: none [7706.414222717285] DEBUG:paramiko.transport:Compression: none [7706.681251525879] DEBUG:paramiko.transport:=== End of kex handshake === [7706.948041915894] DEBUG:paramiko.transport:=== End of kex handshake === [7708.875417709351] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7709.663867950439] ERROR:paramiko.transport:Traceback (most recent call last): [7709.758758544922] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7709.823369979858] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7709.890365600586] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7709.960222244263] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7710.028409957886] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7710.098505020142] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7710.164308547974] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7710.23416519165] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7710.301160812378] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7710.369825363159] ERROR:paramiko.transport: sig = self.key.sign( [7710.43848991394] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7710.508346557617] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7710.573196411133] ERROR:paramiko.transport: [7710.883378982544] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef86a0d0 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): 0xef71b6d0 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_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 ----------------------------- [7931.114435195923] DEBUG:paramiko.transport:starting thread (client mode): 0xef6ce0d0 [7964.693784713745] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7966.439723968506] DEBUG:paramiko.transport:starting thread (server mode): 0xef6cc590 [7966.893196105957] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7967.081785202026] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7967.261075973511] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7967.5703048706055] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7967.902660369873] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7969.099998474121] DEBUG:paramiko.transport:=== Key exchange possibilities === [7969.3615436553955] 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 [7969.457149505615] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7969.538450241089] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7969.621181488037] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7969.705820083618] 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 [7969.791412353516] 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 [7969.877481460571] DEBUG:paramiko.transport:client compress: none [7969.957590103149] DEBUG:paramiko.transport:server compress: none [7970.038414001465] DEBUG:paramiko.transport:client lang: [7970.118999481201] DEBUG:paramiko.transport:server lang: [7970.1995849609375] DEBUG:paramiko.transport:kex follows: False [7970.280170440674] DEBUG:paramiko.transport:=== Key exchange agreements === [7970.385313034058] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7970.494270324707] DEBUG:paramiko.transport:HostKey: ssh-rsa [7970.597267150879] DEBUG:paramiko.transport:Cipher: aes128-ctr [7970.6995487213135] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7970.796585083008] DEBUG:paramiko.transport:Compression: none [7970.875024795532] DEBUG:paramiko.transport:=== End of kex handshake === [7971.402406692505] DEBUG:paramiko.transport:=== Key exchange possibilities === [7971.600532531738] 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 [7971.695184707642] 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 [7971.7841148376465] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7971.869707107544] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7971.9557762146] 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 [7972.120523452759] 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 [7972.208499908447] DEBUG:paramiko.transport:client compress: none [7972.293138504028] DEBUG:paramiko.transport:server compress: none [7972.375869750977] DEBUG:paramiko.transport:client lang: [7972.459077835083] DEBUG:paramiko.transport:server lang: [7972.544193267822] DEBUG:paramiko.transport:kex follows: False [7972.625017166138] DEBUG:paramiko.transport:=== Key exchange agreements === [7972.733497619629] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7972.856521606445] DEBUG:paramiko.transport:HostKey: ssh-rsa [7972.975492477417] DEBUG:paramiko.transport:Cipher: aes128-ctr [7973.189830780029] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7973.282098770142] DEBUG:paramiko.transport:Compression: none [7973.352909088135] DEBUG:paramiko.transport:=== End of kex handshake === [7974.394798278809] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7975.109815597534] ERROR:paramiko.transport:Traceback (most recent call last): [7975.194454193115] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7975.260496139526] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7975.324869155884] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7975.388050079346] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7975.4509925842285] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7975.514650344849] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7975.578784942627] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7975.64435005188] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7975.706577301025] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7975.770711898804] ERROR:paramiko.transport: sig = self.key.sign( [7975.8360385894775] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7975.900650024414] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7975.96549987793] ERROR:paramiko.transport: [7976.160049438477] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef6ce0d0 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): 0xef6cc590 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 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_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 ----------------------------- [8125.868320465088] DEBUG:paramiko.transport:starting thread (client mode): 0xef67cfd0 [8159.500598907471] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8161.257743835449] DEBUG:paramiko.transport:starting thread (server mode): 0xef67cad0 [8161.652326583862] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8161.794662475586] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8161.894798278809] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8162.196159362793] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8162.576675415039] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8163.86079788208] DEBUG:paramiko.transport:=== Key exchange possibilities === [8164.113759994507] 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 [8164.20841217041] 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 [8164.296627044678] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8164.378643035889] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8164.461851119995] 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 [8164.546012878418] 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 [8164.628744125366] DEBUG:paramiko.transport:client compress: none [8164.709806442261] DEBUG:paramiko.transport:server compress: none [8164.790630340576] DEBUG:paramiko.transport:client lang: [8164.8712158203125] DEBUG:paramiko.transport:server lang: [8164.97015953064] DEBUG:paramiko.transport:kex follows: False [8165.199995040894] DEBUG:paramiko.transport:=== Key exchange possibilities === [8165.386438369751] DEBUG:paramiko.transport:=== Key exchange agreements === [8165.667295455933] 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 [8165.933132171631] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8166.193962097168] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8166.468381881714] DEBUG:paramiko.transport:HostKey: ssh-rsa [8166.722774505615] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8166.985988616943] DEBUG:paramiko.transport:Cipher: aes128-ctr [8167.236328125] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8167.495489120483] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8167.7422523498535] 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 [8167.993783950806] DEBUG:paramiko.transport:Compression: none [8168.243408203125] 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 [8168.475151062012] DEBUG:paramiko.transport:=== End of kex handshake === [8168.726921081543] DEBUG:paramiko.transport:client compress: none [8169.480800628662] DEBUG:paramiko.transport:server compress: none [8169.564008712769] DEBUG:paramiko.transport:client lang: [8169.637441635132] DEBUG:paramiko.transport:server lang: [8169.719696044922] DEBUG:paramiko.transport:kex follows: False [8169.792652130127] DEBUG:paramiko.transport:=== Key exchange agreements === [8169.911623001099] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8170.03059387207] DEBUG:paramiko.transport:HostKey: ssh-rsa [8170.133829116821] DEBUG:paramiko.transport:Cipher: aes128-ctr [8170.233964920044] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8170.328855514526] DEBUG:paramiko.transport:Compression: none [8170.401334762573] DEBUG:paramiko.transport:=== End of kex handshake === [8171.841859817505] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8172.678232192993] ERROR:paramiko.transport:Traceback (most recent call last): [8172.765731811523] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8172.830820083618] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8172.896385192871] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8172.980546951294] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8173.060417175293] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8173.128604888916] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8173.192024230957] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8173.258543014526] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8173.323154449463] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8173.38752746582] ERROR:paramiko.transport: sig = self.key.sign( [8173.451662063599] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8173.514604568481] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8173.578500747681] ERROR:paramiko.transport: [8173.775911331177] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef67cfd0 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): 0xef67cad0 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 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 possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === 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: curve25519-sha256@libssh.org 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 HostKey: 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 Cipher: aes128-ctr 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 MAC: hmac-sha2-256 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 Compression: 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 === End of kex handshake === 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_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 ----------------------------- [8910.215616226196] DEBUG:paramiko.transport:starting thread (client mode): 0xef329550 [8943.91393661499] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8945.668935775757] DEBUG:paramiko.transport:starting thread (server mode): 0xef329150 [8946.070909500122] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8946.215629577637] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8946.310043334961] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8946.611642837524] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8946.98429107666] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8948.092460632324] DEBUG:paramiko.transport:=== Key exchange possibilities === [8948.375940322876] 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 [8948.469638824463] 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 [8948.5604763031] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8948.64273071289] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8948.726654052734] 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 [8948.810815811157] 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 [8948.89497756958] DEBUG:paramiko.transport:client compress: none [8948.995351791382] DEBUG:paramiko.transport:server compress: none [8949.207305908203] DEBUG:paramiko.transport:=== Key exchange possibilities === [8949.39398765564] DEBUG:paramiko.transport:client lang: [8949.674367904663] 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 [8949.916362762451] DEBUG:paramiko.transport:server lang: [8950.174331665039] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8950.417518615723] DEBUG:paramiko.transport:kex follows: False [8950.663328170776] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8950.897693634033] DEBUG:paramiko.transport:=== Key exchange agreements === [8951.143741607666] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8951.411008834839] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8951.666593551636] 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 [8951.93886756897] DEBUG:paramiko.transport:HostKey: ssh-rsa [8952.195405960083] 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 [8952.455043792725] DEBUG:paramiko.transport:Cipher: aes128-ctr [8952.699661254883] DEBUG:paramiko.transport:client compress: none [8952.977180480957] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8953.240156173706] DEBUG:paramiko.transport:server compress: none [8953.497648239136] DEBUG:paramiko.transport:Compression: none [8953.742742538452] DEBUG:paramiko.transport:client lang: [8953.97162437439] DEBUG:paramiko.transport:=== End of kex handshake === [8954.221248626709] DEBUG:paramiko.transport:server lang: [8954.869031906128] DEBUG:paramiko.transport:kex follows: False [8954.962253570557] DEBUG:paramiko.transport:=== Key exchange agreements === [8955.092191696167] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8955.230236053467] DEBUG:paramiko.transport:HostKey: ssh-rsa [8955.350160598755] DEBUG:paramiko.transport:Cipher: aes128-ctr [8955.467224121094] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8955.573558807373] DEBUG:paramiko.transport:Compression: none [8955.658674240112] DEBUG:paramiko.transport:=== End of kex handshake === [8956.919431686401] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8957.702159881592] ERROR:paramiko.transport:Traceback (most recent call last): [8957.788705825806] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8957.854270935059] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8957.917213439941] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8957.980394363403] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8958.041906356812] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8958.110094070435] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8958.174228668213] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8958.239793777466] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8958.30512046814] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8958.370923995972] ERROR:paramiko.transport: sig = self.key.sign( [8958.437204360962] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8958.50133895874] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8958.564281463623] ERROR:paramiko.transport: [8958.85968208313] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef329550 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): 0xef329150 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 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 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 client lang: 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 lang: 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 follows: False 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 === Key exchange agreements === 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 Kex: curve25519-sha256@libssh.org 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 HostKey: ssh-rsa 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 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === 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_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 ----------------------------- [9255.166292190552] DEBUG:paramiko.transport:starting thread (client mode): 0xef7a9e10 [9288.767576217651] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9290.507793426514] DEBUG:paramiko.transport:starting thread (server mode): 0xef7aabd0 [9290.898561477661] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9291.043043136597] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9291.139125823975] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9291.431903839111] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9291.788816452026] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9293.140172958374] DEBUG:paramiko.transport:=== Key exchange possibilities === [9293.416976928711] DEBUG:paramiko.transport:=== Key exchange possibilities === [9293.64562034607] 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 [9293.912649154663] 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 [9294.146060943604] 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 [9294.398307800293] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9294.636726379395] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9294.882774353027] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9295.11570930481] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9295.360565185547] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9295.592308044434] 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 [9295.843124389648] 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 [9296.077013015747] 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 [9296.320915222168] 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 [9296.551704406738] DEBUG:paramiko.transport:client compress: none [9296.800136566162] DEBUG:paramiko.transport:client compress: none [9297.04761505127] DEBUG:paramiko.transport:server compress: none [9297.307252883911] DEBUG:paramiko.transport:server compress: none [9297.544002532959] DEBUG:paramiko.transport:client lang: [9297.794580459595] DEBUG:paramiko.transport:client lang: [9298.030138015747] DEBUG:paramiko.transport:server lang: [9298.277854919434] DEBUG:paramiko.transport:server lang: [9298.51508140564] DEBUG:paramiko.transport:kex follows: False [9298.75898361206] DEBUG:paramiko.transport:kex follows: False [9299.378395080566] DEBUG:paramiko.transport:=== Key exchange agreements === [9299.622535705566] DEBUG:paramiko.transport:=== Key exchange agreements === [9299.883365631104] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9300.174713134766] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9300.448417663574] DEBUG:paramiko.transport:HostKey: ssh-rsa [9300.736427307129] DEBUG:paramiko.transport:HostKey: ssh-rsa [9301.013708114624] DEBUG:paramiko.transport:Cipher: aes128-ctr [9301.314115524292] DEBUG:paramiko.transport:Cipher: aes128-ctr [9301.587581634521] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9301.869869232178] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9302.124977111816] DEBUG:paramiko.transport:Compression: none [9302.397012710571] DEBUG:paramiko.transport:Compression: none [9302.621126174927] DEBUG:paramiko.transport:=== End of kex handshake === [9302.865028381348] DEBUG:paramiko.transport:=== End of kex handshake === [9304.628133773804] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9305.523157119751] ERROR:paramiko.transport:Traceback (most recent call last): [9305.620431900024] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9305.686950683594] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9305.752515792847] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9305.816650390625] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9305.879831314087] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9305.94539642334] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9306.007623672485] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9306.072235107422] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9306.135654449463] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9306.200504302979] ERROR:paramiko.transport: sig = self.key.sign( [9306.264638900757] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9306.326866149902] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9306.391716003418] ERROR:paramiko.transport: [9306.695938110352] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef7a9e10 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): 0xef7aabd0 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 --------------------------- Captured stderr teardown --------------------------- [9328.514575958252] DEBUG:paramiko.transport:EOF in transport thread [9330.888986587524] 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 ----------------------------- [9484.900951385498] DEBUG:paramiko.transport:starting thread (client mode): 0xef812d50 [9519.94514465332] DEBUG:paramiko.transport:starting thread (server mode): 0xef662e10 [9520.132541656494] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9520.588636398315] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9521.004915237427] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9521.16584777832] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9521.378517150879] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9521.612405776978] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9523.41604232788] DEBUG:paramiko.transport:=== Key exchange possibilities === [9523.693799972534] 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 [9523.792743682861] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9523.88048171997] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9523.965120315552] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9524.052143096924] 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 [9524.145603179932] 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 [9524.23119544983] DEBUG:paramiko.transport:client compress: none [9524.314880371094] DEBUG:paramiko.transport:server compress: none [9524.399757385254] DEBUG:paramiko.transport:client lang: [9524.488925933838] DEBUG:paramiko.transport:server lang: [9524.577856063843] DEBUG:paramiko.transport:kex follows: False [9524.66344833374] DEBUG:paramiko.transport:=== Key exchange agreements === [9524.779558181763] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9524.898529052734] DEBUG:paramiko.transport:HostKey: ssh-rsa [9525.026321411133] DEBUG:paramiko.transport:Cipher: aes128-ctr [9525.235891342163] DEBUG:paramiko.transport:=== Key exchange possibilities === [9525.441884994507] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9525.694131851196] 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 [9525.943517684937] DEBUG:paramiko.transport:Compression: none [9526.169776916504] 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 [9526.388883590698] DEBUG:paramiko.transport:=== End of kex handshake === [9526.609182357788] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9527.286052703857] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9527.37832069397] 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 [9527.557373046875] 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 [9527.64630317688] DEBUG:paramiko.transport:client compress: none [9527.73404121399] DEBUG:paramiko.transport:server compress: none [9527.819633483887] DEBUG:paramiko.transport:client lang: [9527.9061794281] DEBUG:paramiko.transport:server lang: [9527.996063232422] DEBUG:paramiko.transport:kex follows: False [9528.080463409424] DEBUG:paramiko.transport:=== Key exchange agreements === [9528.19561958313] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9528.328895568848] DEBUG:paramiko.transport:HostKey: ssh-rsa [9528.441429138184] DEBUG:paramiko.transport:Cipher: aes128-ctr [9528.557777404785] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9528.666973114014] DEBUG:paramiko.transport:Compression: none [9528.753995895386] DEBUG:paramiko.transport:=== End of kex handshake === [9530.017137527466] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9530.993223190308] ERROR:paramiko.transport:Traceback (most recent call last): [9531.080961227417] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9531.145334243774] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9531.211853027344] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9531.277656555176] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9531.343221664429] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9531.41164779663] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9531.4781665802] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9531.548261642456] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9531.6162109375] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9531.681299209595] ERROR:paramiko.transport: sig = self.key.sign( [9531.747102737427] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9531.815528869629] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9531.884908676147] ERROR:paramiko.transport: [9532.095193862915] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef812d50 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xef662e10 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 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 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 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 Compression: none 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 === End of kex handshake === 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_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 ----------------------------- [9685.270547866821] DEBUG:paramiko.transport:starting thread (client mode): 0xef690e50 [9718.632221221924] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9720.278978347778] DEBUG:paramiko.transport:starting thread (server mode): 0xef693910 [9720.797538757324] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9720.911026000977] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9721.236228942871] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9721.451044082642] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9721.704006195068] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9723.42848777771] DEBUG:paramiko.transport:=== Key exchange possibilities === [9723.721027374268] 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 [9723.816633224487] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9723.905801773071] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9724.119663238525] DEBUG:paramiko.transport:=== Key exchange possibilities === [9724.302291870117] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9724.563360214233] 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 [9724.796772003174] 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 [9725.083112716675] 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 [9725.325107574463] 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 [9725.570917129517] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9725.807428359985] DEBUG:paramiko.transport:client compress: none [9726.041793823242] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9726.27592086792] DEBUG:paramiko.transport:server compress: none [9726.514339447021] 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 [9726.747035980225] DEBUG:paramiko.transport:client lang: [9726.982355117798] 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 [9727.21529006958] DEBUG:paramiko.transport:server lang: [9727.455854415894] DEBUG:paramiko.transport:client compress: none [9727.688074111938] DEBUG:paramiko.transport:kex follows: False [9727.91862487793] DEBUG:paramiko.transport:server compress: none [9728.14655303955] DEBUG:paramiko.transport:=== Key exchange agreements === [9728.376865386963] DEBUG:paramiko.transport:client lang: [9728.643417358398] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9728.893756866455] DEBUG:paramiko.transport:server lang: [9729.177951812744] DEBUG:paramiko.transport:HostKey: ssh-rsa [9729.419469833374] DEBUG:paramiko.transport:kex follows: False [9729.67529296875] DEBUG:paramiko.transport:Cipher: aes128-ctr [9729.906797409058] DEBUG:paramiko.transport:=== Key exchange agreements === [9730.167150497437] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9730.431079864502] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9730.680704116821] DEBUG:paramiko.transport:Compression: none [9730.961322784424] DEBUG:paramiko.transport:HostKey: ssh-rsa [9731.191873550415] DEBUG:paramiko.transport:=== End of kex handshake === [9731.459140777588] DEBUG:paramiko.transport:Cipher: aes128-ctr [9732.136487960815] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9732.247114181519] DEBUG:paramiko.transport:Compression: none [9732.335329055786] DEBUG:paramiko.transport:=== End of kex handshake === [9733.839511871338] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9734.685182571411] ERROR:paramiko.transport:Traceback (most recent call last): [9734.774589538574] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9734.838724136353] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9734.903335571289] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9734.967947006226] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9735.036373138428] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9735.103130340576] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9735.166549682617] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9735.231637954712] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9735.29577255249] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9735.362529754639] ERROR:paramiko.transport: sig = self.key.sign( [9735.427379608154] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9735.496520996094] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9735.562801361084] ERROR:paramiko.transport: [9735.775709152222] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef690e50 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): 0xef693910 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 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 === Key exchange possibilities === 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 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 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 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 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 encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client compress: none 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 compress: none 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 lang: 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 lang: DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === 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_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 ----------------------------- [10029.16669845581] DEBUG:paramiko.transport:starting thread (client mode): 0xef7b9bd0 [10064.643383026123] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10064.92567062378] DEBUG:paramiko.transport:starting thread (server mode): 0xef7b9b10 [10065.42992591858] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.8 [10065.528869628906] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.8 [10065.794706344604] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10065.982818603516] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.8) [10066.208600997925] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10067.760705947876] DEBUG:paramiko.transport:=== Key exchange possibilities === [10067.993879318237] 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 [10068.082094192505] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10068.161725997925] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10068.238735198975] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10068.315267562866] 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 [10068.398237228394] 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 [10068.479537963867] DEBUG:paramiko.transport:client compress: none [10068.55821609497] DEBUG:paramiko.transport:server compress: none [10068.635702133179] DEBUG:paramiko.transport:client lang: [10068.711757659912] DEBUG:paramiko.transport:server lang: [10068.79448890686] DEBUG:paramiko.transport:kex follows: False [10068.869352340698] DEBUG:paramiko.transport:=== Key exchange agreements === [10069.065809249878] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10069.249153137207] DEBUG:paramiko.transport:=== Key exchange possibilities === [10069.433212280273] DEBUG:paramiko.transport:HostKey: ssh-rsa [10069.666385650635] 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 [10069.891929626465] DEBUG:paramiko.transport:Cipher: aes128-ctr [10070.113182067871] 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 [10070.330142974854] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10070.550441741943] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10070.76358795166] DEBUG:paramiko.transport:Compression: none [10070.974349975586] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10071.171283721924] DEBUG:paramiko.transport:=== End of kex handshake === [10071.377038955688] 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 [10072.113990783691] 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 [10072.20435142517] DEBUG:paramiko.transport:client compress: none [10072.286128997803] DEBUG:paramiko.transport:server compress: none [10072.367668151855] DEBUG:paramiko.transport:client lang: [10072.447776794434] DEBUG:paramiko.transport:server lang: [10072.530508041382] DEBUG:paramiko.transport:kex follows: False [10072.61037826538] DEBUG:paramiko.transport:=== Key exchange agreements === [10072.72458076477] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10072.86262512207] DEBUG:paramiko.transport:HostKey: ssh-rsa [10072.987794876099] DEBUG:paramiko.transport:Cipher: aes128-ctr [10073.161125183105] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10073.261976242065] DEBUG:paramiko.transport:Compression: none [10073.341846466064] DEBUG:paramiko.transport:=== End of kex handshake === [10074.461221694946] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10075.228691101074] ERROR:paramiko.transport:Traceback (most recent call last): [10075.316667556763] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10075.382709503174] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10075.448989868164] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10075.5136013031] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10075.5774974823] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10075.641632080078] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10075.705289840698] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10075.769662857056] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10075.834274291992] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10075.900793075562] ERROR:paramiko.transport: sig = self.key.sign( [10075.96492767334] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10076.030015945435] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10076.09224319458] ERROR:paramiko.transport: [10076.284646987915] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef7b9bd0 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): 0xef7b9b10 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 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 OpenSSH_7.8) 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 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 HostKey: 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 Cipher: aes128-ctr 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 MAC: hmac-sha2-256 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 Compression: none 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 === End of kex handshake === 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_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 ----------------------------- [10244.964361190796] DEBUG:paramiko.transport:starting thread (client mode): 0xef52c950 [10278.11598777771] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10279.81972694397] DEBUG:paramiko.transport:starting thread (server mode): 0xef52c410 [10280.073881149292] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.7 [10280.13801574707] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.7 [10280.312776565552] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.7) [10280.361652374268] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10280.641555786133] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10281.357526779175] DEBUG:paramiko.transport:=== Key exchange possibilities === [10281.458616256714] DEBUG:paramiko.transport:=== Key exchange possibilities === [10281.550407409668] 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 [10281.654834747314] 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 [10281.747817993164] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10281.840085983276] 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 [10281.927585601807] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10282.021284103394] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10282.106637954712] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10282.192707061768] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10282.278776168823] 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 [10282.365083694458] 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 [10282.451391220093] 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 [10282.539129257202] 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 [10282.622575759888] DEBUG:paramiko.transport:client compress: none [10282.706499099731] DEBUG:paramiko.transport:client compress: none [10282.791137695312] DEBUG:paramiko.transport:server compress: none [10282.875776290894] DEBUG:paramiko.transport:server compress: none [10282.959699630737] DEBUG:paramiko.transport:client lang: [10283.044815063477] DEBUG:paramiko.transport:client lang: [10283.127307891846] DEBUG:paramiko.transport:server lang: [10283.210754394531] DEBUG:paramiko.transport:server lang: [10283.297061920166] DEBUG:paramiko.transport:kex follows: False [10283.382654190063] DEBUG:paramiko.transport:kex follows: False [10283.470153808594] DEBUG:paramiko.transport:=== Key exchange agreements === [10283.550500869751] DEBUG:paramiko.transport:=== Key exchange agreements === [10283.65421295166] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10283.754825592041] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10283.85853767395] DEBUG:paramiko.transport:HostKey: ssh-rsa [10283.966302871704] DEBUG:paramiko.transport:HostKey: ssh-rsa [10284.06810760498] DEBUG:paramiko.transport:Cipher: aes128-ctr [10284.168243408203] DEBUG:paramiko.transport:Cipher: aes128-ctr [10284.270286560059] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10284.372568130493] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10284.470558166504] DEBUG:paramiko.transport:Compression: none [10284.565925598145] DEBUG:paramiko.transport:Compression: none [10284.649133682251] DEBUG:paramiko.transport:=== End of kex handshake === [10284.732103347778] DEBUG:paramiko.transport:=== End of kex handshake === [10286.120891571045] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10286.800146102905] ERROR:paramiko.transport:Traceback (most recent call last): [10286.885738372803] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10286.949157714844] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10287.013530731201] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10287.073612213135] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10287.134885787964] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10287.195205688477] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10287.256240844727] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10287.319898605347] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10287.380456924438] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10287.441730499268] ERROR:paramiko.transport: sig = self.key.sign( [10287.502527236938] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10287.562608718872] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10287.622690200806] ERROR:paramiko.transport: [10287.760257720947] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef52c950 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): 0xef52c410 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 ----------------------------- [10596.97937965393] DEBUG:paramiko.transport:starting thread (client mode): 0xef7f68d0 [10597.30052947998] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10631.332874298096] DEBUG:paramiko.transport:starting thread (server mode): 0xef7eaf90 [10631.521940231323] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10631.57343864441] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10631.725311279297] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10631.769895553589] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10632.111549377441] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10632.498979568481] DEBUG:paramiko.transport:=== Key exchange possibilities === [10632.616758346558] 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 [10632.699728012085] DEBUG:paramiko.transport:=== Key exchange possibilities === [10632.77792930603] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10632.880210876465] 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 [10632.97963142395] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10633.078336715698] 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 [10633.164167404175] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10633.254051208496] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10633.338451385498] 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 [10633.425235748291] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10633.510828018188] 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 [10633.593797683716] 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 [10633.676290512085] DEBUG:paramiko.transport:client compress: none [10633.758783340454] 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 [10633.840322494507] DEBUG:paramiko.transport:server compress: none [10633.923292160034] DEBUG:paramiko.transport:client compress: none [10634.004831314087] DEBUG:paramiko.transport:client lang: [10634.087800979614] DEBUG:paramiko.transport:server compress: none [10634.168863296509] DEBUG:paramiko.transport:server lang: [10634.249687194824] DEBUG:paramiko.transport:client lang: [10634.333372116089] DEBUG:paramiko.transport:kex follows: False [10634.4153881073] DEBUG:paramiko.transport:server lang: [10634.496450424194] DEBUG:paramiko.transport:=== Key exchange agreements === [10634.583473205566] DEBUG:paramiko.transport:kex follows: False [10634.682655334473] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10634.764909744263] DEBUG:paramiko.transport:=== Key exchange agreements === [10634.865999221802] DEBUG:paramiko.transport:HostKey: ssh-rsa [10634.963274002075] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10635.063171386719] DEBUG:paramiko.transport:Cipher: aes128-ctr [10635.167837142944] DEBUG:paramiko.transport:HostKey: ssh-rsa [10635.266065597534] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10635.365962982178] DEBUG:paramiko.transport:Cipher: aes128-ctr [10635.460615158081] DEBUG:paramiko.transport:Compression: none [10635.5619430542] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10635.643720626831] DEBUG:paramiko.transport:=== End of kex handshake === [10635.737180709839] DEBUG:paramiko.transport:Compression: none [10636.090278625488] DEBUG:paramiko.transport:=== End of kex handshake === [10636.905193328857] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10637.65573501587] ERROR:paramiko.transport:Traceback (most recent call last): [10637.739896774292] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10637.802124023438] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10637.862205505371] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10637.923240661621] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10637.985467910767] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10638.047456741333] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10638.108253479004] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10638.168096542358] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10638.227939605713] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10638.28706741333] ERROR:paramiko.transport: sig = self.key.sign( [10638.346910476685] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10638.40651512146] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10638.466358184814] ERROR:paramiko.transport: [10638.58413696289] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef7f68d0 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): 0xef7eaf90 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_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 ----------------------------- [10832.886934280396] DEBUG:paramiko.transport:starting thread (client mode): 0xef671fd0 [10867.426872253418] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10867.520093917847] DEBUG:paramiko.transport:starting thread (server mode): 0xef53ea10 [10867.815256118774] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10867.873668670654] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10868.02887916565] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10868.073225021362] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10868.37387084961] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10868.935108184814] DEBUG:paramiko.transport:=== Key exchange possibilities === [10869.077444076538] 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 [10869.160890579224] DEBUG:paramiko.transport:=== Key exchange possibilities === [10869.241714477539] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10869.34494972229] 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 [10869.432926177979] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10869.524955749512] 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 [10869.609832763672] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10869.700193405151] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10869.783878326416] 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 [10869.869470596313] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10869.953393936157] 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 [10870.036363601685] 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 [10870.12243270874] DEBUG:paramiko.transport:client compress: none [10870.206356048584] 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 [10870.288610458374] DEBUG:paramiko.transport:server compress: none [10870.37181854248] DEBUG:paramiko.transport:client compress: none [10870.453596115112] DEBUG:paramiko.transport:client lang: [10870.537281036377] DEBUG:paramiko.transport:server compress: none [10870.619773864746] DEBUG:paramiko.transport:server lang: [10870.702028274536] DEBUG:paramiko.transport:client lang: [10870.78881263733] DEBUG:paramiko.transport:kex follows: False [10870.870590209961] DEBUG:paramiko.transport:server lang: [10870.950698852539] DEBUG:paramiko.transport:=== Key exchange agreements === [10871.039390563965] DEBUG:paramiko.transport:kex follows: False [10871.137619018555] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10871.220827102661] DEBUG:paramiko.transport:=== Key exchange agreements === [10871.322631835938] DEBUG:paramiko.transport:HostKey: ssh-rsa [10871.419906616211] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10871.520519256592] DEBUG:paramiko.transport:Cipher: aes128-ctr [10871.62971496582] DEBUG:paramiko.transport:HostKey: ssh-rsa [10871.732234954834] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10871.833801269531] DEBUG:paramiko.transport:Cipher: aes128-ctr [10871.931791305542] DEBUG:paramiko.transport:Compression: none [10872.03311920166] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10872.117757797241] DEBUG:paramiko.transport:=== End of kex handshake === [10872.21360206604] DEBUG:paramiko.transport:Compression: none [10872.626304626465] DEBUG:paramiko.transport:=== End of kex handshake === [10873.591184616089] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10874.230861663818] ERROR:paramiko.transport:Traceback (most recent call last): [10874.314546585083] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10874.376773834229] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10874.441385269165] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10874.502182006836] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10874.563217163086] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10874.624013900757] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10874.685525894165] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10874.745607376099] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10874.805927276611] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10874.866485595703] ERROR:paramiko.transport: sig = self.key.sign( [10874.927282333374] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10874.987125396729] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10875.047445297241] ERROR:paramiko.transport: [10875.184297561646] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef671fd0 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): 0xef53ea10 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_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 ----------------------------- [11022.21393585205] DEBUG:paramiko.transport:starting thread (client mode): 0xef575450 [11055.23419380188] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11056.747674942017] DEBUG:paramiko.transport:starting thread (server mode): 0xef5763d0 [11056.990623474121] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11057.047367095947] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11057.129621505737] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11057.46078491211] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11057.62791633606] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11058.063268661499] DEBUG:paramiko.transport:=== Key exchange possibilities === [11058.17437171936] DEBUG:paramiko.transport:=== Key exchange possibilities === [11058.259010314941] 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 [11058.361768722534] 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 [11058.45022201538] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11058.538913726807] 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 [11058.626651763916] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11058.717250823975] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11058.799982070923] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11058.886528015137] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11058.97068977356] 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 [11059.054851531982] 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 [11059.13782119751] 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 [11059.220314025879] 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 [11059.301376342773] DEBUG:paramiko.transport:client compress: none [11059.38458442688] DEBUG:paramiko.transport:client compress: none [11059.465408325195] DEBUG:paramiko.transport:server compress: none [11059.54647064209] DEBUG:paramiko.transport:server compress: none [11059.628009796143] DEBUG:paramiko.transport:client lang: [11059.710025787354] DEBUG:paramiko.transport:client lang: [11059.791803359985] DEBUG:paramiko.transport:server lang: [11059.873819351196] DEBUG:paramiko.transport:server lang: [11059.958457946777] DEBUG:paramiko.transport:kex follows: False [11060.041189193726] DEBUG:paramiko.transport:kex follows: False [11060.126781463623] DEBUG:paramiko.transport:=== Key exchange agreements === [11060.207843780518] DEBUG:paramiko.transport:=== Key exchange agreements === [11060.306787490845] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11060.406923294067] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11060.508251190186] DEBUG:paramiko.transport:HostKey: ssh-rsa [11060.614585876465] DEBUG:paramiko.transport:HostKey: ssh-rsa [11060.712575912476] DEBUG:paramiko.transport:Cipher: aes128-ctr [11060.813426971436] DEBUG:paramiko.transport:Cipher: aes128-ctr [11060.91332435608] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11061.04063987732] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11061.139345169067] DEBUG:paramiko.transport:Compression: none [11061.236381530762] DEBUG:paramiko.transport:Compression: none [11061.320781707764] DEBUG:paramiko.transport:=== End of kex handshake === [11061.403036117554] DEBUG:paramiko.transport:=== End of kex handshake === [11062.647104263306] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11063.256978988647] ERROR:paramiko.transport:Traceback (most recent call last): [11063.34137916565] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11063.404083251953] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11063.46583366394] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11063.525676727295] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11063.585042953491] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11063.645362854004] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11063.705682754517] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11063.766717910767] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11063.827753067017] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11063.88783454895] ERROR:paramiko.transport: sig = self.key.sign( [11063.948392868042] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11064.009666442871] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11064.070224761963] ERROR:paramiko.transport: [11064.203023910522] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef575450 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): 0xef5763d0 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 _ 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 ----------------------------- [11259.839296340942] DEBUG:paramiko.transport:starting thread (client mode): 0xef52e250 [11292.905569076538] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11294.450998306274] DEBUG:paramiko.transport:starting thread (server mode): 0xef86a5d0 [11294.716835021973] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11294.77596282959] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11294.935703277588] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11294.980525970459] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11295.1979637146] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11295.966625213623] DEBUG:paramiko.transport:=== Key exchange possibilities === [11296.061992645264] DEBUG:paramiko.transport:=== Key exchange possibilities === [11296.152114868164] 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 [11296.257257461548] 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 [11296.346664428711] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11296.434879302979] 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 [11296.518325805664] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11296.607255935669] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11296.693325042725] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11296.77700996399] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11296.86188697815] 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 [11296.957969665527] 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 [11297.05262184143] 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 [11297.138452529907] 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 [11297.221899032593] DEBUG:paramiko.transport:client compress: none [11297.305822372437] DEBUG:paramiko.transport:client compress: none [11297.390699386597] DEBUG:paramiko.transport:server compress: none [11297.474384307861] DEBUG:paramiko.transport:server compress: none [11297.559261322021] DEBUG:paramiko.transport:client lang: [11297.64199256897] DEBUG:paramiko.transport:client lang: [11297.725439071655] DEBUG:paramiko.transport:server lang: [11297.809362411499] DEBUG:paramiko.transport:server lang: [11297.894716262817] DEBUG:paramiko.transport:kex follows: False [11297.978401184082] DEBUG:paramiko.transport:kex follows: False [11298.066854476929] DEBUG:paramiko.transport:=== Key exchange agreements === [11298.14600944519] DEBUG:paramiko.transport:=== Key exchange agreements === [11298.24423789978] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11298.341751098633] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11298.4459400177] DEBUG:paramiko.transport:HostKey: ssh-rsa [11298.552751541138] DEBUG:paramiko.transport:HostKey: ssh-rsa [11298.652648925781] DEBUG:paramiko.transport:Cipher: aes128-ctr [11298.754930496216] DEBUG:paramiko.transport:Cipher: aes128-ctr [11298.856019973755] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11298.955917358398] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11299.05080795288] DEBUG:paramiko.transport:Compression: none [11299.14665222168] DEBUG:paramiko.transport:Compression: none [11299.230575561523] DEBUG:paramiko.transport:=== End of kex handshake === [11299.313068389893] DEBUG:paramiko.transport:=== End of kex handshake === [11300.517797470093] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11301.223039627075] ERROR:paramiko.transport:Traceback (most recent call last): [11301.318407058716] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11301.38087272644] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11301.441669464111] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11301.50318145752] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11301.563739776611] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11301.62525177002] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11301.68604850769] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11301.74708366394] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11301.809549331665] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11301.87177658081] ERROR:paramiko.transport: sig = self.key.sign( [11301.933526992798] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11301.992893218994] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11302.054166793823] ERROR:paramiko.transport: [11302.191972732544] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef52e250 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): 0xef86a5d0 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 _____ 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 ----------------------------- [11450.218677520752] DEBUG:paramiko.transport:starting thread (client mode): 0xef6df310 [11483.27374458313] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11484.813690185547] DEBUG:paramiko.transport:starting thread (server mode): 0xef6df610 [11485.040187835693] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11485.096454620361] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11485.252618789673] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11485.297918319702] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11485.551118850708] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11486.145973205566] DEBUG:paramiko.transport:=== Key exchange possibilities === [11486.2380027771] DEBUG:paramiko.transport:=== Key exchange possibilities === [11486.326932907104] 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 [11486.429452896118] 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 [11486.518144607544] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11486.605644226074] 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 [11486.689329147339] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11486.778020858765] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11486.863613128662] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11486.948728561401] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11487.032890319824] 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 [11487.115383148193] 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 [11487.200021743774] 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 [11487.284898757935] 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 [11487.369060516357] DEBUG:paramiko.transport:client compress: none [11487.455129623413] DEBUG:paramiko.transport:client compress: none [11487.539529800415] DEBUG:paramiko.transport:server compress: none [11487.62321472168] DEBUG:paramiko.transport:server compress: none [11487.707138061523] DEBUG:paramiko.transport:client lang: [11487.790822982788] DEBUG:paramiko.transport:client lang: [11487.87236213684] DEBUG:paramiko.transport:server lang: [11487.955570220947] DEBUG:paramiko.transport:server lang: [11488.040447235107] DEBUG:paramiko.transport:kex follows: False [11488.126277923584] DEBUG:paramiko.transport:kex follows: False [11488.211393356323] DEBUG:paramiko.transport:=== Key exchange agreements === [11488.290309906006] DEBUG:paramiko.transport:=== Key exchange agreements === [11488.388061523438] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11488.48557472229] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11488.585948944092] DEBUG:paramiko.transport:HostKey: ssh-rsa [11488.694906234741] DEBUG:paramiko.transport:HostKey: ssh-rsa [11488.796949386597] DEBUG:paramiko.transport:Cipher: aes128-ctr [11488.900184631348] DEBUG:paramiko.transport:Cipher: aes128-ctr [11489.009857177734] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11489.12239074707] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11489.219903945923] DEBUG:paramiko.transport:Compression: none [11489.315032958984] DEBUG:paramiko.transport:Compression: none [11489.397048950195] DEBUG:paramiko.transport:=== End of kex handshake === [11489.481449127197] DEBUG:paramiko.transport:=== End of kex handshake === [11490.742921829224] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11491.349220275879] ERROR:paramiko.transport:Traceback (most recent call last): [11491.432905197144] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11491.495609283447] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11491.557598114014] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11491.618156433105] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11491.678476333618] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11491.73879623413] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11491.799116134644] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11491.859912872314] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11491.919994354248] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11491.98031425476] ERROR:paramiko.transport: sig = self.key.sign( [11492.040634155273] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11492.100715637207] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11492.161989212036] ERROR:paramiko.transport: [11492.29383468628] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef6df310 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): 0xef6df610 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 ----------------------------- [79614.34626579285] DEBUG:paramiko.transport:starting thread (server mode): 0xef1a6050 [79614.47930335999] DEBUG:paramiko.transport:starting thread (client mode): 0xef8079d0 [79614.57872390747] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [79614.69435691833] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [79614.79353904724] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [79614.8910522461] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [79614.97902870178] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [79615.06485939026] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [79615.6759262085] DEBUG:paramiko.transport:=== Key exchange possibilities === [79615.77653884888] DEBUG:paramiko.transport:=== Key exchange possibilities === [79615.86213111877] 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 [79615.9656047821] 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 [79616.05262756348] DEBUG:paramiko.transport:server key: ssh-rsa [79616.13893508911] 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 [79616.22452735901] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79616.31059646606] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79616.3957118988] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79616.47963523865] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [79616.56308174133] 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 [79616.64772033691] 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 [79616.7323589325] 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 [79616.81604385376] 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 [79616.89925193787] DEBUG:paramiko.transport:client compress: none [79616.99151992798] DEBUG:paramiko.transport:client compress: none [79617.08402633667] DEBUG:paramiko.transport:server compress: none [79617.1681880951] DEBUG:paramiko.transport:server compress: none [79617.25234985352] DEBUG:paramiko.transport:client lang: [79617.3346042633] DEBUG:paramiko.transport:client lang: [79617.41590499878] DEBUG:paramiko.transport:server lang: [79617.49696731567] DEBUG:paramiko.transport:server lang: [79617.58065223694] DEBUG:paramiko.transport:kex follows: False [79617.66362190247] DEBUG:paramiko.transport:kex follows: False [79617.74396896362] DEBUG:paramiko.transport:=== Key exchange agreements === [79617.8240776062] DEBUG:paramiko.transport:=== Key exchange agreements === [79617.92039871216] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [79618.02196502686] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [79618.12090873718] DEBUG:paramiko.transport:HostKey: ssh-rsa [79618.22438240051] DEBUG:paramiko.transport:HostKey: ssh-rsa [79618.32451820374] DEBUG:paramiko.transport:Cipher: aes128-ctr [79618.42441558838] DEBUG:paramiko.transport:Cipher: aes128-ctr [79618.52383613586] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [79618.62254142761] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [79618.71790885925] DEBUG:paramiko.transport:Compression: none [79618.81256103516] DEBUG:paramiko.transport:Compression: none [79618.89553070068] DEBUG:paramiko.transport:=== End of kex handshake === [79618.98922920227] DEBUG:paramiko.transport:=== End of kex handshake === [79620.78070640564] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [79624.06134605408] ERROR:paramiko.transport:Traceback (most recent call last): [79624.1683959961] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [79624.24302101135] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [79624.32432174683] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [79624.39298629761] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [79624.46308135986] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [79624.53365325928] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [79624.60398674011] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [79624.67336654663] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [79624.7398853302] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [79624.80640411377] ERROR:paramiko.transport: sig = self.key.sign( [79624.87649917603] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [79624.95684623718] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [79625.43249130249] ERROR:paramiko.transport: [79719.40064430237] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xef1a6050 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef8079d0 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 ----------------------------- [80798.17795753479] DEBUG:paramiko.transport:EOF in transport thread [80798.24495315552] DEBUG:paramiko.transport:EOF in transport thread [80833.44650268555] DEBUG:paramiko.transport:starting thread (server mode): 0xef3db490 [80833.7755203247] DEBUG:paramiko.transport:starting thread (client mode): 0xef203290 [80833.87565612793] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80833.99605751038] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80834.09857749939] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80834.19752120972] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80834.28597450256] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80834.37538146973] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80834.9871635437] DEBUG:paramiko.transport:=== Key exchange possibilities === [80835.08515357971] DEBUG:paramiko.transport:=== Key exchange possibilities === [80835.16931533813] 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 [80835.26968955994] 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 [80835.35647392273] DEBUG:paramiko.transport:server key: ssh-rsa [80835.44206619263] 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 [80835.52622795105] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80835.61182022095] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80835.69669723511] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80835.78038215637] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80835.86406707764] 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 [80835.946559906] 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 [80836.03024482727] 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 [80836.11536026001] 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 [80836.20023727417] DEBUG:paramiko.transport:client compress: none [80836.28344535828] DEBUG:paramiko.transport:client compress: none [80836.36713027954] DEBUG:paramiko.transport:server compress: none [80836.44986152649] DEBUG:paramiko.transport:server compress: none [80836.53235435486] DEBUG:paramiko.transport:client lang: [80836.61580085754] DEBUG:paramiko.transport:client lang: [80836.69710159302] DEBUG:paramiko.transport:server lang: [80836.77935600281] DEBUG:paramiko.transport:server lang: [80836.86375617981] DEBUG:paramiko.transport:kex follows: False [80836.95840835571] DEBUG:paramiko.transport:kex follows: False [80837.04829216003] DEBUG:paramiko.transport:=== Key exchange agreements === [80837.13603019714] DEBUG:paramiko.transport:=== Key exchange agreements === [80837.23473548889] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80837.3372554779] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80837.43858337402] DEBUG:paramiko.transport:HostKey: ssh-rsa [80837.54515647888] DEBUG:paramiko.transport:HostKey: ssh-rsa [80837.64743804932] DEBUG:paramiko.transport:Cipher: aes128-ctr [80837.75019645691] DEBUG:paramiko.transport:Cipher: aes128-ctr [80837.85057067871] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80837.95285224915] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80838.0491733551] DEBUG:paramiko.transport:Compression: none [80838.14597129822] DEBUG:paramiko.transport:Compression: none [80838.22894096375] DEBUG:paramiko.transport:=== End of kex handshake === [80838.3104801178] DEBUG:paramiko.transport:=== End of kex handshake === [80839.31684494019] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [80839.90478515625] ERROR:paramiko.transport:Traceback (most recent call last): [80839.98799324036] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [80840.05045890808] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [80840.11173248291] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [80840.17324447632] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [80840.23380279541] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80840.29483795166] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [80840.3570652008] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [80840.41857719421] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80840.47961235046] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [80840.54064750671] ERROR:paramiko.transport: sig = self.key.sign( [80840.60096740723] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [80840.6629562378] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [80840.72470664978] ERROR:paramiko.transport: [80863.94095420837] DEBUG:paramiko.transport:EOF in transport thread [80864.13240432739] DEBUG:paramiko.transport:EOF in transport thread [80938.68637084961] 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): 0xef3db490 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef203290 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.38s (0:01:20) ====== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.FleLVB (%check) Bad exit status from /var/tmp/rpm-tmp.FleLVB (%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