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-150357-9875/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-paramiko-3.1.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-150357-9875/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-paramiko.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qs6nI6 + 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.cu9wpZ + 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.Qux8lH + 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/tmpxqr09b_m.py' /usr/bin/python3 /tmp/tmpxqr09b_m.py removing /tmp/tmpxqr09b_m.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.jG2VBO + 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 ----------------------------- [3776.312828063965] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a49f90 [3810.507297515869] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3812.7799034118652] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a29bd0 [3813.400983810425] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3813.678979873657] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3813.922882080078] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3814.218044281006] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3814.555883407593] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3816.852807998657] DEBUG:paramiko.transport:=== Key exchange possibilities === [3817.1257972717285] DEBUG:paramiko.transport:=== Key exchange possibilities === [3817.3863887786865] 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 [3817.72518157959] 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 [3818.0553913116455] 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 [3818.375587463379] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [3818.6984062194824] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3819.0135955810547] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3819.334030151367] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3819.655418395996] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3820.681095123291] 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 [3821.0110664367676] 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 [3821.338176727295] 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 [3821.6545581817627] 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 [3821.9759464263916] DEBUG:paramiko.transport:client compress: none [3822.295904159546] DEBUG:paramiko.transport:client compress: none [3822.6096630096436] DEBUG:paramiko.transport:server compress: none [3822.9281902313232] DEBUG:paramiko.transport:server compress: none [3823.265790939331] DEBUG:paramiko.transport:client lang: [3823.589563369751] DEBUG:paramiko.transport:client lang: [3823.9142894744873] DEBUG:paramiko.transport:server lang: [3824.232339859009] DEBUG:paramiko.transport:server lang: [3824.5797157287598] DEBUG:paramiko.transport:kex follows: False [3824.9058723449707] DEBUG:paramiko.transport:kex follows: False [3825.239658355713] DEBUG:paramiko.transport:=== Key exchange agreements === [3825.554847717285] DEBUG:paramiko.transport:=== Key exchange agreements === [3825.9215354919434] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3826.298952102661] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3826.673984527588] DEBUG:paramiko.transport:HostKey: ssh-rsa [3827.0559310913086] DEBUG:paramiko.transport:HostKey: ssh-rsa [3827.411413192749] DEBUG:paramiko.transport:Cipher: aes128-ctr [3827.784299850464] DEBUG:paramiko.transport:Cipher: aes128-ctr [3828.1402587890625] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3828.529119491577] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3828.8843631744385] DEBUG:paramiko.transport:Compression: none [3829.232692718506] DEBUG:paramiko.transport:Compression: none [3829.5493125915527] DEBUG:paramiko.transport:=== End of kex handshake === [3829.8678398132324] DEBUG:paramiko.transport:=== End of kex handshake === [3832.4785232543945] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [3834.2795372009277] ERROR:paramiko.transport:Traceback (most recent call last): [3834.3729972839355] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [3834.441900253296] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [3834.510087966919] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [3834.5749378204346] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [3834.641456604004] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3834.707498550415] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [3834.770441055298] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [3834.8324298858643] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3834.8965644836426] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [3834.960460662842] ERROR:paramiko.transport: sig = self.key.sign( [3835.0255489349365] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [3835.0889682769775] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [3835.1523876190186] ERROR:paramiko.transport: [3835.421085357666] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a49f90 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): 0xf0a29bd0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____________________ SSHClientTest.test_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 ----------------------------- [4020.2038288116455] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a74d90 [4054.5430183410645] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4056.946277618408] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a76b10 [4057.5263500213623] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4057.6977729797363] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4057.8038692474365] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4058.2690238952637] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4058.6776733398438] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4060.4169368743896] DEBUG:paramiko.transport:=== Key exchange possibilities === [4060.7287883758545] DEBUG:paramiko.transport:=== Key exchange possibilities === [4061.002731323242] 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 [4061.342716217041] 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 [4061.6676807403564] 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 [4061.9521141052246] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [4062.242269515991] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4062.5147819519043] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4062.7927780151367] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4063.070058822632] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4063.347816467285] 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 [4063.617467880249] 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 [4063.8914108276367] 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 [4064.16654586792] 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 [4064.455986022949] DEBUG:paramiko.transport:client compress: none [4064.737319946289] DEBUG:paramiko.transport:client compress: none [4065.0196075439453] DEBUG:paramiko.transport:server compress: none [4065.2990341186523] DEBUG:paramiko.transport:server compress: none [4065.5837059020996] DEBUG:paramiko.transport:client lang: [4065.8562183380127] DEBUG:paramiko.transport:client lang: [4066.1325454711914] DEBUG:paramiko.transport:server lang: [4066.4026737213135] DEBUG:paramiko.transport:server lang: [4066.6868686676025] DEBUG:paramiko.transport:kex follows: False [4066.9684410095215] DEBUG:paramiko.transport:kex follows: False [4067.2502517700195] DEBUG:paramiko.transport:=== Key exchange agreements === [4067.5225257873535] DEBUG:paramiko.transport:=== Key exchange agreements === [4067.878007888794] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4068.204879760742] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4068.5620307922363] DEBUG:paramiko.transport:HostKey: ssh-rsa [4068.8838958740234] DEBUG:paramiko.transport:HostKey: ssh-rsa [4069.201946258545] DEBUG:paramiko.transport:Cipher: aes128-ctr [4069.5157051086426] DEBUG:paramiko.transport:Cipher: aes128-ctr [4069.843292236328] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4070.155143737793] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4070.4689025878906] DEBUG:paramiko.transport:Compression: none [4070.7738399505615] DEBUG:paramiko.transport:Compression: none [4071.0487365722656] DEBUG:paramiko.transport:=== End of kex handshake === [4071.3183879852295] DEBUG:paramiko.transport:=== End of kex handshake === [4074.183702468872] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [4075.25897026062] ERROR:paramiko.transport:Traceback (most recent call last): [4075.3519535064697] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [4075.4194259643555] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [4075.486421585083] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [4075.551986694336] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [4075.6213665008545] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4075.690984725952] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [4075.756549835205] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [4075.8216381073] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4075.887441635132] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [4075.950860977173] ERROR:paramiko.transport: sig = self.key.sign( [4076.0135650634766] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [4076.0765075683594] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [4076.1396884918213] ERROR:paramiko.transport: [4076.425790786743] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a74d90 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): 0xf0a76b10 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_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 ----------------------------- [4901.038646697998] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a9c310 [4935.185670852661] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4937.261581420898] DEBUG:paramiko.transport:starting thread (server mode): 0xf09c3110 [4937.796354293823] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4937.90864944458] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4938.219785690308] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4938.432931900024] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4938.678503036499] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4941.098213195801] DEBUG:paramiko.transport:=== Key exchange possibilities === [4941.311359405518] DEBUG:paramiko.transport:=== Key exchange possibilities === [4941.507339477539] 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 [4941.7572021484375] 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 [4941.997528076172] 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 [4942.233324050903] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [4942.466735839844] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4942.697763442993] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4942.928314208984] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4943.161725997925] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4943.392276763916] 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 [4943.617105484009] 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 [4943.842649459839] 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 [4944.074392318726] 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 [4944.302082061768] DEBUG:paramiko.transport:client compress: none [4944.564580917358] DEBUG:paramiko.transport:client compress: none [4944.792985916138] DEBUG:paramiko.transport:server compress: none [4945.021867752075] DEBUG:paramiko.transport:server compress: none [4945.2526569366455] DEBUG:paramiko.transport:client lang: [4945.481538772583] DEBUG:paramiko.transport:client lang: [4945.710897445679] DEBUG:paramiko.transport:server lang: [4945.941925048828] DEBUG:paramiko.transport:server lang: [4946.173429489136] DEBUG:paramiko.transport:kex follows: False [4946.410894393921] DEBUG:paramiko.transport:kex follows: False [4946.645736694336] DEBUG:paramiko.transport:=== Key exchange agreements === [4946.8724727630615] DEBUG:paramiko.transport:=== Key exchange agreements === [4947.137117385864] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4947.401285171509] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4947.673320770264] DEBUG:paramiko.transport:HostKey: ssh-rsa [4947.941541671753] DEBUG:paramiko.transport:HostKey: ssh-rsa [4948.206663131714] DEBUG:paramiko.transport:Cipher: aes128-ctr [4948.488473892212] DEBUG:paramiko.transport:Cipher: aes128-ctr [4948.764324188232] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4949.031591415405] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4949.29575920105] DEBUG:paramiko.transport:Compression: none [4949.549913406372] DEBUG:paramiko.transport:Compression: none [4949.776411056519] DEBUG:paramiko.transport:=== End of kex handshake === [4950.003862380981] DEBUG:paramiko.transport:=== End of kex handshake === [4952.241659164429] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [4953.020334243774] ERROR:paramiko.transport:Traceback (most recent call last): [4953.108310699463] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [4953.171968460083] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [4953.237056732178] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [4953.299522399902] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [4953.364610671997] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4953.430891036987] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [4953.495740890503] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [4953.558683395386] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4953.620195388794] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [4953.6802768707275] ERROR:paramiko.transport: sig = self.key.sign( [4953.741550445557] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [4953.8023471832275] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [4953.86815071106] ERROR:paramiko.transport: [4954.076051712036] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a9c310 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): 0xf09c3110 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ____ SSHClientTest.test_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 ----------------------------- [5103.596210479736] DEBUG:paramiko.transport:starting thread (client mode): 0xf09f2890 [5138.6754512786865] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5139.049053192139] DEBUG:paramiko.transport:starting thread (server mode): 0xf09f1d50 [5139.831304550171] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5140.034437179565] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5140.486717224121] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5141.0417556762695] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5141.151189804077] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5142.433643341064] DEBUG:paramiko.transport:=== Key exchange possibilities === [5142.713785171509] 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 [5142.807960510254] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5142.892599105835] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5142.974376678467] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5143.057823181152] 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 [5143.144845962524] 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 [5143.228769302368] DEBUG:paramiko.transport:client compress: none [5143.309831619263] DEBUG:paramiko.transport:server compress: none [5143.39017868042] DEBUG:paramiko.transport:client lang: [5143.473148345947] DEBUG:paramiko.transport:server lang: [5143.5558795928955] DEBUG:paramiko.transport:kex follows: False [5143.63169670105] DEBUG:paramiko.transport:=== Key exchange agreements === [5143.746376037598] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5143.863916397095] DEBUG:paramiko.transport:HostKey: ssh-rsa [5144.064903259277] DEBUG:paramiko.transport:=== Key exchange possibilities === [5144.270658493042] DEBUG:paramiko.transport:Cipher: aes128-ctr [5144.560098648071] 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 [5144.816637039185] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5145.051956176758] 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 [5145.2977657318115] DEBUG:paramiko.transport:Compression: none [5145.529985427856] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5145.755767822266] DEBUG:paramiko.transport:=== End of kex handshake === [5145.979881286621] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5146.693468093872] 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 [5146.805763244629] 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 [5146.888494491577] DEBUG:paramiko.transport:client compress: none [5146.971225738525] DEBUG:paramiko.transport:server compress: none [5147.05491065979] DEBUG:paramiko.transport:client lang: [5147.137641906738] DEBUG:paramiko.transport:server lang: [5147.219181060791] DEBUG:paramiko.transport:kex follows: False [5147.29642868042] DEBUG:paramiko.transport:=== Key exchange agreements === [5147.413015365601] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5147.538900375366] DEBUG:paramiko.transport:HostKey: ssh-rsa [5147.648811340332] DEBUG:paramiko.transport:Cipher: aes128-ctr [5147.753000259399] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5147.850036621094] DEBUG:paramiko.transport:Compression: none [5147.928237915039] DEBUG:paramiko.transport:=== End of kex handshake === [5149.343013763428] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5150.277853012085] ERROR:paramiko.transport:Traceback (most recent call last): [5150.367259979248] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5150.429487228394] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5150.494575500488] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5150.556802749634] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5150.622367858887] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5150.687217712402] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5150.748729705811] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5150.811195373535] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5150.873422622681] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5150.93731880188] ERROR:paramiko.transport: sig = self.key.sign( [5151.004314422607] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5151.068210601807] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5151.13091468811] ERROR:paramiko.transport: [5151.366710662842] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09f2890 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): 0xf09f1d50 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 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread --------------------------- Captured stderr teardown --------------------------- [5361.503124237061] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a9fed0 ---------------------------- Captured log teardown ----------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0a9fed0 __________________________ 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 ----------------------------- [7141.82710647583] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a688d0 [7178.886890411377] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7179.329395294189] DEBUG:paramiko.transport:starting thread (server mode): 0xf0b51f90 [7180.450439453125] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7180.638074874878] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7180.905818939209] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7181.713819503784] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7182.055711746216] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7183.866024017334] DEBUG:paramiko.transport:=== Key exchange possibilities === [7184.234619140625] 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 [7184.347629547119] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7184.583425521851] DEBUG:paramiko.transport:=== Key exchange possibilities === [7184.7875118255615] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7185.084581375122] 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 [7185.357093811035] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7185.638189315796] 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 [7185.905694961548] 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 [7186.187028884888] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7186.459541320801] 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 [7186.72776222229] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7186.999320983887] DEBUG:paramiko.transport:client compress: none [7187.272548675537] 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 [7187.5410079956055] DEBUG:paramiko.transport:server compress: none [7187.814235687256] 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 [7188.085556030273] DEBUG:paramiko.transport:client lang: [7188.36784362793] DEBUG:paramiko.transport:client compress: none [7188.646554946899] DEBUG:paramiko.transport:server lang: [7188.9214515686035] DEBUG:paramiko.transport:server compress: none [7189.206838607788] DEBUG:paramiko.transport:kex follows: False [7189.476728439331] DEBUG:paramiko.transport:client lang: [7189.745664596558] DEBUG:paramiko.transport:=== Key exchange agreements === [7190.007925033569] DEBUG:paramiko.transport:server lang: [7190.3369426727295] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7190.622091293335] DEBUG:paramiko.transport:kex follows: False [7190.9379959106445] DEBUG:paramiko.transport:HostKey: ssh-rsa [7191.213846206665] DEBUG:paramiko.transport:=== Key exchange agreements === [7191.538333892822] DEBUG:paramiko.transport:Cipher: aes128-ctr [7191.871881484985] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7192.187309265137] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7192.534446716309] DEBUG:paramiko.transport:HostKey: ssh-rsa [7192.848682403564] DEBUG:paramiko.transport:Compression: none [7193.168640136719] DEBUG:paramiko.transport:Cipher: aes128-ctr [7193.446636199951] DEBUG:paramiko.transport:=== End of kex handshake === [7193.752765655518] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7194.870948791504] DEBUG:paramiko.transport:Compression: none [7194.968938827515] DEBUG:paramiko.transport:=== End of kex handshake === [7196.902513504028] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7198.00066947937] ERROR:paramiko.transport:Traceback (most recent call last): [7198.09365272522] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7198.15731048584] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7198.220729827881] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7198.285341262817] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7198.351144790649] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7198.421001434326] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7198.486089706421] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7198.555707931519] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7198.6243724823] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7198.691606521606] ERROR:paramiko.transport: sig = self.key.sign( [7198.755741119385] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7198.817491531372] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7198.883771896362] ERROR:paramiko.transport: [7199.142217636108] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a688d0 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): 0xf0b51f90 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === 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 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 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 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 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 server 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 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 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 client lang: DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________________ SSHClientTest.test_client_dsa _________________________ self = @requires_sha1_signing def test_client_dsa(self): """ verify that SSHClient works with a DSA key. """ > self._test_connection(key_filename=_support("test_dss.key")) tests/test_client.py:258: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [7451.1003494262695] DEBUG:paramiko.transport:starting thread (client mode): 0xf0ac9e10 [7486.15837097168] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7488.440752029419] DEBUG:paramiko.transport:starting thread (server mode): 0xf0aca390 [7489.131689071655] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7489.287853240967] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7489.507436752319] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7490.238189697266] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7490.44132232666] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7492.314100265503] DEBUG:paramiko.transport:=== Key exchange possibilities === [7492.619752883911] DEBUG:paramiko.transport:=== Key exchange possibilities === [7492.855548858643] 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 [7493.111133575439] 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 [7493.353843688965] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7493.594646453857] 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 [7493.8294887542725] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7494.062185287476] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7494.290590286255] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7494.520664215088] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7494.755983352661] 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 [7494.986057281494] 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 [7495.22066116333] 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 [7495.45693397522] 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 [7495.689868927002] DEBUG:paramiko.transport:client compress: none [7495.922565460205] DEBUG:paramiko.transport:client compress: none [7496.1583614349365] DEBUG:paramiko.transport:server compress: none [7496.418237686157] DEBUG:paramiko.transport:server compress: none [7496.666431427002] DEBUG:paramiko.transport:client lang: [7496.898174285889] DEBUG:paramiko.transport:client lang: [7497.134208679199] DEBUG:paramiko.transport:server lang: [7497.3649978637695] DEBUG:paramiko.transport:server lang: [7497.605800628662] DEBUG:paramiko.transport:kex follows: False [7497.842073440552] DEBUG:paramiko.transport:kex follows: False [7498.085975646973] DEBUG:paramiko.transport:=== Key exchange agreements === [7498.312473297119] DEBUG:paramiko.transport:=== Key exchange agreements === [7498.595237731934] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7498.867511749268] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7499.138832092285] DEBUG:paramiko.transport:HostKey: ssh-rsa [7499.419689178467] DEBUG:paramiko.transport:HostKey: ssh-rsa [7499.690055847168] DEBUG:paramiko.transport:Cipher: aes128-ctr [7499.961614608765] DEBUG:paramiko.transport:Cipher: aes128-ctr [7500.8556842803955] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7501.167058944702] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7501.442193984985] DEBUG:paramiko.transport:Compression: none [7501.701593399048] DEBUG:paramiko.transport:Compression: none [7501.933813095093] DEBUG:paramiko.transport:=== End of kex handshake === [7502.166509628296] DEBUG:paramiko.transport:=== End of kex handshake === [7504.449129104614] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7505.320072174072] ERROR:paramiko.transport:Traceback (most recent call last): [7505.413055419922] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7505.4779052734375] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7505.544185638428] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7505.610466003418] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7505.676984786987] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7505.746603012085] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7505.812883377075] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7505.879640579224] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7505.944490432739] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7506.0083866119385] ERROR:paramiko.transport: sig = self.key.sign( [7506.072044372559] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7506.136417388916] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7506.200790405273] ERROR:paramiko.transport: [7506.503343582153] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0ac9e10 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): 0xf0aca390 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread --------------------------- Captured stderr teardown --------------------------- [7523.566246032715] DEBUG:paramiko.transport:EOF in transport thread [7531.002998352051] 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 ----------------------------- [7667.870759963989] DEBUG:paramiko.transport:starting thread (client mode): 0xf0b2a2d0 [7703.717947006226] DEBUG:paramiko.transport:starting thread (server mode): 0xf0b29550 [7703.980922698975] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7704.799652099609] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7705.185413360596] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7705.428123474121] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7705.721139907837] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7706.058979034424] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7708.525657653809] DEBUG:paramiko.transport:=== Key exchange possibilities === [7708.844900131226] DEBUG:paramiko.transport:=== Key exchange possibilities === [7709.099292755127] 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 [7709.441184997559] 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 [7709.7673416137695] 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 [7710.086822509766] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7710.407733917236] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7710.718870162964] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7711.031675338745] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7711.342334747314] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7711.666107177734] 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 [7711.978912353516] 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 [7712.29362487793] 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 [7712.639570236206] 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 [7712.957859039307] DEBUG:paramiko.transport:client compress: none [7713.270902633667] DEBUG:paramiko.transport:client compress: none [7713.5889530181885] DEBUG:paramiko.transport:server compress: none [7713.9081954956055] DEBUG:paramiko.transport:server compress: none [7714.231967926025] DEBUG:paramiko.transport:client lang: [7714.560985565186] DEBUG:paramiko.transport:client lang: [7714.881181716919] DEBUG:paramiko.transport:server lang: [7715.20209312439] DEBUG:paramiko.transport:server lang: [7715.5280113220215] DEBUG:paramiko.transport:kex follows: False [7715.850353240967] DEBUG:paramiko.transport:kex follows: False [7716.175079345703] DEBUG:paramiko.transport:=== Key exchange agreements === [7716.507196426392] DEBUG:paramiko.transport:=== Key exchange agreements === [7716.871023178101] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7717.238426208496] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7717.609643936157] DEBUG:paramiko.transport:HostKey: ssh-rsa [7717.985391616821] DEBUG:paramiko.transport:HostKey: ssh-rsa [7718.341588973999] DEBUG:paramiko.transport:Cipher: aes128-ctr [7718.702077865601] DEBUG:paramiko.transport:Cipher: aes128-ctr [7719.054698944092] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7719.425678253174] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7719.780206680298] DEBUG:paramiko.transport:Compression: none [7720.131397247314] DEBUG:paramiko.transport:Compression: none [7720.459699630737] DEBUG:paramiko.transport:=== End of kex handshake === [7720.777988433838] DEBUG:paramiko.transport:=== End of kex handshake === [7723.246812820435] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7724.550008773804] ERROR:paramiko.transport:Traceback (most recent call last): [7724.655628204346] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7724.723339080811] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7724.795579910278] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7724.865198135376] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7724.9345779418945] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7725.0049114227295] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7725.070238113403] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7725.137948989868] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7725.207805633545] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7725.274324417114] ERROR:paramiko.transport: sig = self.key.sign( [7725.344657897949] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7725.414752960205] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7725.483655929565] ERROR:paramiko.transport: [7725.7421016693115] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0b2a2d0 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0b29550 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, ext-info-c DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ______________________ SSHClientTest.test_client_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 ----------------------------- [7988.393068313599] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a0a7d0 [8022.740125656128] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8024.635314941406] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a086d0 [8025.2790451049805] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8025.429248809814] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8025.819540023804] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8026.1077880859375] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8026.44157409668] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8029.107093811035] DEBUG:paramiko.transport:=== Key exchange possibilities === [8029.488563537598] DEBUG:paramiko.transport:=== Key exchange possibilities === [8029.789209365845] 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 [8030.124664306641] 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 [8030.4529666900635] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8030.775547027588] 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 [8031.095743179321] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8031.419515609741] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8031.735420227051] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8032.052516937256] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8032.391309738159] 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 [8032.718181610107] 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 [8033.04648399353] 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 [8033.3685874938965] 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 [8033.685922622681] DEBUG:paramiko.transport:client compress: none [8034.003734588623] DEBUG:paramiko.transport:client compress: none [8034.321308135986] DEBUG:paramiko.transport:server compress: none [8034.64412689209] DEBUG:paramiko.transport:server compress: none [8034.963846206665] DEBUG:paramiko.transport:client lang: [8035.286903381348] DEBUG:paramiko.transport:client lang: [8035.600662231445] DEBUG:paramiko.transport:server lang: [8035.921812057495] DEBUG:paramiko.transport:server lang: [8036.240816116333] DEBUG:paramiko.transport:kex follows: False [8036.578893661499] DEBUG:paramiko.transport:kex follows: False [8036.90242767334] DEBUG:paramiko.transport:=== Key exchange agreements === [8037.219285964966] DEBUG:paramiko.transport:=== Key exchange agreements === [8037.593841552734] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8037.9650592803955] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8038.339138031006] DEBUG:paramiko.transport:HostKey: ssh-rsa [8038.7208461761475] DEBUG:paramiko.transport:HostKey: ssh-rsa [8039.084911346436] DEBUG:paramiko.transport:Cipher: aes128-ctr [8039.445877075195] DEBUG:paramiko.transport:Cipher: aes128-ctr [8039.815902709961] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8040.182590484619] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8040.564775466919] DEBUG:paramiko.transport:Compression: none [8040.914058685303] DEBUG:paramiko.transport:Compression: none [8041.2278175354] DEBUG:paramiko.transport:=== End of kex handshake === [8041.542291641235] DEBUG:paramiko.transport:=== End of kex handshake === [8044.345855712891] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8045.495986938477] ERROR:paramiko.transport:Traceback (most recent call last): [8045.592308044434] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8045.6578731536865] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8045.725345611572] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8045.791149139404] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8045.857906341553] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8045.92752456665] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8045.993804931641] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8046.060800552368] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8046.129941940308] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8046.198129653931] ERROR:paramiko.transport: sig = self.key.sign( [8046.266794204712] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8046.332597732544] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8046.3972091674805] ERROR:paramiko.transport: [8046.771287918091] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a0a7d0 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): 0xf0a086d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________________ SSHClientTest.test_client_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 ----------------------------- [8207.658290863037] DEBUG:paramiko.transport:starting thread (client mode): 0xf0ab18d0 [8241.297960281372] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8243.062496185303] DEBUG:paramiko.transport:starting thread (server mode): 0xf0ab13d0 [8243.564128875732] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8243.722915649414] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8244.103908538818] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8244.405508041382] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8244.751691818237] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8246.947050094604] DEBUG:paramiko.transport:=== Key exchange possibilities === [8247.318267822266] DEBUG:paramiko.transport:=== Key exchange possibilities === [8247.619152069092] 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 [8247.957468032837] 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 [8248.286962509155] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8248.626470565796] 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 [8248.948335647583] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8249.269485473633] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8249.577760696411] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8249.89104270935] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8250.213384628296] 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 [8250.526189804077] 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 [8250.8385181427] 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 [8251.153945922852] 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 [8251.473665237427] DEBUG:paramiko.transport:client compress: none [8251.795053482056] DEBUG:paramiko.transport:client compress: none [8252.113819122314] DEBUG:paramiko.transport:server compress: none [8252.456665039062] DEBUG:paramiko.transport:server compress: none [8252.784490585327] DEBUG:paramiko.transport:client lang: [8253.10230255127] DEBUG:paramiko.transport:client lang: [8253.425121307373] DEBUG:paramiko.transport:server lang: [8253.74698638916] DEBUG:paramiko.transport:server lang: [8254.076719284058] DEBUG:paramiko.transport:kex follows: False [8254.39167022705] DEBUG:paramiko.transport:kex follows: False [8254.702091217041] DEBUG:paramiko.transport:=== Key exchange agreements === [8255.022764205933] DEBUG:paramiko.transport:=== Key exchange agreements === [8255.385875701904] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8255.752086639404] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8256.120204925537] DEBUG:paramiko.transport:HostKey: ssh-rsa [8256.51240348816] DEBUG:paramiko.transport:HostKey: ssh-rsa [8256.88099861145] DEBUG:paramiko.transport:Cipher: aes128-ctr [8257.24720954895] DEBUG:paramiko.transport:Cipher: aes128-ctr [8257.620811462402] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8257.989168167114] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8258.34846496582] DEBUG:paramiko.transport:Compression: none [8258.70132446289] DEBUG:paramiko.transport:Compression: none [8259.018898010254] DEBUG:paramiko.transport:=== End of kex handshake === [8259.339332580566] DEBUG:paramiko.transport:=== End of kex handshake === [8261.529445648193] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8262.30001449585] ERROR:paramiko.transport:Traceback (most recent call last): [8262.39013671875] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8262.455224990845] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8262.522220611572] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8262.593746185303] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8262.659311294556] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8262.728214263916] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8262.794971466064] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8262.86244392395] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8262.929916381836] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8262.998104095459] ERROR:paramiko.transport: sig = self.key.sign( [8263.063669204712] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8263.13328742981] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8263.19694519043] ERROR:paramiko.transport: [8263.535499572754] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0ab18d0 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): 0xf0ab13d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________ SSHClientTest.test_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 ----------------------------- [9141.287088394165] DEBUG:paramiko.transport:starting thread (client mode): 0xf08e0a90 [9142.3180103302] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9178.418159484863] DEBUG:paramiko.transport:starting thread (server mode): 0xf08e3590 [9178.959369659424] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9179.112672805786] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9179.337739944458] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9180.017232894897] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9180.214166641235] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9181.718587875366] DEBUG:paramiko.transport:=== Key exchange possibilities === [9181.941032409668] DEBUG:paramiko.transport:=== Key exchange possibilities === [9182.13963508606] 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 [9182.397842407227] 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 [9182.633876800537] 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 [9182.871580123901] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9183.107614517212] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9183.347702026367] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9183.574914932251] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9183.80618095398] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9184.035062789917] 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 [9184.266328811646] 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 [9184.514045715332] 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 [9184.748411178589] 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 [9184.97633934021] DEBUG:paramiko.transport:client compress: none [9185.21237373352] DEBUG:paramiko.transport:client compress: none [9185.436725616455] DEBUG:paramiko.transport:server compress: none [9185.666561126709] DEBUG:paramiko.transport:server compress: none [9185.891389846802] DEBUG:paramiko.transport:client lang: [9186.1252784729] DEBUG:paramiko.transport:client lang: [9186.352014541626] DEBUG:paramiko.transport:server lang: [9186.585664749146] DEBUG:paramiko.transport:server lang: [9186.819076538086] DEBUG:paramiko.transport:kex follows: False [9187.065601348877] DEBUG:paramiko.transport:kex follows: False [9187.304973602295] DEBUG:paramiko.transport:=== Key exchange agreements === [9187.546253204346] DEBUG:paramiko.transport:=== Key exchange agreements === [9187.81852722168] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9188.096046447754] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9188.399314880371] DEBUG:paramiko.transport:HostKey: ssh-rsa [9188.700199127197] DEBUG:paramiko.transport:HostKey: ssh-rsa [9188.966035842896] DEBUG:paramiko.transport:Cipher: aes128-ctr [9189.24355506897] DEBUG:paramiko.transport:Cipher: aes128-ctr [9189.5112991333] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9189.78476524353] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9190.040111541748] DEBUG:paramiko.transport:Compression: none [9190.306663513184] DEBUG:paramiko.transport:Compression: none [9190.537691116333] DEBUG:paramiko.transport:=== End of kex handshake === [9190.768718719482] DEBUG:paramiko.transport:=== End of kex handshake === [9193.002223968506] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9194.25916671753] ERROR:paramiko.transport:Traceback (most recent call last): [9194.348096847534] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9194.413185119629] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9194.478750228882] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9194.541454315186] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9194.605588912964] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9194.671869277954] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9194.734811782837] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9194.798469543457] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9194.860935211182] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9194.924354553223] ERROR:paramiko.transport: sig = self.key.sign( [9194.987773895264] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9195.05000114441] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9195.11604309082] ERROR:paramiko.transport: [9195.339679718018] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf08e0a90 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): 0xf08e3590 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, 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_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 ----------------------------- [9476.295471191406] DEBUG:paramiko.transport:starting thread (client mode): 0xf07d7d90 [9476.625204086304] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9510.798454284668] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a12bd0 [9510.993719100952] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9511.0764503479] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9511.115789413452] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9511.476278305054] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9511.56997680664] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9511.958360671997] DEBUG:paramiko.transport:=== Key exchange possibilities === [9512.097358703613] 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 [9512.179374694824] DEBUG:paramiko.transport:=== Key exchange possibilities === [9512.255907058716] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9512.370347976685] 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 [9512.462377548218] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9512.549638748169] 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 [9512.633562088013] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9512.723684310913] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9512.808084487915] 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 [9512.893199920654] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9512.977838516235] 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 [9513.062238693237] 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 [9513.145685195923] DEBUG:paramiko.transport:client compress: none [9513.229608535767] 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 [9513.312816619873] DEBUG:paramiko.transport:server compress: none [9513.396263122559] DEBUG:paramiko.transport:client compress: none [9513.479471206665] DEBUG:paramiko.transport:client lang: [9513.562202453613] DEBUG:paramiko.transport:server compress: none [9513.643026351929] DEBUG:paramiko.transport:server lang: [9513.725280761719] DEBUG:paramiko.transport:client lang: [9513.807773590088] DEBUG:paramiko.transport:kex follows: False [9513.888835906982] DEBUG:paramiko.transport:server lang: [9513.971328735352] DEBUG:paramiko.transport:=== Key exchange agreements === [9514.229774475098] DEBUG:paramiko.transport:kex follows: False [9514.3301486969] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9514.419794082642] DEBUG:paramiko.transport:=== Key exchange agreements === [9514.52112197876] DEBUG:paramiko.transport:HostKey: ssh-rsa [9514.620304107666] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9514.719486236572] DEBUG:paramiko.transport:Cipher: aes128-ctr [9514.827251434326] DEBUG:paramiko.transport:HostKey: ssh-rsa [9514.930248260498] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9515.031099319458] DEBUG:paramiko.transport:Cipher: aes128-ctr [9515.125036239624] DEBUG:paramiko.transport:Compression: none [9515.225648880005] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9515.308141708374] DEBUG:paramiko.transport:=== End of kex handshake === [9515.402555465698] DEBUG:paramiko.transport:Compression: none [9515.759468078613] DEBUG:paramiko.transport:=== End of kex handshake === [9516.643762588501] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9517.336130142212] ERROR:paramiko.transport:Traceback (most recent call last): [9517.420768737793] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9517.483234405518] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9517.544031143188] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9517.604112625122] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9517.66324043274] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9517.72427558899] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9517.783880233765] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9517.84634590149] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9517.908096313477] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9517.96841621399] ERROR:paramiko.transport: sig = self.key.sign( [9518.02921295166] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9518.089771270752] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9518.150806427002] ERROR:paramiko.transport: [9518.273830413818] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf07d7d90 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): 0xf0a12bd0 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 === 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 --------------------------- Captured stderr teardown --------------------------- [9546.523571014404] DEBUG:paramiko.transport:EOF in transport thread [9546.608209609985] 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 ----------------------------- [9668.880939483643] DEBUG:paramiko.transport:starting thread (client mode): 0xf09e0550 [9701.829195022583] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9703.458786010742] DEBUG:paramiko.transport:starting thread (server mode): 0xf09e1710 [9703.669786453247] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9703.725099563599] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9703.87887954712] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9704.03790473938] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9704.162120819092] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9704.75959777832] DEBUG:paramiko.transport:=== Key exchange possibilities === [9704.862833023071] 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 [9704.939365386963] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9705.020189285278] DEBUG:paramiko.transport:=== Key exchange possibilities === [9705.099105834961] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9705.199480056763] 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 [9705.284595489502] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9705.373048782349] 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 [9705.45768737793] 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 [9705.547094345093] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9705.631971359253] 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 [9705.718040466309] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9705.804109573364] DEBUG:paramiko.transport:client compress: none [9705.888748168945] 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 [9705.973386764526] DEBUG:paramiko.transport:server compress: none [9706.058979034424] 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 [9706.141710281372] DEBUG:paramiko.transport:client lang: [9706.22706413269] DEBUG:paramiko.transport:client compress: none [9706.310749053955] DEBUG:paramiko.transport:server lang: [9706.395149230957] DEBUG:paramiko.transport:server compress: none [9706.48193359375] DEBUG:paramiko.transport:kex follows: False [9706.565380096436] DEBUG:paramiko.transport:client lang: [9706.64644241333] DEBUG:paramiko.transport:=== Key exchange agreements === [9706.730842590332] DEBUG:paramiko.transport:server lang: [9706.831455230713] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9706.916332244873] DEBUG:paramiko.transport:kex follows: False [9707.02075958252] DEBUG:paramiko.transport:HostKey: ssh-rsa [9707.103967666626] DEBUG:paramiko.transport:=== Key exchange agreements === [9707.202672958374] DEBUG:paramiko.transport:Cipher: aes128-ctr [9707.300901412964] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9707.400798797607] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9707.508563995361] DEBUG:paramiko.transport:HostKey: ssh-rsa [9707.603454589844] DEBUG:paramiko.transport:Compression: none [9707.703590393066] DEBUG:paramiko.transport:Cipher: aes128-ctr [9707.786560058594] DEBUG:paramiko.transport:=== End of kex handshake === [9707.886219024658] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9708.325624465942] DEBUG:paramiko.transport:Compression: none [9708.404541015625] DEBUG:paramiko.transport:=== End of kex handshake === [9709.341764450073] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9709.967136383057] ERROR:paramiko.transport:Traceback (most recent call last): [9710.052013397217] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9710.1149559021] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9710.176229476929] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9710.237741470337] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9710.298299789429] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9710.357666015625] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9710.416793823242] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9710.477352142334] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9710.53695678711] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9710.597276687622] ERROR:paramiko.transport: sig = self.key.sign( [9710.656881332397] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9710.716247558594] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9710.777759552002] ERROR:paramiko.transport: [9710.90054512024] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09e0550 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): 0xf09e1710 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 === Key exchange possibilities === 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 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 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 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 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 server 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 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 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 client lang: DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === 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 ----------------------------- [9857.834100723267] DEBUG:paramiko.transport:starting thread (client mode): 0xf0aaa990 [9890.944957733154] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9892.5302028656] DEBUG:paramiko.transport:starting thread (server mode): 0xf0aa84d0 [9892.746686935425] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9892.802953720093] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9892.953157424927] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9893.115758895874] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9893.194198608398] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9893.792390823364] DEBUG:paramiko.transport:=== Key exchange possibilities === [9893.886804580688] DEBUG:paramiko.transport:=== Key exchange possibilities === [9893.974304199219] 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 [9894.07753944397] 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 [9894.165992736816] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9894.253015518188] 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 [9894.336223602295] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9894.424200057983] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9894.508123397827] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9894.594430923462] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9894.679069519043] 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 [9894.762516021729] 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 [9894.84715461731] 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 [9894.931077957153] 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 [9895.014762878418] DEBUG:paramiko.transport:client compress: none [9895.09892463684] DEBUG:paramiko.transport:client compress: none [9895.181655883789] DEBUG:paramiko.transport:server compress: none [9895.26629447937] DEBUG:paramiko.transport:server compress: none [9895.35140991211] DEBUG:paramiko.transport:client lang: [9895.436525344849] DEBUG:paramiko.transport:client lang: [9895.519733428955] DEBUG:paramiko.transport:server lang: [9895.602226257324] DEBUG:paramiko.transport:server lang: [9895.688533782959] DEBUG:paramiko.transport:kex follows: False [9895.772933959961] DEBUG:paramiko.transport:kex follows: False [9895.853996276855] DEBUG:paramiko.transport:=== Key exchange agreements === [9895.939111709595] DEBUG:paramiko.transport:=== Key exchange agreements === [9896.03877067566] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9896.13676071167] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9896.23999595642] DEBUG:paramiko.transport:HostKey: ssh-rsa [9896.369218826294] DEBUG:paramiko.transport:HostKey: ssh-rsa [9896.477222442627] DEBUG:paramiko.transport:Cipher: aes128-ctr [9896.580696105957] DEBUG:paramiko.transport:Cipher: aes128-ctr [9896.681308746338] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9896.780967712402] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9896.87728881836] DEBUG:paramiko.transport:Compression: none [9896.97265625] DEBUG:paramiko.transport:Compression: none [9897.056102752686] DEBUG:paramiko.transport:=== End of kex handshake === [9897.139549255371] DEBUG:paramiko.transport:=== End of kex handshake === [9898.427486419678] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9899.055480957031] ERROR:paramiko.transport:Traceback (most recent call last): [9899.14083480835] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9899.205446243286] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9899.267196655273] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9899.32632446289] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9899.385213851929] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9899.444580078125] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9899.503946304321] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9899.563074111938] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9899.622201919556] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9899.681568145752] ERROR:paramiko.transport: sig = self.key.sign( [9899.741411209106] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9899.801969528198] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9899.861812591553] ERROR:paramiko.transport: [9900.004863739014] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0aaa990 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): 0xf0aa84d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ SSHClientTest.test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa _____ self = @requires_sha1_signing def test_newer_openssh_uses_rsa_sha2_for_certs_not_ssh_rsa(self): # NOTE: 512 happens to be first in our list and is thus chosen > self._cert_algo_test(ver="7.8", alg="rsa-sha2-512") tests/test_client.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:359: in _cert_algo_test self._test_connection( tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10090.357303619385] DEBUG:paramiko.transport:starting thread (client mode): 0xf0792b50 [10123.47960472107] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10125.11682510376] DEBUG:paramiko.transport:starting thread (server mode): 0xf0790290 [10125.341415405273] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.8 [10125.399589538574] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.8 [10125.55480003357] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.8) [10125.727653503418] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10125.808477401733] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10126.439094543457] DEBUG:paramiko.transport:=== Key exchange possibilities === [10126.532077789307] DEBUG:paramiko.transport:=== Key exchange possibilities === [10126.621007919312] 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 [10126.724004745483] 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 [10126.813411712646] 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 [10126.90019607544] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10126.991033554077] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10127.079725265503] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10127.166032791138] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10127.249717712402] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10127.334117889404] 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 [10127.419233322144] 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 [10127.504348754883] 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 [10127.588510513306] 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 [10127.67243385315] DEBUG:paramiko.transport:client compress: none [10127.757549285889] DEBUG:paramiko.transport:client compress: none [10127.841234207153] DEBUG:paramiko.transport:server compress: none [10127.925157546997] DEBUG:paramiko.transport:server compress: none [10128.00931930542] DEBUG:paramiko.transport:client lang: [10128.093957901001] DEBUG:paramiko.transport:client lang: [10128.177404403687] DEBUG:paramiko.transport:server lang: [10128.259181976318] DEBUG:paramiko.transport:server lang: [10128.361463546753] DEBUG:paramiko.transport:kex follows: False [10128.456592559814] DEBUG:paramiko.transport:kex follows: False [10128.544330596924] DEBUG:paramiko.transport:=== Key exchange agreements === [10128.625631332397] DEBUG:paramiko.transport:=== Key exchange agreements === [10128.726243972778] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10128.824949264526] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10128.933191299438] DEBUG:paramiko.transport:HostKey: ssh-rsa [10129.034280776978] DEBUG:paramiko.transport:HostKey: ssh-rsa [10129.136800765991] DEBUG:paramiko.transport:Cipher: aes128-ctr [10129.237413406372] DEBUG:paramiko.transport:Cipher: aes128-ctr [10129.340648651123] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10129.441261291504] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10129.53782081604] DEBUG:paramiko.transport:Compression: none [10129.633903503418] DEBUG:paramiko.transport:Compression: none [10129.717350006104] DEBUG:paramiko.transport:=== End of kex handshake === [10129.800796508789] DEBUG:paramiko.transport:=== End of kex handshake === [10131.150722503662] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10131.791114807129] ERROR:paramiko.transport:Traceback (most recent call last): [10131.874084472656] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10131.93678855896] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10131.99758529663] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10132.05862045288] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10132.119178771973] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10132.179260253906] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10132.238864898682] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10132.298707962036] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10132.41457939148] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10132.477045059204] ERROR:paramiko.transport: sig = self.key.sign( [10132.5364112854] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10132.595777511597] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10132.656574249268] ERROR:paramiko.transport: [10132.795095443726] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0792b50 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): 0xf0790290 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-OpenSSH_7.8 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-OpenSSH_7.8 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client OpenSSH_7.8) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, 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_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 ----------------------------- [10293.913841247559] DEBUG:paramiko.transport:starting thread (client mode): 0xf09e6c90 [10328.433513641357] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a01410 [10328.495740890503] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10328.73249053955] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.7 [10328.793048858643] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.7 [10328.943729400635] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.7) [10328.989267349243] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10329.20527458191] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10329.796075820923] DEBUG:paramiko.transport:=== Key exchange possibilities === [10329.887628555298] DEBUG:paramiko.transport:=== Key exchange possibilities === [10329.975605010986] 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 [10330.08074760437] 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 [10330.17086982727] 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 [10330.26099205017] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10330.351829528809] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10330.435991287231] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10330.520391464233] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10330.604314804077] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10330.689907073975] 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 [10330.774068832397] 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 [10330.860137939453] 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 [10330.945014953613] 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 [10331.029415130615] DEBUG:paramiko.transport:client compress: none [10331.1128616333] DEBUG:paramiko.transport:client compress: none [10331.196308135986] DEBUG:paramiko.transport:server compress: none [10331.278085708618] DEBUG:paramiko.transport:server compress: none [10331.362962722778] DEBUG:paramiko.transport:client lang: [10331.444501876831] DEBUG:paramiko.transport:client lang: [10331.528186798096] DEBUG:paramiko.transport:server lang: [10331.609964370728] DEBUG:paramiko.transport:server lang: [10331.694841384888] DEBUG:paramiko.transport:kex follows: False [10331.778287887573] DEBUG:paramiko.transport:kex follows: False [10331.864595413208] DEBUG:paramiko.transport:=== Key exchange agreements === [10331.944942474365] DEBUG:paramiko.transport:=== Key exchange agreements === [10332.045078277588] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10332.141876220703] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10332.24868774414] DEBUG:paramiko.transport:HostKey: ssh-rsa [10332.365274429321] DEBUG:paramiko.transport:HostKey: ssh-rsa [10332.47709274292] DEBUG:paramiko.transport:Cipher: aes128-ctr [10332.578420639038] DEBUG:paramiko.transport:Cipher: aes128-ctr [10332.679271697998] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10332.781314849854] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10332.877159118652] DEBUG:paramiko.transport:Compression: none [10332.973957061768] DEBUG:paramiko.transport:Compression: none [10333.056688308716] DEBUG:paramiko.transport:=== End of kex handshake === [10333.138227462769] DEBUG:paramiko.transport:=== End of kex handshake === [10334.423780441284] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10335.041761398315] ERROR:paramiko.transport:Traceback (most recent call last): [10335.124731063843] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10335.186243057251] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10335.245609283447] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10335.305213928223] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10335.365295410156] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10335.42513847351] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10335.484504699707] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10335.543632507324] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10335.60299873352] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10335.663080215454] ERROR:paramiko.transport: sig = self.key.sign( [10335.724115371704] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10335.783243179321] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10335.843324661255] ERROR:paramiko.transport: [10335.978507995605] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09e6c90 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0a01410 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-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, 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 ___ 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 ----------------------------- [10681.776285171509] DEBUG:paramiko.transport:starting thread (client mode): 0xf0bcf2d0 [10682.08384513855] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10716.161966323853] DEBUG:paramiko.transport:starting thread (server mode): 0xf0bce310 [10716.359615325928] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10716.407537460327] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10716.4888381958] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10716.734886169434] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10716.993570327759] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10717.508792877197] DEBUG:paramiko.transport:=== Key exchange possibilities === [10717.629671096802] 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 [10717.71240234375] DEBUG:paramiko.transport:=== Key exchange possibilities === [10717.789649963379] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10717.89264678955] 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 [10717.979669570923] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10718.06788444519] 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 [10718.15276145935] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10718.241453170776] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10718.326091766357] 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 [10718.413591384888] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10718.498468399048] 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 [10718.583345413208] 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 [10718.666553497314] DEBUG:paramiko.transport:client compress: none [10718.750715255737] 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 [10718.832731246948] DEBUG:paramiko.transport:server compress: none [10718.915939331055] DEBUG:paramiko.transport:client compress: none [10718.99676322937] DEBUG:paramiko.transport:client lang: [10719.078540802002] DEBUG:paramiko.transport:server compress: none [10719.160556793213] DEBUG:paramiko.transport:server lang: [10719.242095947266] DEBUG:paramiko.transport:client lang: [10719.32578086853] DEBUG:paramiko.transport:kex follows: False [10719.408750534058] DEBUG:paramiko.transport:server lang: [10719.489336013794] DEBUG:paramiko.transport:=== Key exchange agreements === [10719.577312469482] DEBUG:paramiko.transport:kex follows: False [10719.674587249756] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10719.759225845337] DEBUG:paramiko.transport:=== Key exchange agreements === [10719.861030578613] DEBUG:paramiko.transport:HostKey: ssh-rsa [10719.962358474731] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10720.061779022217] DEBUG:paramiko.transport:Cipher: aes128-ctr [10720.168113708496] DEBUG:paramiko.transport:HostKey: ssh-rsa [10720.267295837402] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10720.382690429688] DEBUG:paramiko.transport:Cipher: aes128-ctr [10720.491647720337] DEBUG:paramiko.transport:Compression: none [10720.593452453613] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10720.678806304932] DEBUG:paramiko.transport:=== End of kex handshake === [10720.772981643677] DEBUG:paramiko.transport:Compression: none [10721.11463546753] DEBUG:paramiko.transport:=== End of kex handshake === [10722.007513046265] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10722.694158554077] ERROR:paramiko.transport:Traceback (most recent call last): [10722.77545928955] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10722.83673286438] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10722.896099090576] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10722.955703735352] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10723.015308380127] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10723.07538986206] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10723.13642501831] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10723.195552825928] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10723.254680633545] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10723.314046859741] ERROR:paramiko.transport: sig = self.key.sign( [10723.374128341675] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10723.434209823608] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10723.493814468384] ERROR:paramiko.transport: [10723.609924316406] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0bcf2d0 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): 0xf0bce310 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 === 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 ----------------------------- [10908.912181854248] DEBUG:paramiko.transport:starting thread (client mode): 0xf0c43510 [10942.10696220398] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10943.709373474121] DEBUG:paramiko.transport:starting thread (server mode): 0xf0c400d0 [10943.930864334106] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10943.992137908936] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10944.149255752563] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10944.195747375488] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10944.518566131592] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10945.142269134521] DEBUG:paramiko.transport:=== Key exchange possibilities === [10945.237874984741] DEBUG:paramiko.transport:=== Key exchange possibilities === [10945.326805114746] 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 [10945.434093475342] 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 [10945.524454116821] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10945.6148147583] 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 [10945.703506469727] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10945.795059204102] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10945.882797241211] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10945.96815109253] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10946.052074432373] 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 [10946.13528251648] 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 [10946.220636367798] 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 [10946.305274963379] 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 [10946.390628814697] DEBUG:paramiko.transport:client compress: none [10946.475744247437] DEBUG:paramiko.transport:client compress: none [10946.560382843018] DEBUG:paramiko.transport:server compress: none [10946.643352508545] DEBUG:paramiko.transport:server compress: none [10946.727752685547] DEBUG:paramiko.transport:client lang: [10946.810960769653] DEBUG:paramiko.transport:client lang: [10946.89393043518] DEBUG:paramiko.transport:server lang: [10946.977376937866] DEBUG:paramiko.transport:server lang: [10947.06392288208] DEBUG:paramiko.transport:kex follows: False [10947.149991989136] DEBUG:paramiko.transport:kex follows: False [10947.237253189087] DEBUG:paramiko.transport:=== Key exchange agreements === [10947.31879234314] DEBUG:paramiko.transport:=== Key exchange agreements === [10947.4196434021] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10947.52025604248] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10947.622776031494] DEBUG:paramiko.transport:HostKey: ssh-rsa [10947.731018066406] DEBUG:paramiko.transport:HostKey: ssh-rsa [10947.832107543945] DEBUG:paramiko.transport:Cipher: aes128-ctr [10947.93438911438] DEBUG:paramiko.transport:Cipher: aes128-ctr [10948.03762435913] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10948.140621185303] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10948.237180709839] DEBUG:paramiko.transport:Compression: none [10948.344707489014] DEBUG:paramiko.transport:Compression: none [10948.439121246338] DEBUG:paramiko.transport:=== End of kex handshake === [10948.52328300476] DEBUG:paramiko.transport:=== End of kex handshake === [10949.894905090332] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10950.54030418396] ERROR:paramiko.transport:Traceback (most recent call last): [10950.624227523804] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10950.686693191528] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10950.74725151062] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10950.807094573975] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10950.867414474487] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10950.92749595642] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10950.987100601196] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10951.04956626892] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10951.109647750854] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10951.169490814209] ERROR:paramiko.transport: sig = self.key.sign( [10951.23028755188] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10951.289653778076] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10951.349020004272] ERROR:paramiko.transport: [10951.485872268677] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0c43510 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): 0xf0c400d0 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_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 ----------------------------- [11098.957300186157] DEBUG:paramiko.transport:starting thread (client mode): 0xf09f3410 [11131.944179534912] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11133.612871170044] DEBUG:paramiko.transport:starting thread (server mode): 0xf09f2210 [11133.824348449707] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11133.882284164429] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11134.040355682373] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11134.241342544556] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11134.369611740112] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11134.960174560547] DEBUG:paramiko.transport:=== Key exchange possibilities === [11135.05744934082] DEBUG:paramiko.transport:=== Key exchange possibilities === [11135.150909423828] 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 [11135.254383087158] 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 [11135.344743728638] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11135.4341506958] 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 [11135.521411895752] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11135.612487792969] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11135.700702667236] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11135.786533355713] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11135.87236404419] 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 [11135.956048965454] 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 [11136.041402816772] 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 [11136.125564575195] 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 [11136.209487915039] DEBUG:paramiko.transport:client compress: none [11136.29174232483] DEBUG:paramiko.transport:client compress: none [11136.39211654663] DEBUG:paramiko.transport:server compress: none [11136.484146118164] DEBUG:paramiko.transport:server compress: none [11136.567831039429] DEBUG:paramiko.transport:client lang: [11136.650323867798] DEBUG:paramiko.transport:client lang: [11136.734247207642] DEBUG:paramiko.transport:server lang: [11136.816501617432] DEBUG:paramiko.transport:server lang: [11136.902809143066] DEBUG:paramiko.transport:kex follows: False [11136.986494064331] DEBUG:paramiko.transport:kex follows: False [11137.073278427124] DEBUG:paramiko.transport:=== Key exchange agreements === [11137.155055999756] DEBUG:paramiko.transport:=== Key exchange agreements === [11137.257814407349] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11137.356281280518] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11137.46166229248] DEBUG:paramiko.transport:HostKey: ssh-rsa [11137.568235397339] DEBUG:paramiko.transport:HostKey: ssh-rsa [11137.669801712036] DEBUG:paramiko.transport:Cipher: aes128-ctr [11137.773275375366] DEBUG:paramiko.transport:Cipher: aes128-ctr [11137.8755569458] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11137.975454330444] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11138.06962966919] DEBUG:paramiko.transport:Compression: none [11138.16523551941] DEBUG:paramiko.transport:Compression: none [11138.2474899292] DEBUG:paramiko.transport:=== End of kex handshake === [11138.32974433899] DEBUG:paramiko.transport:=== End of kex handshake === [11139.634847640991] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11140.253067016602] ERROR:paramiko.transport:Traceback (most recent call last): [11140.35701751709] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11140.430688858032] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11140.491962432861] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11140.552043914795] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11140.612363815308] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11140.67268371582] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11140.732049942017] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11140.79236984253] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11140.85340499878] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11140.913486480713] ERROR:paramiko.transport: sig = self.key.sign( [11140.973329544067] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11141.031980514526] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11141.09206199646] ERROR:paramiko.transport: [11141.225814819336] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf09f3410 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): 0xf09f2210 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_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 ----------------------------- [11336.691617965698] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a4ac50 [11369.809627532959] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11371.442794799805] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a4b0d0 [11371.691942214966] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11371.74940109253] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11371.906042098999] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11372.072696685791] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11372.15542793274] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11372.78127670288] DEBUG:paramiko.transport:=== Key exchange possibilities === [11372.873783111572] DEBUG:paramiko.transport:=== Key exchange possibilities === [11372.964859008789] 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 [11373.06809425354] 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 [11373.161792755127] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11373.252868652344] 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 [11373.337745666504] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11373.42643737793] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11373.512268066406] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11373.59642982483] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11373.68106842041] 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 [11373.76356124878] 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 [11373.84843826294] 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 [11373.933553695679] 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 [11374.019145965576] DEBUG:paramiko.transport:client compress: none [11374.10283088684] DEBUG:paramiko.transport:client compress: none [11374.185800552368] DEBUG:paramiko.transport:server compress: none [11374.27020072937] DEBUG:paramiko.transport:server compress: none [11374.354839324951] DEBUG:paramiko.transport:client lang: [11374.438285827637] DEBUG:paramiko.transport:client lang: [11374.521493911743] DEBUG:paramiko.transport:server lang: [11374.605894088745] DEBUG:paramiko.transport:server lang: [11374.69220161438] DEBUG:paramiko.transport:kex follows: False [11374.776840209961] DEBUG:paramiko.transport:kex follows: False [11374.863624572754] DEBUG:paramiko.transport:=== Key exchange agreements === [11374.945163726807] DEBUG:paramiko.transport:=== Key exchange agreements === [11375.044107437134] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11375.143051147461] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11375.246524810791] DEBUG:paramiko.transport:HostKey: ssh-rsa [11375.356912612915] DEBUG:paramiko.transport:HostKey: ssh-rsa [11375.459671020508] DEBUG:paramiko.transport:Cipher: aes128-ctr [11375.560522079468] DEBUG:paramiko.transport:Cipher: aes128-ctr [11375.662326812744] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11375.76174736023] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11375.857830047607] DEBUG:paramiko.transport:Compression: none [11375.95009803772] DEBUG:paramiko.transport:Compression: none [11376.031875610352] DEBUG:paramiko.transport:=== End of kex handshake === [11376.112937927246] DEBUG:paramiko.transport:=== End of kex handshake === [11377.483367919922] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11378.121376037598] ERROR:paramiko.transport:Traceback (most recent call last): [11378.204822540283] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11378.267765045166] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11378.329277038574] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11378.389358520508] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11378.449440002441] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11378.511190414429] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11378.570556640625] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11378.63039970398] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11378.69143486023] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11378.75247001648] ERROR:paramiko.transport: sig = self.key.sign( [11378.813028335571] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11378.872394561768] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11378.931283950806] ERROR:paramiko.transport: [11379.066944122314] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a4ac50 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): 0xf0a4b0d0 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 ----------------------------- [11527.779340744019] DEBUG:paramiko.transport:starting thread (client mode): 0xf0a09c90 [11560.877561569214] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11562.468767166138] DEBUG:paramiko.transport:starting thread (server mode): 0xf0a09910 [11562.682390213013] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11562.743425369263] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11562.86334991455] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11562.942028045654] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11563.033103942871] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11563.817501068115] DEBUG:paramiko.transport:=== Key exchange possibilities === [11563.942670822144] 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 [11564.029216766357] DEBUG:paramiko.transport:=== Key exchange possibilities === [11564.108610153198] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11564.21160697937] 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 [11564.298391342163] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11564.404487609863] 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 [11564.489603042603] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11564.577102661133] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11564.66269493103] 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 [11564.747095108032] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11564.832925796509] 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 [11564.91732597351] 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 [11565.003871917725] DEBUG:paramiko.transport:client compress: none [11566.362619400024] 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 [11566.6663646698] DEBUG:paramiko.transport:server compress: none [11566.90788269043] DEBUG:paramiko.transport:client compress: none [11567.124605178833] DEBUG:paramiko.transport:client lang: [11567.354679107666] DEBUG:paramiko.transport:server compress: none [11567.570686340332] DEBUG:paramiko.transport:server lang: [11567.796468734741] DEBUG:paramiko.transport:client lang: [11568.015575408936] DEBUG:paramiko.transport:kex follows: False [11568.238973617554] DEBUG:paramiko.transport:server lang: [11568.469047546387] DEBUG:paramiko.transport:=== Key exchange agreements === [11568.718671798706] DEBUG:paramiko.transport:kex follows: False [11568.949937820435] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11569.170236587524] DEBUG:paramiko.transport:=== Key exchange agreements === [11569.400310516357] DEBUG:paramiko.transport:HostKey: ssh-rsa [11569.729328155518] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11569.963455200195] DEBUG:paramiko.transport:Cipher: aes128-ctr [11570.26720046997] DEBUG:paramiko.transport:HostKey: ssh-rsa [11570.502042770386] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11570.770263671875] DEBUG:paramiko.transport:Cipher: aes128-ctr [11570.999145507812] DEBUG:paramiko.transport:Compression: none [11571.266889572144] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11571.470975875854] DEBUG:paramiko.transport:=== End of kex handshake === [11571.715831756592] DEBUG:paramiko.transport:Compression: none [11572.3717212677] DEBUG:paramiko.transport:=== End of kex handshake === [11574.627161026001] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11575.75011253357] ERROR:paramiko.transport:Traceback (most recent call last): [11575.84261894226] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11575.905323028564] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11575.972080230713] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11576.034545898438] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11576.098442077637] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11576.165437698364] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11576.228857040405] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11576.293230056763] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11576.372146606445] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11576.441049575806] ERROR:paramiko.transport: sig = self.key.sign( [11576.506614685059] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11576.570749282837] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11576.633214950562] ERROR:paramiko.transport: [11576.952934265137] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0a09c90 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): 0xf0a09910 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 === 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 __________________________ 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 ----------------------------- [78829.95676994324] DEBUG:paramiko.transport:starting thread (server mode): 0xf0b09610 [78830.0895690918] DEBUG:paramiko.transport:starting thread (client mode): 0xf0b0b6d0 [78830.19280433655] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [78830.33633232117] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [78830.43622970581] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [78830.55853843689] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [78830.64579963684] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [78830.75785636902] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [78831.45570755005] DEBUG:paramiko.transport:=== Key exchange possibilities === [78831.55727386475] DEBUG:paramiko.transport:=== Key exchange possibilities === [78831.64310455322] 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 [78831.76732063293] 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 [78831.85768127441] 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 [78831.96115493774] DEBUG:paramiko.transport:server key: ssh-rsa [78832.04793930054] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78832.14211463928] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78832.22603797913] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78832.34095573425] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78832.44800567627] 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 [78832.54814147949] 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 [78832.6325416565] 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 [78832.71861076355] 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 [78832.80062675476] DEBUG:paramiko.transport:client compress: none [78832.9107761383] DEBUG:paramiko.transport:client compress: none [78832.99541473389] DEBUG:paramiko.transport:server compress: none [78833.10294151306] DEBUG:paramiko.transport:server compress: none [78833.19640159607] DEBUG:paramiko.transport:client lang: [78833.28080177307] DEBUG:paramiko.transport:client lang: [78833.38165283203] DEBUG:paramiko.transport:server lang: [78833.47249031067] DEBUG:paramiko.transport:server lang: [78833.55736732483] DEBUG:paramiko.transport:kex follows: False [78833.66894721985] DEBUG:paramiko.transport:kex follows: False [78833.75215530396] DEBUG:paramiko.transport:=== Key exchange agreements === [78833.84966850281] DEBUG:paramiko.transport:=== Key exchange agreements === [78833.95576477051] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [78834.08260345459] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [78834.1965675354] DEBUG:paramiko.transport:HostKey: ssh-rsa [78834.32388305664] DEBUG:paramiko.transport:HostKey: ssh-rsa [78834.43212509155] DEBUG:paramiko.transport:Cipher: aes128-ctr [78834.54990386963] DEBUG:paramiko.transport:Cipher: aes128-ctr [78834.65695381165] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [78834.77354049683] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [78834.86938476562] DEBUG:paramiko.transport:Compression: none [78834.97476577759] DEBUG:paramiko.transport:Compression: none [78835.05821228027] DEBUG:paramiko.transport:=== End of kex handshake === [78835.15191078186] DEBUG:paramiko.transport:=== End of kex handshake === [78836.24649047852] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [78837.01705932617] ERROR:paramiko.transport:Traceback (most recent call last): [78837.11409568787] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [78837.1775150299] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [78837.238073349] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [78837.29791641235] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [78837.35775947571] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [78837.41855621338] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [78837.47863769531] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [78837.5403881073] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [78837.60166168213] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [78837.66198158264] ERROR:paramiko.transport: sig = self.key.sign( [78837.72158622742] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [78837.78071403503] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [78837.84103393555] ERROR:paramiko.transport: [78935.8332157135] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xf0b09610 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xf0b0b6d0 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, 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-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 server key: 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 _____ 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 ----------------------------- [80015.92540740967] DEBUG:paramiko.transport:EOF in transport thread [80015.99168777466] DEBUG:paramiko.transport:EOF in transport thread [80049.17693138123] DEBUG:paramiko.transport:starting thread (server mode): 0xeee4a490 [80049.31044578552] DEBUG:paramiko.transport:starting thread (client mode): 0xeee49310 [80049.40843582153] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80049.5252609253] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80049.62420463562] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80049.72195625305] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80049.80969429016] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80049.89695549011] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80050.49538612366] DEBUG:paramiko.transport:=== Key exchange possibilities === [80050.59266090393] DEBUG:paramiko.transport:=== Key exchange possibilities === [80050.67920684814] 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 [80050.78148841858] 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 [80050.86922645569] DEBUG:paramiko.transport:server key: ssh-rsa [80050.9557723999] 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 [80051.04112625122] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80051.12624168396] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80051.21040344238] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80051.2957572937] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80051.38158798218] 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 [80051.4669418335] 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 [80051.55205726624] 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 [80051.63598060608] 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 [80051.72061920166] DEBUG:paramiko.transport:client compress: none [80051.80549621582] DEBUG:paramiko.transport:client compress: none [80051.89061164856] DEBUG:paramiko.transport:server compress: none [80051.97405815125] DEBUG:paramiko.transport:server compress: none [80052.05750465393] DEBUG:paramiko.transport:client lang: [80052.14214324951] DEBUG:paramiko.transport:client lang: [80052.2255897522] DEBUG:paramiko.transport:server lang: [80052.30903625488] DEBUG:paramiko.transport:server lang: [80052.41894721985] DEBUG:paramiko.transport:kex follows: False [80052.50549316406] DEBUG:paramiko.transport:kex follows: False [80052.58846282959] DEBUG:paramiko.transport:=== Key exchange agreements === [80052.67572402954] DEBUG:paramiko.transport:=== Key exchange agreements === [80052.77371406555] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80052.8724193573] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80052.9727935791] DEBUG:paramiko.transport:HostKey: ssh-rsa [80053.07745933533] DEBUG:paramiko.transport:HostKey: ssh-rsa [80053.17735671997] DEBUG:paramiko.transport:Cipher: aes128-ctr [80053.27820777893] DEBUG:paramiko.transport:Cipher: aes128-ctr [80053.38096618652] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80053.48300933838] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80053.58028411865] DEBUG:paramiko.transport:Compression: none [80053.67732048035] DEBUG:paramiko.transport:Compression: none [80053.76100540161] DEBUG:paramiko.transport:=== End of kex handshake === [80053.8444519043] DEBUG:paramiko.transport:=== End of kex handshake === [80054.85653877258] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [80055.43327331543] ERROR:paramiko.transport:Traceback (most recent call last): [80055.53102493286] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [80055.59492111206] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [80055.65595626831] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [80055.71818351746] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [80055.77802658081] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80055.8557510376] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [80055.92465400696] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [80056.03003501892] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80056.11205101013] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [80056.19692802429] ERROR:paramiko.transport: sig = self.key.sign( [80056.26583099365] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [80056.34808540344] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [80056.76364898682] ERROR:paramiko.transport: [80081.65979385376] DEBUG:paramiko.transport:EOF in transport thread [80081.85529708862] DEBUG:paramiko.transport:EOF in transport thread [80154.23107147217] 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): 0xeee4a490 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeee49310 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 79.70s (0:01:19) ====== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.jG2VBO (%check) Bad exit status from /var/tmp/rpm-tmp.jG2VBO (%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