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-146216-9831/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-146216-9831/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.7yOz7e + 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.A90jzk + 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.k4P0Ww + 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/tmpgokidi5n.py' /usr/bin/python3 /tmp/tmpgokidi5n.py removing /tmp/tmpgokidi5n.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.U6jPKk + 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 ----------------------------- [3856.764554977417] DEBUG:paramiko.transport:starting thread (client mode): 0xeed58c90 [3892.468214035034] DEBUG:paramiko.transport:starting thread (server mode): 0xeeefbb50 [3892.7414417266846] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3893.559694290161] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [3893.8076496124268] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3894.373655319214] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3894.9222564697266] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [3895.5307006835938] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [3896.6569900512695] DEBUG:paramiko.transport:=== Key exchange possibilities === [3897.1195220947266] DEBUG:paramiko.transport:=== Key exchange possibilities === [3897.444248199463] 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 [3897.8114128112793] 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 [3898.1664180755615] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [3898.5214233398438] 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 [3898.887872695923] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3899.245262145996] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3899.5912075042725] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3899.937629699707] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [3900.984764099121] 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 [3901.329517364502] 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 [3901.684522628784] 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 [3902.0376205444336] 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 [3902.3914337158203] DEBUG:paramiko.transport:client compress: none [3902.7493000030518] DEBUG:paramiko.transport:client compress: none [3903.1007289886475] DEBUG:paramiko.transport:server compress: none [3903.4481048583984] DEBUG:paramiko.transport:server compress: none [3903.8023948669434] DEBUG:paramiko.transport:client lang: [3904.156446456909] DEBUG:paramiko.transport:client lang: [3904.5073986053467] DEBUG:paramiko.transport:server lang: [3904.8500061035156] DEBUG:paramiko.transport:server lang: [3905.205488204956] DEBUG:paramiko.transport:kex follows: False [3905.564069747925] DEBUG:paramiko.transport:kex follows: False [3905.9133529663086] DEBUG:paramiko.transport:=== Key exchange agreements === [3906.2540531158447] DEBUG:paramiko.transport:=== Key exchange agreements === [3906.6691398620605] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3907.0897102355957] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [3907.4923992156982] DEBUG:paramiko.transport:HostKey: ssh-rsa [3907.9160690307617] DEBUG:paramiko.transport:HostKey: ssh-rsa [3908.3125591278076] DEBUG:paramiko.transport:Cipher: aes128-ctr [3908.7095260620117] DEBUG:paramiko.transport:Cipher: aes128-ctr [3909.1081619262695] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3909.5101356506348] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [3909.8904132843018] DEBUG:paramiko.transport:Compression: none [3910.2680683135986] DEBUG:paramiko.transport:Compression: none [3910.616397857666] DEBUG:paramiko.transport:=== End of kex handshake === [3910.978078842163] DEBUG:paramiko.transport:=== End of kex handshake === [3913.2752418518066] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [3914.977550506592] ERROR:paramiko.transport:Traceback (most recent call last): [3915.079116821289] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [3915.1461124420166] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [3915.212869644165] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [3915.278911590576] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [3915.3449535369873] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3915.4160022735596] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [3915.4834747314453] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [3915.552854537964] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3915.6196117401123] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [3915.684461593628] ERROR:paramiko.transport: sig = self.key.sign( [3915.7490730285645] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [3915.816068649292] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [3915.879249572754] ERROR:paramiko.transport: [3916.1758422851562] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeed58c90 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xeeefbb50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === 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_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 ----------------------------- [4097.751617431641] DEBUG:paramiko.transport:starting thread (client mode): 0xeef89e90 [4134.1071128845215] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4134.426116943359] DEBUG:paramiko.transport:starting thread (server mode): 0xeef88f90 [4135.515451431274] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4135.735034942627] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [4136.02352142334] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4136.513948440552] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [4137.39275932312] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [4139.129400253296] DEBUG:paramiko.transport:=== Key exchange possibilities === [4139.404058456421] DEBUG:paramiko.transport:=== Key exchange possibilities === [4139.670848846436] 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 [4140.015363693237] 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 [4140.3443813323975] 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 [4140.672445297241] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [4141.000986099243] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4141.326189041138] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4141.646385192871] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4141.970157623291] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [4142.294406890869] 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 [4142.613887786865] 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 [4142.961502075195] 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 [4143.284797668457] 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 [4143.604755401611] DEBUG:paramiko.transport:client compress: none [4143.92352104187] DEBUG:paramiko.transport:client compress: none [4144.250154495239] DEBUG:paramiko.transport:server compress: none [4144.575357437134] DEBUG:paramiko.transport:server compress: none [4144.898176193237] DEBUG:paramiko.transport:client lang: [4145.220518112183] DEBUG:paramiko.transport:client lang: [4145.543813705444] DEBUG:paramiko.transport:server lang: [4145.861864089966] DEBUG:paramiko.transport:server lang: [4146.188020706177] DEBUG:paramiko.transport:kex follows: False [4146.513223648071] DEBUG:paramiko.transport:kex follows: False [4146.849632263184] DEBUG:paramiko.transport:=== Key exchange agreements === [4147.179365158081] DEBUG:paramiko.transport:=== Key exchange agreements === [4147.6640701293945] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4148.033857345581] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [4148.408889770508] DEBUG:paramiko.transport:HostKey: ssh-rsa [4148.784399032593] DEBUG:paramiko.transport:HostKey: ssh-rsa [4149.144411087036] DEBUG:paramiko.transport:Cipher: aes128-ctr [4149.513721466064] DEBUG:paramiko.transport:Cipher: aes128-ctr [4149.878978729248] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4150.253534317017] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [4150.61616897583] DEBUG:paramiko.transport:Compression: none [4151.000261306763] DEBUG:paramiko.transport:Compression: none [4151.31688117981] DEBUG:paramiko.transport:=== End of kex handshake === [4151.636362075806] DEBUG:paramiko.transport:=== End of kex handshake === [4154.705286026001] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [4156.073808670044] ERROR:paramiko.transport:Traceback (most recent call last): [4156.165599822998] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [4156.230926513672] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [4156.298875808716] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [4156.365156173706] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [4156.437158584595] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4156.504392623901] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [4156.569957733154] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [4156.634092330933] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4156.700372695923] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [4156.7652225494385] ERROR:paramiko.transport: sig = self.key.sign( [4156.829118728638] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [4156.893730163574] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [4156.959056854248] ERROR:paramiko.transport: [4157.24778175354] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef89e90 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): 0xeef88f90 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_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 ----------------------------- [4987.789869308472] DEBUG:paramiko.transport:starting thread (client mode): 0xeef06510 [5021.65150642395] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5024.344205856323] DEBUG:paramiko.transport:starting thread (server mode): 0xeef3e490 [5024.983644485474] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5025.221347808838] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5025.557041168213] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5026.348114013672] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5026.465892791748] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5027.552127838135] DEBUG:paramiko.transport:=== Key exchange possibilities === [5027.861833572388] DEBUG:paramiko.transport:=== Key exchange possibilities === [5028.129816055298] 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 [5028.428077697754] 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 [5028.712749481201] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5028.994560241699] 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 [5029.268980026245] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5029.547214508057] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5029.8216342926025] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5030.094861984253] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5030.374526977539] 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 [5030.662298202515] 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 [5030.9507846832275] 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 [5031.227350234985] 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 [5031.505823135376] DEBUG:paramiko.transport:client compress: none [5031.782627105713] DEBUG:paramiko.transport:client compress: none [5032.0539474487305] DEBUG:paramiko.transport:server compress: none [5032.322883605957] DEBUG:paramiko.transport:server compress: none [5032.598972320557] DEBUG:paramiko.transport:client lang: [5032.878160476685] DEBUG:paramiko.transport:client lang: [5033.1549644470215] DEBUG:paramiko.transport:server lang: [5033.4272384643555] DEBUG:paramiko.transport:server lang: [5033.705234527588] DEBUG:paramiko.transport:kex follows: False [5033.987283706665] DEBUG:paramiko.transport:kex follows: False [5034.26456451416] DEBUG:paramiko.transport:=== Key exchange agreements === [5034.53254699707] DEBUG:paramiko.transport:=== Key exchange agreements === [5034.873962402344] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5035.189390182495] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5035.512924194336] DEBUG:paramiko.transport:HostKey: ssh-rsa [5035.840749740601] DEBUG:paramiko.transport:HostKey: ssh-rsa [5036.158084869385] DEBUG:paramiko.transport:Cipher: aes128-ctr [5036.476612091064] DEBUG:paramiko.transport:Cipher: aes128-ctr [5036.789655685425] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5037.109375] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5037.415027618408] DEBUG:paramiko.transport:Compression: none [5037.712335586548] DEBUG:paramiko.transport:Compression: none [5037.991523742676] DEBUG:paramiko.transport:=== End of kex handshake === [5038.26379776001] DEBUG:paramiko.transport:=== End of kex handshake === [5040.356874465942] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5041.14556312561] ERROR:paramiko.transport:Traceback (most recent call last): [5041.232109069824] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5041.296482086182] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5041.359424591064] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5041.422128677368] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5041.485071182251] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5041.5520668029785] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5041.616439819336] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5041.6810512542725] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5041.743993759155] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5041.8078899383545] ERROR:paramiko.transport: sig = self.key.sign( [5041.871547698975] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5041.934013366699] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5041.999816894531] ERROR:paramiko.transport: [5042.327880859375] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef06510 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): 0xeef3e490 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 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ____ SSHClientTest.test_certs_implicitly_loaded_alongside_key_filename_keys ____ self = @requires_sha1_signing def test_certs_implicitly_loaded_alongside_key_filename_keys(self): # NOTE: a regular test_connection() w/ test_rsa.key would incidentally # test this (because test_xxx.key-cert.pub exists) but incidental tests # stink, so NullServer and friends were updated to allow assertions # about the server-side key object's public blob. Thus, we can prove # that a specific cert was found, along with regular authorization # succeeding proving that the overall flow works. for type_ in ("rsa", "dss", "ecdsa_256", "ed25519"): key_name = "test_{}.key".format(type_) key_path = _support(os.path.join("cert_support", key_name)) > self._test_connection( key_filename=key_path, public_blob=PublicBlob.from_file( "{}-cert.pub".format(key_path) ), ) tests/test_client.py:349: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [5190.738916397095] DEBUG:paramiko.transport:starting thread (client mode): 0xeebbcb90 [5224.178314208984] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5225.851774215698] DEBUG:paramiko.transport:starting thread (server mode): 0xeebbd250 [5226.662874221802] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5226.877689361572] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [5227.176904678345] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5227.982997894287] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [5228.382587432861] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [5229.809045791626] DEBUG:paramiko.transport:=== Key exchange possibilities === [5230.170488357544] DEBUG:paramiko.transport:=== Key exchange possibilities === [5230.47947883606] 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 [5230.844259262085] 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 [5231.187582015991] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [5231.519460678101] 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 [5231.847763061523] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5232.178449630737] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5232.496500015259] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5232.818126678467] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [5233.142614364624] 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 [5233.46209526062] 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 [5233.784914016724] 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 [5234.111785888672] 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 [5234.429597854614] DEBUG:paramiko.transport:client compress: none [5234.768390655518] DEBUG:paramiko.transport:client compress: none [5235.093116760254] DEBUG:paramiko.transport:server compress: none [5235.413312911987] DEBUG:paramiko.transport:server compress: none [5235.741376876831] DEBUG:paramiko.transport:client lang: [5236.066102981567] DEBUG:paramiko.transport:client lang: [5236.381053924561] DEBUG:paramiko.transport:server lang: [5236.696481704712] DEBUG:paramiko.transport:server lang: [5237.0171546936035] DEBUG:paramiko.transport:kex follows: False [5237.345218658447] DEBUG:paramiko.transport:kex follows: False [5237.666368484497] DEBUG:paramiko.transport:=== Key exchange agreements === [5237.989664077759] DEBUG:paramiko.transport:=== Key exchange agreements === [5238.356113433838] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5238.73233795166] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [5239.108324050903] DEBUG:paramiko.transport:HostKey: ssh-rsa [5239.48860168457] DEBUG:paramiko.transport:HostKey: ssh-rsa [5239.8505210876465] DEBUG:paramiko.transport:Cipher: aes128-ctr [5240.215539932251] DEBUG:paramiko.transport:Cipher: aes128-ctr [5240.576982498169] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5240.946054458618] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [5241.30392074585] DEBUG:paramiko.transport:Compression: none [5241.656064987183] DEBUG:paramiko.transport:Compression: none [5241.969108581543] DEBUG:paramiko.transport:=== End of kex handshake === [5242.28310585022] DEBUG:paramiko.transport:=== End of kex handshake === [5244.526624679565] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [5245.357990264893] ERROR:paramiko.transport:Traceback (most recent call last): [5245.447874069214] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [5245.512008666992] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [5245.578289031982] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [5245.64266204834] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [5245.710134506226] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5245.779275894165] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [5245.846509933472] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [5245.914697647095] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [5245.981693267822] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [5246.047019958496] ERROR:paramiko.transport: sig = self.key.sign( [5246.116876602173] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [5246.18124961853] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [5246.245384216309] ERROR:paramiko.transport: [5246.586084365845] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeebbcb90 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): 0xeebbd250 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 __________________________ 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 ----------------------------- [7115.0007247924805] DEBUG:paramiko.transport:starting thread (client mode): 0xef0a2590 [7150.200605392456] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7150.587797164917] DEBUG:paramiko.transport:starting thread (server mode): 0xef0a3c90 [7151.496171951294] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7151.65638923645] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7152.091979980469] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7152.412176132202] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7152.957439422607] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7155.45654296875] DEBUG:paramiko.transport:=== Key exchange possibilities === [7155.8837890625] 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 [7155.992031097412] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7156.083583831787] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7156.174182891846] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7156.266212463379] 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 [7156.359910964966] 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 [7156.455278396606] DEBUG:paramiko.transport:client compress: none [7156.543731689453] DEBUG:paramiko.transport:server compress: none [7156.630039215088] DEBUG:paramiko.transport:client lang: [7156.724452972412] DEBUG:paramiko.transport:server lang: [7156.812906265259] DEBUG:paramiko.transport:kex follows: False [7156.903266906738] DEBUG:paramiko.transport:=== Key exchange agreements === [7157.033681869507] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7157.17077255249] DEBUG:paramiko.transport:HostKey: ssh-rsa [7157.295942306519] DEBUG:paramiko.transport:Cipher: aes128-ctr [7157.418012619019] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7157.536506652832] DEBUG:paramiko.transport:Compression: none [7157.626628875732] DEBUG:paramiko.transport:=== End of kex handshake === [7158.395290374756] DEBUG:paramiko.transport:=== Key exchange possibilities === [7158.832788467407] 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 [7159.068822860718] 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 [7159.157037734985] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7159.235000610352] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7159.312725067139] 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 [7159.4038009643555] 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 [7159.479856491089] DEBUG:paramiko.transport:client compress: none [7159.557580947876] DEBUG:paramiko.transport:server compress: none [7159.629583358765] DEBUG:paramiko.transport:client lang: [7159.704208374023] DEBUG:paramiko.transport:server lang: [7159.780979156494] DEBUG:paramiko.transport:kex follows: False [7159.85369682312] DEBUG:paramiko.transport:=== Key exchange agreements === [7159.975051879883] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7160.096645355225] DEBUG:paramiko.transport:HostKey: ssh-rsa [7160.20131111145] DEBUG:paramiko.transport:Cipher: aes128-ctr [7160.306215286255] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7160.398483276367] DEBUG:paramiko.transport:Compression: none [7160.471677780151] DEBUG:paramiko.transport:=== End of kex handshake === [7161.9532108306885] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7163.121700286865] ERROR:paramiko.transport:Traceback (most recent call last): [7163.222074508667] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7163.284778594971] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7163.34867477417] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7163.412094116211] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7163.478374481201] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7163.54513168335] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7163.61141204834] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7163.680553436279] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7163.748502731323] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7163.815498352051] ERROR:paramiko.transport: sig = self.key.sign( [7163.882255554199] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7163.949966430664] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7164.017915725708] ERROR:paramiko.transport: [7164.292573928833] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef0a2590 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): 0xef0a3c90 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________________ SSHClientTest.test_client_dsa _________________________ self = @requires_sha1_signing def test_client_dsa(self): """ verify that SSHClient works with a DSA key. """ > self._test_connection(key_filename=_support("test_dss.key")) tests/test_client.py:258: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [7390.172719955444] DEBUG:paramiko.transport:starting thread (client mode): 0xeedd9350 [7425.229787826538] DEBUG:paramiko.transport:starting thread (server mode): 0xef037ed0 [7425.474405288696] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7426.106691360474] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7426.304578781128] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7426.7754554748535] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7426.892518997192] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7427.631855010986] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7429.034948348999] DEBUG:paramiko.transport:=== Key exchange possibilities === [7429.163455963135] 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 [7429.259777069092] 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 [7429.350852966309] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7429.435014724731] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7429.521083831787] 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 [7429.61049079895] 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 [7429.696559906006] DEBUG:paramiko.transport:client compress: none [7429.780960083008] DEBUG:paramiko.transport:server compress: none [7429.863214492798] DEBUG:paramiko.transport:client lang: [7429.948091506958] DEBUG:paramiko.transport:server lang: [7430.034160614014] DEBUG:paramiko.transport:kex follows: False [7430.119037628174] DEBUG:paramiko.transport:=== Key exchange agreements === [7430.229902267456] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7430.350065231323] DEBUG:paramiko.transport:HostKey: ssh-rsa [7430.45711517334] DEBUG:paramiko.transport:Cipher: aes128-ctr [7430.561780929565] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7430.678367614746] DEBUG:paramiko.transport:Compression: none [7430.921316146851] DEBUG:paramiko.transport:=== Key exchange possibilities === [7431.131362915039] DEBUG:paramiko.transport:=== End of kex handshake === [7431.430339813232] 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 [7432.354688644409] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7432.4400424957275] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7432.515621185303] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7432.590961456299] 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 [7432.677507400513] 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 [7432.749271392822] DEBUG:paramiko.transport:client compress: none [7432.823896408081] DEBUG:paramiko.transport:server compress: none [7432.896375656128] DEBUG:paramiko.transport:client lang: [7432.9674243927] DEBUG:paramiko.transport:server lang: [7433.04443359375] DEBUG:paramiko.transport:kex follows: False [7433.115243911743] DEBUG:paramiko.transport:=== Key exchange agreements === [7433.2287311553955] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7433.3436489105225] DEBUG:paramiko.transport:HostKey: ssh-rsa [7433.997869491577] DEBUG:paramiko.transport:Cipher: aes128-ctr [7434.112787246704] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7434.200763702393] DEBUG:paramiko.transport:Compression: none [7434.270143508911] DEBUG:paramiko.transport:=== End of kex handshake === [7436.073303222656] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7437.149524688721] ERROR:paramiko.transport:Traceback (most recent call last): [7437.236785888672] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7437.30092048645] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7437.367916107178] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7437.431335449219] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7437.494993209839] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7437.561988830566] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7437.628269195557] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7437.696218490601] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7437.764883041382] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7437.830686569214] ERROR:paramiko.transport: sig = self.key.sign( [7437.8955364227295] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7437.960863113403] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7438.025236129761] ERROR:paramiko.transport: [7438.256025314331] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeedd9350 DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xef037ed0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread --------------------------- Captured stderr teardown --------------------------- [7465.261220932007] DEBUG:paramiko.transport:EOF in transport thread [7473.047971725464] 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 ----------------------------- [7594.587087631226] DEBUG:paramiko.transport:starting thread (client mode): 0xeef7b610 [7628.048419952393] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7629.8768520355225] DEBUG:paramiko.transport:starting thread (server mode): 0xeef79010 [7630.408525466919] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7630.574703216553] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7630.714416503906] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7630.857229232788] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7631.670713424683] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7633.123159408569] DEBUG:paramiko.transport:=== Key exchange possibilities === [7633.263826370239] 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 [7633.366346359253] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7633.460760116577] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7633.551836013794] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7633.644342422485] DEBUG:paramiko.transport:client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7633.739709854126] 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 [7633.832693099976] DEBUG:paramiko.transport:client compress: none [7633.920907974243] DEBUG:paramiko.transport:server compress: none [7634.013891220093] DEBUG:paramiko.transport:client lang: [7634.100437164307] DEBUG:paramiko.transport:server lang: [7634.18984413147] DEBUG:paramiko.transport:kex follows: False [7634.278774261475] DEBUG:paramiko.transport:=== Key exchange agreements === [7634.394407272339] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7634.51361656189] DEBUG:paramiko.transport:HostKey: ssh-rsa [7634.633779525757] DEBUG:paramiko.transport:Cipher: aes128-ctr [7634.955883026123] DEBUG:paramiko.transport:=== Key exchange possibilities === [7635.245323181152] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7635.6236934661865] 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 [7635.990381240845] DEBUG:paramiko.transport:Compression: none [7636.3396644592285] 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 [7636.674165725708] DEBUG:paramiko.transport:=== End of kex handshake === [7637.014865875244] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7637.9194259643555] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7638.022899627686] 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 [7638.245105743408] 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 [7638.340711593628] DEBUG:paramiko.transport:client compress: none [7638.432025909424] DEBUG:paramiko.transport:server compress: none [7638.521194458008] DEBUG:paramiko.transport:client lang: [7638.607978820801] DEBUG:paramiko.transport:server lang: [7638.838052749634] DEBUG:paramiko.transport:kex follows: False [7638.918161392212] DEBUG:paramiko.transport:=== Key exchange agreements === [7639.037370681763] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7639.169692993164] DEBUG:paramiko.transport:HostKey: ssh-rsa [7639.272928237915] DEBUG:paramiko.transport:Cipher: aes128-ctr [7639.378547668457] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7639.471054077148] DEBUG:paramiko.transport:Compression: none [7639.5416259765625] DEBUG:paramiko.transport:=== End of kex handshake === [7640.751600265503] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7641.575574874878] ERROR:paramiko.transport:Traceback (most recent call last): [7641.664743423462] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7641.728639602661] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7641.7951583862305] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7641.862392425537] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7641.929149627686] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7641.998291015625] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7642.063140869141] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7642.131567001343] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7642.199277877808] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7642.262935638428] ERROR:paramiko.transport: sig = self.key.sign( [7642.329216003418] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7642.397403717041] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7642.465829849243] ERROR:paramiko.transport: [7642.860651016235] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef7b610 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): 0xeef79010 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ______________________ SSHClientTest.test_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 ----------------------------- [7833.839416503906] DEBUG:paramiko.transport:starting thread (client mode): 0xeec0da90 [7869.101047515869] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7869.419097900391] DEBUG:paramiko.transport:starting thread (server mode): 0xeec0d510 [7870.2356815338135] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [7870.480060577393] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7870.795488357544] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7870.946407318115] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [7871.81282043457] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [7873.369455337524] DEBUG:paramiko.transport:=== Key exchange possibilities === [7873.8110065460205] 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 [7873.916387557983] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [7874.009132385254] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7874.099969863892] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7874.189376831055] 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 [7874.287128448486] 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 [7874.382495880127] DEBUG:paramiko.transport:client compress: none [7874.47190284729] DEBUG:paramiko.transport:server compress: none [7874.563455581665] DEBUG:paramiko.transport:client lang: [7874.668836593628] DEBUG:paramiko.transport:server lang: [7874.9494552612305] DEBUG:paramiko.transport:=== Key exchange possibilities === [7875.209808349609] DEBUG:paramiko.transport:kex follows: False [7875.588178634644] 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 [7875.931739807129] DEBUG:paramiko.transport:=== Key exchange agreements === [7876.281499862671] 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 [7876.668930053711] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7877.0153522491455] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7877.403020858765] DEBUG:paramiko.transport:HostKey: ssh-rsa [7877.742052078247] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [7878.120422363281] DEBUG:paramiko.transport:Cipher: aes128-ctr [7878.465890884399] 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 [7878.854274749756] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7879.213333129883] DEBUG:paramiko.transport:server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 [7879.579544067383] DEBUG:paramiko.transport:Compression: none [7879.927396774292] DEBUG:paramiko.transport:client compress: none [7880.266904830933] DEBUG:paramiko.transport:=== End of kex handshake === [7880.606651306152] DEBUG:paramiko.transport:server compress: none [7881.588935852051] DEBUG:paramiko.transport:client lang: [7881.690263748169] DEBUG:paramiko.transport:server lang: [7881.78825378418] DEBUG:paramiko.transport:kex follows: False [7881.881237030029] DEBUG:paramiko.transport:=== Key exchange agreements === [7882.021903991699] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [7882.177829742432] DEBUG:paramiko.transport:HostKey: ssh-rsa [7882.309198379517] DEBUG:paramiko.transport:Cipher: aes128-ctr [7882.437467575073] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [7882.551670074463] DEBUG:paramiko.transport:Compression: none [7882.662296295166] DEBUG:paramiko.transport:=== End of kex handshake === [7884.284734725952] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [7885.102033615112] ERROR:paramiko.transport:Traceback (most recent call last): [7885.189056396484] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [7885.254144668579] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [7885.318756103516] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [7885.381460189819] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [7885.44774055481] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7885.5140209198] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [7885.576963424683] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [7885.644912719727] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7885.710954666138] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [7885.777235031128] ERROR:paramiko.transport: sig = self.key.sign( [7885.843753814697] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [7885.909795761108] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [7885.974168777466] ERROR:paramiko.transport: [7886.356353759766] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeec0da90 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): 0xeec0d510 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org 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 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr 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 MAC: hmac-sha2-256 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 Compression: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________________ SSHClientTest.test_client_rsa _________________________ self = @requires_sha1_signing def test_client_rsa(self): """ verify that SSHClient works with an RSA key. """ > self._test_connection(key_filename=_support("test_rsa.key")) tests/test_client.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [8034.729480743408] DEBUG:paramiko.transport:starting thread (client mode): 0xeebdcfd0 [8068.27449798584] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8070.215225219727] DEBUG:paramiko.transport:starting thread (server mode): 0xeebde790 [8070.852994918823] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8071.002960205078] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8071.520090103149] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8072.097301483154] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8072.728157043457] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8073.913812637329] DEBUG:paramiko.transport:=== Key exchange possibilities === [8074.3772983551025] DEBUG:paramiko.transport:=== Key exchange possibilities === [8074.714660644531] 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 [8075.101375579834] 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 [8075.462102890015] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8075.8116245269775] 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 [8076.162815093994] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8076.514720916748] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8076.858997344971] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8077.203750610352] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8077.556133270264] 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 [8077.898979187012] 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 [8078.244924545288] 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 [8078.590154647827] 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 [8078.9594650268555] DEBUG:paramiko.transport:client compress: none [8079.303979873657] DEBUG:paramiko.transport:client compress: none [8079.643964767456] DEBUG:paramiko.transport:server compress: none [8079.986333847046] DEBUG:paramiko.transport:server compress: none [8080.334663391113] DEBUG:paramiko.transport:client lang: [8080.680847167969] DEBUG:paramiko.transport:client lang: [8081.020832061768] DEBUG:paramiko.transport:server lang: [8081.366539001465] DEBUG:paramiko.transport:server lang: [8081.712484359741] DEBUG:paramiko.transport:kex follows: False [8082.054138183594] DEBUG:paramiko.transport:kex follows: False [8082.3962688446045] DEBUG:paramiko.transport:=== Key exchange agreements === [8082.759380340576] DEBUG:paramiko.transport:=== Key exchange agreements === [8083.165407180786] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8083.558797836304] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8083.959579467773] DEBUG:paramiko.transport:HostKey: ssh-rsa [8084.382772445679] DEBUG:paramiko.transport:HostKey: ssh-rsa [8084.783554077148] DEBUG:paramiko.transport:Cipher: aes128-ctr [8085.185527801514] DEBUG:paramiko.transport:Cipher: aes128-ctr [8085.580587387085] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8085.981369018555] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8086.365222930908] DEBUG:paramiko.transport:Compression: none [8086.764812469482] DEBUG:paramiko.transport:Compression: none [8087.120532989502] DEBUG:paramiko.transport:=== End of kex handshake === [8087.469100952148] DEBUG:paramiko.transport:=== End of kex handshake === [8089.878797531128] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8090.6360149383545] ERROR:paramiko.transport:Traceback (most recent call last): [8090.75927734375] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8090.824604034424] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8090.889692306519] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8090.960264205933] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8091.025829315186] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8091.096878051758] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8091.16268157959] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8091.235876083374] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8091.30072593689] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8091.367721557617] ERROR:paramiko.transport: sig = self.key.sign( [8091.438055038452] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8091.5069580078125] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8091.573715209961] ERROR:paramiko.transport: [8091.83406829834] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeebdcfd0 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): 0xeebde790 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________ SSHClientTest.test_host_key_negotiation_2 ___________________ self = @requires_sha1_signing def test_host_key_negotiation_2(self): host_key = paramiko.RSAKey.generate(2048) > self._client_host_key_bad(host_key) tests/test_client.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:652: in _client_host_key_bad self.assertRaises( paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [8698.033094406128] DEBUG:paramiko.transport:starting thread (client mode): 0xeef3fa90 [8732.960224151611] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8733.311176300049] DEBUG:paramiko.transport:starting thread (server mode): 0xeef1bfd0 [8734.127521514893] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [8734.374523162842] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8734.71713066101] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8734.86876487732] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [8735.714435577393] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [8737.198829650879] DEBUG:paramiko.transport:=== Key exchange possibilities === [8737.543821334839] DEBUG:paramiko.transport:=== Key exchange possibilities === [8737.823009490967] 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 [8738.193273544312] 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 [8738.550662994385] 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 [8738.919258117676] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [8739.274263381958] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8739.620447158813] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8739.968299865723] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8740.315675735474] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [8740.665197372437] 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 [8741.015672683716] 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 [8741.366863250732] 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 [8741.710424423218] 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 [8742.058515548706] DEBUG:paramiko.transport:client compress: none [8742.400407791138] DEBUG:paramiko.transport:client compress: none [8742.775201797485] DEBUG:paramiko.transport:server compress: none [8743.131399154663] DEBUG:paramiko.transport:server compress: none [8743.480443954468] DEBUG:paramiko.transport:client lang: [8743.82758140564] DEBUG:paramiko.transport:client lang: [8744.170904159546] DEBUG:paramiko.transport:server lang: [8744.513750076294] DEBUG:paramiko.transport:server lang: [8744.863271713257] DEBUG:paramiko.transport:kex follows: False [8745.207071304321] DEBUG:paramiko.transport:kex follows: False [8745.55253982544] DEBUG:paramiko.transport:=== Key exchange agreements === [8745.892763137817] DEBUG:paramiko.transport:=== Key exchange agreements === [8746.273756027222] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8746.687173843384] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [8747.108697891235] DEBUG:paramiko.transport:HostKey: ssh-rsa [8747.51615524292] DEBUG:paramiko.transport:HostKey: ssh-rsa [8747.902870178223] DEBUG:paramiko.transport:Cipher: aes128-ctr [8748.295783996582] DEBUG:paramiko.transport:Cipher: aes128-ctr [8748.689651489258] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8749.08185005188] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [8749.465227127075] DEBUG:paramiko.transport:Compression: none [8749.847173690796] DEBUG:paramiko.transport:Compression: none [8750.186443328857] DEBUG:paramiko.transport:=== End of kex handshake === [8750.533819198608] DEBUG:paramiko.transport:=== End of kex handshake === [8753.056049346924] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [8754.010438919067] ERROR:paramiko.transport:Traceback (most recent call last): [8754.101276397705] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [8754.165649414062] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [8754.233121871948] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [8754.298448562622] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [8754.36520576477] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8754.437685012817] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [8754.503726959229] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [8754.570722579956] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8754.63581085205] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [8754.722833633423] ERROR:paramiko.transport: sig = self.key.sign( [8754.78982925415] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [8754.855394363403] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [8754.921197891235] ERROR:paramiko.transport: [8755.197525024414] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef3fa90 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): 0xeef1bfd0 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_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 ----------------------------- [9009.198665618896] DEBUG:paramiko.transport:starting thread (client mode): 0xeef4ffd0 [9042.235374450684] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9043.782472610474] DEBUG:paramiko.transport:starting thread (server mode): 0xeef36010 [9043.969869613647] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9044.026374816895] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9044.184446334839] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9044.229745864868] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9044.628381729126] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9045.123100280762] DEBUG:paramiko.transport:=== Key exchange possibilities === [9045.221328735352] DEBUG:paramiko.transport:=== Key exchange possibilities === [9045.30954360962] 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 [9045.412063598633] 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 [9045.502424240112] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9045.59063911438] 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 [9045.67575454712] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9045.763492584229] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9045.84789276123] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9045.931339263916] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9046.017408370972] 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 [9046.10276222229] 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 [9046.188831329346] 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 [9046.273231506348] 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 [9046.359062194824] DEBUG:paramiko.transport:client compress: none [9046.443223953247] DEBUG:paramiko.transport:client compress: none [9046.528339385986] DEBUG:paramiko.transport:server compress: none [9046.611070632935] DEBUG:paramiko.transport:server compress: none [9046.807765960693] DEBUG:paramiko.transport:client lang: [9046.875476837158] DEBUG:paramiko.transport:server lang: [9046.71859741211] DEBUG:paramiko.transport:client lang: [9046.941995620728] DEBUG:paramiko.transport:kex follows: False [9047.036409378052] DEBUG:paramiko.transport:server lang: [9047.119617462158] DEBUG:paramiko.transport:=== Key exchange agreements === [9047.364711761475] DEBUG:paramiko.transport:kex follows: False [9047.480583190918] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9047.566652297974] DEBUG:paramiko.transport:=== Key exchange agreements === [9047.674655914307] DEBUG:paramiko.transport:HostKey: ssh-rsa [9047.773599624634] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9047.876119613647] DEBUG:paramiko.transport:Cipher: aes128-ctr [9047.978401184082] DEBUG:paramiko.transport:HostKey: ssh-rsa [9048.079013824463] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9048.17795753479] DEBUG:paramiko.transport:Cipher: aes128-ctr [9048.272848129272] DEBUG:paramiko.transport:Compression: none [9048.37417602539] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9048.455715179443] DEBUG:paramiko.transport:=== End of kex handshake === [9048.548698425293] DEBUG:paramiko.transport:Compression: none [9048.86794090271] DEBUG:paramiko.transport:=== End of kex handshake === [9049.77536201477] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9050.48942565918] ERROR:paramiko.transport:Traceback (most recent call last): [9050.573348999023] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9050.634384155273] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9050.715684890747] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9050.776958465576] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9050.837755203247] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9050.899505615234] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9050.960540771484] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9051.021814346313] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9051.08380317688] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9051.14459991455] ERROR:paramiko.transport: sig = self.key.sign( [9051.205396652222] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9051.265001296997] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9051.325559616089] ERROR:paramiko.transport: [9051.449537277222] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef4ffd0 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): 0xeef36010 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 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 --------------------------- [9079.367876052856] DEBUG:paramiko.transport:EOF in transport thread [9107.112646102905] 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 ----------------------------- [9201.372146606445] DEBUG:paramiko.transport:starting thread (client mode): 0xeee42110 [9234.605312347412] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9236.191272735596] DEBUG:paramiko.transport:starting thread (server mode): 0xeee43bd0 [9236.399412155151] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9236.453771591187] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9236.609697341919] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9236.655235290527] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9236.952781677246] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9237.492561340332] DEBUG:paramiko.transport:=== Key exchange possibilities === [9237.597942352295] DEBUG:paramiko.transport:=== Key exchange possibilities === [9237.68401145935] 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 [9237.788200378418] 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 [9237.87808418274] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9237.96558380127] 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 [9238.050937652588] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9238.139629364014] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9238.224267959595] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9238.31033706665] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9238.39521408081] 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 [9238.48271369934] 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 [9238.569259643555] 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 [9238.662719726562] 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 [9238.760471343994] DEBUG:paramiko.transport:client compress: none [9238.846063613892] DEBUG:paramiko.transport:client compress: none [9238.93141746521] DEBUG:paramiko.transport:server compress: none [9239.015817642212] DEBUG:paramiko.transport:server compress: none [9239.10117149353] DEBUG:paramiko.transport:client lang: [9239.186763763428] DEBUG:paramiko.transport:client lang: [9239.269495010376] DEBUG:paramiko.transport:server lang: [9239.351272583008] DEBUG:paramiko.transport:server lang: [9239.435195922852] DEBUG:paramiko.transport:kex follows: False [9239.519596099854] DEBUG:paramiko.transport:kex follows: False [9239.601135253906] DEBUG:paramiko.transport:=== Key exchange agreements === [9239.685773849487] DEBUG:paramiko.transport:=== Key exchange agreements === [9239.786386489868] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9239.88389968872] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9239.985227584839] DEBUG:paramiko.transport:HostKey: ssh-rsa [9240.09108543396] DEBUG:paramiko.transport:HostKey: ssh-rsa [9240.192651748657] DEBUG:paramiko.transport:Cipher: aes128-ctr [9240.2925491333] DEBUG:paramiko.transport:Cipher: aes128-ctr [9240.392684936523] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9240.493297576904] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9240.588188171387] DEBUG:paramiko.transport:Compression: none [9240.681409835815] DEBUG:paramiko.transport:Compression: none [9240.762710571289] DEBUG:paramiko.transport:=== End of kex handshake === [9240.84496498108] DEBUG:paramiko.transport:=== End of kex handshake === [9242.104291915894] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9242.74492263794] ERROR:paramiko.transport:Traceback (most recent call last): [9242.839097976685] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9242.90132522583] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9242.962837219238] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9243.022680282593] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9243.083238601685] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9243.145227432251] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9243.205785751343] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9243.265867233276] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9243.326425552368] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9243.38698387146] ERROR:paramiko.transport: sig = self.key.sign( [9243.446588516235] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9243.50619316101] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9243.566274642944] ERROR:paramiko.transport: [9243.696689605713] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeee42110 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): 0xeee43bd0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ________________ SSHClientTest.test_multiple_key_files_failure _________________ self = @requires_sha1_signing def test_multiple_key_files_failure(self): """ Expect failure when multiple keys in play and none are accepted """ # Until #387 is fixed we have to catch a high-up exception since # various platforms trigger different errors here >_< > self.assertRaises( SSHException, self._test_connection, key_filename=[_support("test_rsa.key")], allowed_keys=["ecdsa-sha2-nistp256"], ) tests/test_client.py:317: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [9390.092849731445] DEBUG:paramiko.transport:starting thread (client mode): 0xeebddfd0 [9423.166751861572] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9424.740314483643] DEBUG:paramiko.transport:starting thread (server mode): 0xeebdd010 [9424.9427318573] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9424.99589920044] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9425.147294998169] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9425.191164016724] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9425.474882125854] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9425.971508026123] DEBUG:paramiko.transport:=== Key exchange possibilities === [9426.09167098999] 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 [9426.17416381836] DEBUG:paramiko.transport:=== Key exchange possibilities === [9426.252603530884] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9426.35202407837] 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 [9426.438808441162] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9426.52702331543] 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 [9426.610469818115] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9426.715612411499] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9426.811933517456] 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 [9426.898956298828] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9426.984310150146] 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 [9427.067995071411] 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 [9427.151918411255] DEBUG:paramiko.transport:client compress: none [9427.236080169678] 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 [9427.319049835205] DEBUG:paramiko.transport:server compress: none [9427.40249633789] DEBUG:paramiko.transport:client compress: none [9427.489042282104] DEBUG:paramiko.transport:client lang: [9427.574634552002] DEBUG:paramiko.transport:server compress: none [9427.656888961792] DEBUG:paramiko.transport:server lang: [9427.73962020874] DEBUG:paramiko.transport:client lang: [9427.8244972229] DEBUG:paramiko.transport:kex follows: False [9427.907943725586] DEBUG:paramiko.transport:server lang: [9427.988767623901] DEBUG:paramiko.transport:=== Key exchange agreements === [9428.071975708008] DEBUG:paramiko.transport:kex follows: False [9428.17497253418] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9428.258895874023] DEBUG:paramiko.transport:=== Key exchange agreements === [9428.359985351562] DEBUG:paramiko.transport:HostKey: ssh-rsa [9428.457975387573] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9428.557872772217] DEBUG:paramiko.transport:Cipher: aes128-ctr [9428.662538528442] DEBUG:paramiko.transport:HostKey: ssh-rsa [9428.762435913086] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9428.860425949097] DEBUG:paramiko.transport:Cipher: aes128-ctr [9428.953886032104] DEBUG:paramiko.transport:Compression: none [9429.052829742432] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9429.1353225708] DEBUG:paramiko.transport:=== End of kex handshake === [9429.228067398071] DEBUG:paramiko.transport:Compression: none [9429.613590240479] DEBUG:paramiko.transport:=== End of kex handshake === [9430.49168586731] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9431.097507476807] ERROR:paramiko.transport:Traceback (most recent call last): [9431.188106536865] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9431.250810623169] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9431.310892105103] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9431.37264251709] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9431.43367767334] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9431.495904922485] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9431.556224822998] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9431.617259979248] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9431.678056716919] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9431.738376617432] ERROR:paramiko.transport: sig = self.key.sign( [9431.798934936523] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9431.861877441406] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9431.922674179077] ERROR:paramiko.transport: [9432.054042816162] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeebddfd0 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): 0xeebdd010 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ 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 ----------------------------- [9615.098714828491] DEBUG:paramiko.transport:starting thread (client mode): 0xeef1e090 [9648.203372955322] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9649.827480316162] DEBUG:paramiko.transport:starting thread (server mode): 0xeef1c150 [9650.044441223145] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.8 [9650.100231170654] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.8 [9650.25782585144] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.8) [9650.303363800049] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9650.51817893982] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9651.175022125244] DEBUG:paramiko.transport:=== Key exchange possibilities === [9651.26371383667] DEBUG:paramiko.transport:=== Key exchange possibilities === [9651.352643966675] 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 [9651.456832885742] 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 [9651.546001434326] 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 [9651.631832122803] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9651.719808578491] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9651.80492401123] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9651.891469955444] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9651.975154876709] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9652.059555053711] 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 [9652.14204788208] 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 [9652.227640151978] 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 [9652.311086654663] 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 [9652.395009994507] DEBUG:paramiko.transport:client compress: none [9652.479648590088] DEBUG:paramiko.transport:client compress: none [9652.562379837036] DEBUG:paramiko.transport:server compress: none [9652.644634246826] DEBUG:paramiko.transport:server compress: none [9652.728796005249] DEBUG:paramiko.transport:client lang: [9652.81081199646] DEBUG:paramiko.transport:client lang: [9652.89306640625] DEBUG:paramiko.transport:server lang: [9652.973890304565] DEBUG:paramiko.transport:server lang: [9653.058052062988] DEBUG:paramiko.transport:kex follows: False [9653.141260147095] DEBUG:paramiko.transport:kex follows: False [9653.22208404541] DEBUG:paramiko.transport:=== Key exchange agreements === [9653.310060501099] DEBUG:paramiko.transport:=== Key exchange agreements === [9653.409242630005] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9653.508424758911] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9653.61499786377] DEBUG:paramiko.transport:HostKey: ssh-rsa [9653.71584892273] DEBUG:paramiko.transport:HostKey: ssh-rsa [9653.817653656006] DEBUG:paramiko.transport:Cipher: aes128-ctr [9653.916120529175] DEBUG:paramiko.transport:Cipher: aes128-ctr [9654.01577949524] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9654.115200042725] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9654.20937538147] DEBUG:paramiko.transport:Compression: none [9654.305219650269] DEBUG:paramiko.transport:Compression: none [9654.387474060059] DEBUG:paramiko.transport:=== End of kex handshake === [9654.468297958374] DEBUG:paramiko.transport:=== End of kex handshake === [9655.734062194824] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9656.34560585022] ERROR:paramiko.transport:Traceback (most recent call last): [9656.699180603027] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9656.76760673523] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9656.830549240112] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9656.890869140625] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9656.951904296875] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9657.012939453125] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9657.074213027954] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9657.135248184204] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9657.195806503296] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9657.257795333862] ERROR:paramiko.transport: sig = self.key.sign( [9657.318115234375] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9657.378196716309] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9657.43899345398] ERROR:paramiko.transport: [9657.574653625488] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef1e090 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): 0xeef1c150 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 ----------------------------- [9812.183141708374] DEBUG:paramiko.transport:starting thread (client mode): 0xef0a0190 [9845.221281051636] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [9846.832036972046] DEBUG:paramiko.transport:starting thread (server mode): 0xef0a2f50 [9847.041845321655] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-OpenSSH_7.7 [9847.095966339111] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_7.7 [9847.21326828003] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [9847.29266166687] INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.7) [9847.384452819824] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [9848.137855529785] DEBUG:paramiko.transport:=== Key exchange possibilities === [9848.230600357056] DEBUG:paramiko.transport:=== Key exchange possibilities === [9848.318338394165] 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 [9848.4206199646] 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 [9848.510265350342] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [9848.601341247559] 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 [9848.686933517456] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9848.77634048462] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9848.859071731567] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9848.942756652832] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [9849.02548789978] 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 [9849.109411239624] 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 [9849.193334579468] 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 [9849.279165267944] 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 [9849.36237335205] DEBUG:paramiko.transport:client compress: none [9849.445581436157] DEBUG:paramiko.transport:client compress: none [9849.527359008789] DEBUG:paramiko.transport:server compress: none [9849.609851837158] DEBUG:paramiko.transport:server compress: none [9849.692106246948] DEBUG:paramiko.transport:client lang: [9849.774837493896] DEBUG:paramiko.transport:client lang: [9849.85637664795] DEBUG:paramiko.transport:server lang: [9849.937438964844] DEBUG:paramiko.transport:server lang: [9850.020170211792] DEBUG:paramiko.transport:kex follows: False [9850.103855133057] DEBUG:paramiko.transport:kex follows: False [9850.18515586853] DEBUG:paramiko.transport:=== Key exchange agreements === [9850.270509719849] DEBUG:paramiko.transport:=== Key exchange agreements === [9850.366830825806] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9850.462436676025] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [9850.562334060669] DEBUG:paramiko.transport:HostKey: ssh-rsa [9850.682735443115] DEBUG:paramiko.transport:HostKey: ssh-rsa [9850.792407989502] DEBUG:paramiko.transport:Cipher: aes128-ctr [9850.893497467041] DEBUG:paramiko.transport:Cipher: aes128-ctr [9850.993871688843] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9851.094722747803] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [9851.189613342285] DEBUG:paramiko.transport:Compression: none [9851.28378868103] DEBUG:paramiko.transport:Compression: none [9851.365089416504] DEBUG:paramiko.transport:=== End of kex handshake === [9851.445436477661] DEBUG:paramiko.transport:=== End of kex handshake === [9852.675437927246] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [9853.273153305054] ERROR:paramiko.transport:Traceback (most recent call last): [9853.35659980774] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [9853.419780731201] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [9853.480815887451] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [9853.540897369385] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [9853.600025177002] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9853.66153717041] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [9853.722333908081] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [9853.784799575806] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [9853.845834732056] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [9853.90591621399] ERROR:paramiko.transport: sig = self.key.sign( [9853.965759277344] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [9854.025602340698] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [9854.085206985474] ERROR:paramiko.transport: [9854.213237762451] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef0a0190 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): 0xef0a2f50 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 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client OpenSSH_7.7) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread ___ PasswordPassphraseTests.test_passphrase_kwarg_not_used_for_password_auth ___ self = @requires_sha1_signing def test_passphrase_kwarg_not_used_for_password_auth(self): with pytest.raises(SSHException): # Using the "right" password in the "wrong" field shouldn't work. > self._test_connection(passphrase="pygmalion") tests/test_client.py:816: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10195.929288864136] DEBUG:paramiko.transport:starting thread (client mode): 0xeef3cf50 [10196.24400138855] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10230.29613494873] DEBUG:paramiko.transport:starting thread (server mode): 0xeef3c590 [10230.482578277588] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10230.533361434937] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10230.697870254517] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10230.74197769165] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10230.985164642334] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10231.510162353516] DEBUG:paramiko.transport:=== Key exchange possibilities === [10231.613636016846] DEBUG:paramiko.transport:=== Key exchange possibilities === [10231.701135635376] 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 [10231.80365562439] 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 [10231.894254684448] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10231.982707977295] 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 [10232.068538665771] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10232.158184051514] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10232.242822647095] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10232.327222824097] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10232.412815093994] 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 [10232.496738433838] 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 [10232.580423355103] 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 [10232.663631439209] 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 [10232.746839523315] DEBUG:paramiko.transport:client compress: none [10232.828378677368] DEBUG:paramiko.transport:client compress: none [10232.909440994263] DEBUG:paramiko.transport:server compress: none [10232.990980148315] DEBUG:paramiko.transport:server compress: none [10233.073472976685] DEBUG:paramiko.transport:client lang: [10233.155965805054] DEBUG:paramiko.transport:client lang: [10233.237504959106] DEBUG:paramiko.transport:server lang: [10233.319759368896] DEBUG:paramiko.transport:server lang: [10233.402967453003] DEBUG:paramiko.transport:kex follows: False [10233.485460281372] DEBUG:paramiko.transport:kex follows: False [10233.567953109741] DEBUG:paramiko.transport:=== Key exchange agreements === [10233.649969100952] DEBUG:paramiko.transport:=== Key exchange agreements === [10233.747720718384] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10233.844757080078] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10233.94775390625] DEBUG:paramiko.transport:HostKey: ssh-rsa [10234.05385017395] DEBUG:paramiko.transport:HostKey: ssh-rsa [10234.153985977173] DEBUG:paramiko.transport:Cipher: aes128-ctr [10234.255313873291] DEBUG:paramiko.transport:Cipher: aes128-ctr [10234.356880187988] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10234.458208084106] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10234.553337097168] DEBUG:paramiko.transport:Compression: none [10234.656810760498] DEBUG:paramiko.transport:Compression: none [10234.745740890503] DEBUG:paramiko.transport:=== End of kex handshake === [10234.830856323242] DEBUG:paramiko.transport:=== End of kex handshake === [10235.932350158691] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10236.557960510254] ERROR:paramiko.transport:Traceback (most recent call last): [10236.640930175781] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10236.703395843506] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10236.764907836914] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10236.825942993164] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10236.887454986572] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10236.949920654297] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10237.010955810547] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10237.071990966797] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10237.131357192993] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10237.191438674927] ERROR:paramiko.transport: sig = self.key.sign( [10237.25152015686] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10237.311124801636] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10237.37120628357] ERROR:paramiko.transport: [10237.486600875854] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef3cf50 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): 0xeef3c590 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_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 ----------------------------- [10415.378332138062] DEBUG:paramiko.transport:starting thread (client mode): 0xeee84f10 [10449.855327606201] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10449.951648712158] DEBUG:paramiko.transport:starting thread (server mode): 0xeedd9f50 [10450.231552124023] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10450.28805732727] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10450.445890426636] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10450.491189956665] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10450.765609741211] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10451.353073120117] DEBUG:paramiko.transport:=== Key exchange possibilities === [10451.474666595459] 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 [10451.55930519104] DEBUG:paramiko.transport:=== Key exchange possibilities === [10451.637506484985] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10451.738357543945] 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 [10451.827049255371] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10451.916694641113] 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 [10452.001810073853] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10452.09264755249] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10452.175378799438] 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 [10452.260971069336] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10452.345371246338] 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 [10452.429056167603] 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 [10452.514171600342] DEBUG:paramiko.transport:client compress: none [10452.598810195923] 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 [10452.682256698608] DEBUG:paramiko.transport:server compress: none [10452.764511108398] DEBUG:paramiko.transport:client compress: none [10452.84628868103] DEBUG:paramiko.transport:client lang: [10452.92854309082] DEBUG:paramiko.transport:server compress: none [10453.009605407715] DEBUG:paramiko.transport:server lang: [10453.092336654663] DEBUG:paramiko.transport:client lang: [10453.176021575928] DEBUG:paramiko.transport:kex follows: False [10453.258514404297] DEBUG:paramiko.transport:server lang: [10453.338861465454] DEBUG:paramiko.transport:=== Key exchange agreements === [10453.427791595459] DEBUG:paramiko.transport:kex follows: False [10453.525066375732] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10453.608512878418] DEBUG:paramiko.transport:=== Key exchange agreements === [10453.709125518799] DEBUG:paramiko.transport:HostKey: ssh-rsa [10453.806400299072] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10453.906774520874] DEBUG:paramiko.transport:Cipher: aes128-ctr [10454.014778137207] DEBUG:paramiko.transport:HostKey: ssh-rsa [10454.114198684692] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10454.213857650757] DEBUG:paramiko.transport:Cipher: aes128-ctr [10454.30850982666] DEBUG:paramiko.transport:Compression: none [10454.408407211304] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10454.493045806885] DEBUG:paramiko.transport:=== End of kex handshake === [10454.588651657104] DEBUG:paramiko.transport:Compression: none [10455.022096633911] DEBUG:paramiko.transport:=== End of kex handshake === [10455.955982208252] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10456.56418800354] ERROR:paramiko.transport:Traceback (most recent call last): [10456.647396087646] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10456.710815429688] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10456.774234771729] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10456.835269927979] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10456.89582824707] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10456.957817077637] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10457.019805908203] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10457.080364227295] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10457.14020729065] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10457.199096679688] ERROR:paramiko.transport: sig = self.key.sign( [10457.2594165802] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10457.319736480713] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10457.379579544067] ERROR:paramiko.transport: [10457.51166343689] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeee84f10 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): 0xeedd9f50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _ PasswordPassphraseTests.test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given _ self = @requires_sha1_signing def test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given( # noqa self, ): # Sanity: if we're given both fields, the password field is NOT used as # a passphrase. with pytest.raises(AuthenticationException): > self._test_connection( key_filename=_support("test_rsa_password.key"), password="television", passphrase="wat? lol no", ) tests/test_client.py:843: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_client.py:208: in _test_connection self.tc.connect(**dict(self.connect_kwargs, **kwargs)) paramiko/client.py:430: in connect t.start_client(timeout=timeout) paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [10604.732990264893] DEBUG:paramiko.transport:starting thread (client mode): 0xeee73f50 [10637.719631195068] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10639.30869102478] DEBUG:paramiko.transport:starting thread (server mode): 0xeee60310 [10639.523983001709] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10639.578819274902] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10639.735460281372] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10639.781475067139] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10639.99342918396] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10640.642166137695] DEBUG:paramiko.transport:=== Key exchange possibilities === [10640.73371887207] DEBUG:paramiko.transport:=== Key exchange possibilities === [10640.820503234863] 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 [10640.923738479614] 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 [10641.013860702515] 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 [10641.101121902466] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10641.191244125366] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10641.27516746521] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10641.360521316528] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10641.44492149353] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10641.52979850769] 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 [10641.613006591797] 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 [10641.697406768799] 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 [10641.779661178589] 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 [10641.863107681274] DEBUG:paramiko.transport:client compress: none [10641.945600509644] DEBUG:paramiko.transport:client compress: none [10642.027139663696] DEBUG:paramiko.transport:server compress: none [10642.10844039917] DEBUG:paramiko.transport:server compress: none [10642.19069480896] DEBUG:paramiko.transport:client lang: [10642.272472381592] DEBUG:paramiko.transport:client lang: [10642.354011535645] DEBUG:paramiko.transport:server lang: [10642.436027526855] DEBUG:paramiko.transport:server lang: [10642.5199508667] DEBUG:paramiko.transport:kex follows: False [10642.602682113647] DEBUG:paramiko.transport:kex follows: False [10642.711639404297] DEBUG:paramiko.transport:=== Key exchange agreements === [10642.798662185669] DEBUG:paramiko.transport:=== Key exchange agreements === [10642.898321151733] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10642.996072769165] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10643.102884292603] DEBUG:paramiko.transport:HostKey: ssh-rsa [10643.203973770142] DEBUG:paramiko.transport:HostKey: ssh-rsa [10643.303155899048] DEBUG:paramiko.transport:Cipher: aes128-ctr [10643.402338027954] DEBUG:paramiko.transport:Cipher: aes128-ctr [10643.502473831177] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10643.603324890137] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10643.699169158936] DEBUG:paramiko.transport:Compression: none [10643.794298171997] DEBUG:paramiko.transport:Compression: none [10643.87845993042] DEBUG:paramiko.transport:=== End of kex handshake === [10643.960952758789] DEBUG:paramiko.transport:=== End of kex handshake === [10645.159006118774] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10645.760774612427] ERROR:paramiko.transport:Traceback (most recent call last): [10645.846843719482] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10645.909070968628] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10645.969867706299] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10646.030902862549] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10646.091938018799] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10646.15273475647] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10646.211862564087] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10646.27194404602] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10646.332740783691] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10646.392345428467] ERROR:paramiko.transport: sig = self.key.sign( [10646.450996398926] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10646.511316299438] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10646.571397781372] ERROR:paramiko.transport: [10646.790981292725] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeee73f50 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): 0xeee60310 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 _ 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 ----------------------------- [10837.669372558594] DEBUG:paramiko.transport:starting thread (client mode): 0xef013bd0 [10870.787620544434] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10872.366666793823] DEBUG:paramiko.transport:starting thread (server mode): 0xef013a90 [10872.61986732483] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [10872.677326202393] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10872.833251953125] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10872.878551483154] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [10873.178243637085] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [10873.699188232422] DEBUG:paramiko.transport:=== Key exchange possibilities === [10873.809337615967] DEBUG:paramiko.transport:=== Key exchange possibilities === [10873.895645141602] 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 [10873.999834060669] 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 [10874.090194702148] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [10874.177694320679] 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 [10874.262809753418] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10874.353170394897] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10874.439001083374] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10874.523878097534] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [10874.606847763062] 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 [10874.75562095642] 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 [10874.852657318115] 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 [10874.939441680908] 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 [10875.025510787964] DEBUG:paramiko.transport:client compress: none [10875.109910964966] DEBUG:paramiko.transport:client compress: none [10875.194072723389] DEBUG:paramiko.transport:server compress: none [10875.277757644653] DEBUG:paramiko.transport:server compress: none [10875.360488891602] DEBUG:paramiko.transport:client lang: [10875.44298171997] DEBUG:paramiko.transport:client lang: [10875.524997711182] DEBUG:paramiko.transport:server lang: [10875.607252120972] DEBUG:paramiko.transport:server lang: [10875.692129135132] DEBUG:paramiko.transport:kex follows: False [10875.774621963501] DEBUG:paramiko.transport:kex follows: False [10875.860452651978] DEBUG:paramiko.transport:=== Key exchange agreements === [10875.941276550293] DEBUG:paramiko.transport:=== Key exchange agreements === [10876.039266586304] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10876.136064529419] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [10876.238107681274] DEBUG:paramiko.transport:HostKey: ssh-rsa [10876.344919204712] DEBUG:paramiko.transport:HostKey: ssh-rsa [10876.444578170776] DEBUG:paramiko.transport:Cipher: aes128-ctr [10876.545429229736] DEBUG:paramiko.transport:Cipher: aes128-ctr [10876.647233963013] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10876.748323440552] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [10876.845121383667] DEBUG:paramiko.transport:Compression: none [10876.941442489624] DEBUG:paramiko.transport:Compression: none [10877.02488899231] DEBUG:paramiko.transport:=== End of kex handshake === [10877.10690498352] DEBUG:paramiko.transport:=== End of kex handshake === [10878.42583656311] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [10879.045009613037] ERROR:paramiko.transport:Traceback (most recent call last): [10879.13966178894] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [10879.202842712402] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [10879.263639450073] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [10879.323720932007] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [10879.38404083252] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10879.445314407349] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [10879.505157470703] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [10879.565477371216] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10879.626274108887] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [10879.688024520874] ERROR:paramiko.transport: sig = self.key.sign( [10879.748821258545] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [10879.8086643219] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [10879.867792129517] ERROR:paramiko.transport: [10880.001068115234] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef013bd0 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): 0xef013a90 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 ----------------------------- [11028.165817260742] DEBUG:paramiko.transport:starting thread (client mode): 0xeef78a50 [11061.27667427063] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11062.73365020752] DEBUG:paramiko.transport:starting thread (server mode): 0xeef7aa50 [11063.01236152649] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [11063.06767463684] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11063.221216201782] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11063.266515731812] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [11063.528299331665] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [11064.071655273438] DEBUG:paramiko.transport:=== Key exchange possibilities === [11064.187288284302] DEBUG:paramiko.transport:=== Key exchange possibilities === [11064.27550315857] 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 [11064.377546310425] 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 [11064.467430114746] DEBUG:paramiko.transport:server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa [11064.555644989014] 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 [11064.640522003174] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11064.728021621704] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11064.812421798706] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11064.89634513855] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [11064.979791641235] 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 [11065.062522888184] 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 [11065.147161483765] 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 [11065.229654312134] 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 [11065.312147140503] DEBUG:paramiko.transport:client compress: none [11065.395593643188] DEBUG:paramiko.transport:client compress: none [11065.478563308716] DEBUG:paramiko.transport:server compress: none [11065.560340881348] DEBUG:paramiko.transport:server compress: none [11065.643072128296] DEBUG:paramiko.transport:client lang: [11065.72437286377] DEBUG:paramiko.transport:client lang: [11065.806865692139] DEBUG:paramiko.transport:server lang: [11065.890073776245] DEBUG:paramiko.transport:server lang: [11065.974712371826] DEBUG:paramiko.transport:kex follows: False [11066.059589385986] DEBUG:paramiko.transport:kex follows: False [11066.146612167358] DEBUG:paramiko.transport:=== Key exchange agreements === [11066.226243972778] DEBUG:paramiko.transport:=== Key exchange agreements === [11066.324234008789] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11066.420793533325] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [11066.521883010864] DEBUG:paramiko.transport:HostKey: ssh-rsa [11066.629648208618] DEBUG:paramiko.transport:HostKey: ssh-rsa [11066.754817962646] DEBUG:paramiko.transport:Cipher: aes128-ctr [11066.858291625977] DEBUG:paramiko.transport:Cipher: aes128-ctr [11066.9584274292] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11067.058324813843] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [11067.153453826904] DEBUG:paramiko.transport:Compression: none [11067.249536514282] DEBUG:paramiko.transport:Compression: none [11067.33250617981] DEBUG:paramiko.transport:=== End of kex handshake === [11067.415714263916] DEBUG:paramiko.transport:=== End of kex handshake === [11068.647146224976] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [11069.270133972168] ERROR:paramiko.transport:Traceback (most recent call last): [11069.354057312012] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [11069.416522979736] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [11069.478273391724] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [11069.538831710815] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [11069.599866867065] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11069.660663604736] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [11069.721221923828] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [11069.782018661499] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11069.843292236328] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [11069.905042648315] ERROR:paramiko.transport: sig = self.key.sign( [11069.966316223145] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [11070.026397705078] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [11070.087194442749] ERROR:paramiko.transport: [11070.219993591309] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xeef78a50 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): 0xeef7aa50 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ecdsa-sha2-nistp256, rsa-sha2-512, rsa-sha2-256, ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256, ssh-dss, ssh-rsa-cert-v01@openssh.com, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread __________________________ KeyTest.test_generate_rsa ___________________________ self = @requires_sha1_signing def test_generate_rsa(self): key = RSAKey.generate(1024) > msg = key.sign_ssh_data(b"jerri blank") tests/test_pkey.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , data = b'jerri blank' algorithm = 'ssh-rsa' def sign_ssh_data(self, data, algorithm="ssh-rsa"): > sig = self.key.sign( data, padding=padding.PKCS1v15(), algorithm=self.HASHES[algorithm](), ) E cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. paramiko/rsakey.py:118: UnsupportedAlgorithm _____________________ KeyTest.test_sign_and_verify_ssh_rsa _____________________ self = @requires_sha1_signing def test_sign_and_verify_ssh_rsa(self): > self._sign_and_verify_rsa("ssh-rsa", SIGNED_RSA) tests/test_pkey.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_pkey.py:252: in _sign_and_verify_rsa msg = key.sign_ssh_data(b"ice weasels", algorithm) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , data = b'ice weasels' algorithm = 'ssh-rsa' def sign_ssh_data(self, data, algorithm="ssh-rsa"): > sig = self.key.sign( data, padding=padding.PKCS1v15(), algorithm=self.HASHES[algorithm](), ) E cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. paramiko/rsakey.py:118: UnsupportedAlgorithm __ TestSHA2SignatureKeyExchange.test_base_case_ssh_rsa_still_used_as_fallback __ self = @requires_sha1_signing def test_base_case_ssh_rsa_still_used_as_fallback(self): # Prove that ssh-rsa is used if either, or both, participants have SHA2 # algorithms disabled for which in ("init", "client_init", "server_init"): > with server(**{which: _disable_sha2}) as (tc, _): tests/test_transport.py:1296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/test_transport.py:1253: in server tc.connect(**connect) paramiko/transport.py:1351: in connect self.start_client() paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [78831.37345314026] DEBUG:paramiko.transport:starting thread (server mode): 0xef0a78d0 [78831.5155506134] DEBUG:paramiko.transport:starting thread (client mode): 0xef0a49d0 [78831.62069320679] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [78831.73775672913] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [78831.83717727661] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [78831.93325996399] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [78832.02028274536] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [78832.10802078247] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [78832.72409439087] DEBUG:paramiko.transport:=== Key exchange possibilities === [78832.82423019409] DEBUG:paramiko.transport:=== Key exchange possibilities === [78832.91149139404] 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 [78833.01210403442] 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 [78833.0991268158] DEBUG:paramiko.transport:server key: ssh-rsa [78833.18495750427] 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 [78833.26888084412] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78833.35447311401] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78833.43720436096] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78833.52017402649] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [78833.60457420349] 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 [78833.68825912476] 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 [78833.77289772034] 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 [78833.85682106018] 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 [78833.93931388855] DEBUG:paramiko.transport:client compress: none [78834.02252197266] DEBUG:paramiko.transport:client compress: none [78834.10549163818] DEBUG:paramiko.transport:server compress: none [78834.18893814087] DEBUG:paramiko.transport:server compress: none [78834.27214622498] DEBUG:paramiko.transport:client lang: [78834.35440063477] DEBUG:paramiko.transport:client lang: [78834.43665504456] DEBUG:paramiko.transport:server lang: [78834.5205783844] DEBUG:paramiko.transport:server lang: [78834.60593223572] DEBUG:paramiko.transport:kex follows: False [78834.70153808594] DEBUG:paramiko.transport:kex follows: False [78834.79070663452] DEBUG:paramiko.transport:=== Key exchange agreements === [78834.87391471863] DEBUG:paramiko.transport:=== Key exchange agreements === [78834.9723815918] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [78835.07561683655] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [78835.17742156982] DEBUG:paramiko.transport:HostKey: ssh-rsa [78835.28399467468] DEBUG:paramiko.transport:HostKey: ssh-rsa [78835.38460731506] DEBUG:paramiko.transport:Cipher: aes128-ctr [78835.4845046997] DEBUG:paramiko.transport:Cipher: aes128-ctr [78835.58535575867] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [78835.68549156189] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [78835.78252792358] DEBUG:paramiko.transport:Compression: none [78835.87789535522] DEBUG:paramiko.transport:Compression: none [78835.96086502075] DEBUG:paramiko.transport:=== End of kex handshake === [78836.04168891907] DEBUG:paramiko.transport:=== End of kex handshake === [78837.06736564636] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [78837.82458305359] ERROR:paramiko.transport:Traceback (most recent call last): [78837.91255950928] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [78837.97574043274] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [78838.03629875183] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [78838.09781074524] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [78838.15908432007] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [78838.22131156921] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [78838.28282356262] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [78838.3436203003] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [78838.40465545654] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [78838.4656906128] ERROR:paramiko.transport: sig = self.key.sign( [78838.52672576904] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [78838.58871459961] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [78838.66214752197] ERROR:paramiko.transport: [78936.42497062683] DEBUG:paramiko.transport:EOF in transport thread ------------------------------ Captured log call ------------------------------- DEBUG paramiko.transport:transport.py:1873 starting thread (server mode): 0xef0a78d0 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xef0a49d0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Local version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 DEBUG paramiko.transport:transport.py:1873 Remote version/idstring: SSH-2.0-paramiko_3.1.0 INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) INFO paramiko.transport:transport.py:1873 Connected (version 2.0, client paramiko_3.1.0) DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 === Key exchange possibilities === DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1 DEBUG paramiko.transport:transport.py:1873 kex algos: curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, ext-info-c DEBUG paramiko.transport:transport.py:1873 server key: ssh-rsa DEBUG paramiko.transport:transport.py:1873 server key: ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa, ssh-dss, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, ssh-rsa-cert-v01@openssh.com, ssh-dss-cert-v01@openssh.com DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 server mac: hmac-sha2-256, hmac-sha2-512, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1, hmac-md5, hmac-sha1-96, hmac-md5-96 DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 client compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 server compress: none DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 client lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 server lang: DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 kex follows: False DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 === Key exchange agreements === DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 Kex: curve25519-sha256@libssh.org DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 HostKey: ssh-rsa DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 Cipher: aes128-ctr DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 MAC: hmac-sha2-256 DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 Compression: none DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === DEBUG paramiko.transport:transport.py:1873 === End of kex handshake === ERROR paramiko.transport:transport.py:1873 Unknown exception: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 Traceback (most recent call last): ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run ERROR paramiko.transport:transport.py:1871 self.kex_engine.parse_next(ptype, m) ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next ERROR paramiko.transport:transport.py:1871 return self._parse_kexecdh_init(m) ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init ERROR paramiko.transport:transport.py:1871 sig = self.transport.get_server_key().sign_ssh_data( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data ERROR paramiko.transport:transport.py:1871 sig = self.key.sign( ERROR paramiko.transport:transport.py:1871 ^^^^^^^^^^^^^^ ERROR paramiko.transport:transport.py:1871 cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. ERROR paramiko.transport:transport.py:1871 DEBUG paramiko.transport:transport.py:1873 EOF in transport thread _____ TestSHA2SignaturePubkeys.test_ssh_rsa_still_used_when_sha2_disabled ______ self = @requires_sha1_signing def test_ssh_rsa_still_used_when_sha2_disabled(self): privkey = RSAKey.from_private_key_file(_support("test_rsa.key")) # NOTE: this works because key obj comparison uses public bytes # TODO: would be nice for PKey to grow a legit "give me another obj of # same class but just the public bits" using asbytes() > with server( pubkeys=[privkey], connect=dict(pkey=privkey), init=_disable_sha2 ) as (tc, _): tests/test_transport.py:1420: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/test_transport.py:1253: in server tc.connect(**connect) paramiko/transport.py:1351: in connect self.start_client() paramiko/transport.py:704: in start_client raise e paramiko/transport.py:2109: in run ptype, m = self.packetizer.read_message() paramiko/packet.py:453: in read_message header = self.read_all(self.__block_size_in, check_rekey=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , n = 8 check_rekey = True def read_all(self, n, check_rekey=False): """ Read as close to N bytes as possible, blocking as long as necessary. :param int n: number of bytes to read :return: the data read, as a `str` :raises: ``EOFError`` -- if the socket was closed before all the bytes could be read """ out = bytes() # handle over-reading from reading the banner line if len(self.__remainder) > 0: out = self.__remainder[:n] self.__remainder = self.__remainder[n:] n -= len(out) while n > 0: got_timeout = False if self.handshake_timed_out(): raise EOFError() try: x = self.__socket.recv(n) if len(x) == 0: > raise EOFError() E EOFError paramiko/packet.py:303: EOFError ----------------------------- Captured stderr call ----------------------------- [80022.96423912048] DEBUG:paramiko.transport:EOF in transport thread [80023.03194999695] DEBUG:paramiko.transport:EOF in transport thread [80056.31566047668] DEBUG:paramiko.transport:starting thread (server mode): 0xee8801d0 [80056.44488334656] DEBUG:paramiko.transport:starting thread (client mode): 0xee849fd0 [80056.54168128967] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80056.65731430054] DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0 [80056.75458908081] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80056.85067176819] DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-paramiko_3.1.0 [80056.93650245667] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80057.02304840088] INFO:paramiko.transport:Connected (version 2.0, client paramiko_3.1.0) [80057.6446056366] DEBUG:paramiko.transport:=== Key exchange possibilities === [80057.74116516113] DEBUG:paramiko.transport:=== Key exchange possibilities === [80057.82556533813] 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 [80057.92570114136] 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 [80058.01439285278] DEBUG:paramiko.transport:server key: ssh-rsa [80058.09926986694] 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 [80058.18295478821] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80058.2685470581] DEBUG:paramiko.transport:client encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80058.35580825806] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80058.44044685364] DEBUG:paramiko.transport:server encrypt: aes128-ctr, aes192-ctr, aes256-ctr, aes128-cbc, aes192-cbc, aes256-cbc, 3des-cbc [80058.52603912354] 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 [80058.60996246338] 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 [80058.70985984802] 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 [80058.80093574524] 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 [80058.88557434082] DEBUG:paramiko.transport:client compress: none [80058.9690208435] DEBUG:paramiko.transport:client compress: none [80059.05508995056] DEBUG:paramiko.transport:server compress: none [80059.13734436035] DEBUG:paramiko.transport:server compress: none [80059.2212677002] DEBUG:paramiko.transport:client lang: [80059.30399894714] DEBUG:paramiko.transport:client lang: [80059.38744544983] DEBUG:paramiko.transport:server lang: [80059.46826934814] DEBUG:paramiko.transport:server lang: [80059.55266952515] DEBUG:paramiko.transport:kex follows: False [80059.63659286499] DEBUG:paramiko.transport:kex follows: False [80059.72051620483] DEBUG:paramiko.transport:=== Key exchange agreements === [80059.80372428894] DEBUG:paramiko.transport:=== Key exchange agreements === [80059.90052223206] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80059.99946594238] DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org [80060.1019859314] DEBUG:paramiko.transport:HostKey: ssh-rsa [80060.20736694336] DEBUG:paramiko.transport:HostKey: ssh-rsa [80060.3096485138] DEBUG:paramiko.transport:Cipher: aes128-ctr [80060.41097640991] DEBUG:paramiko.transport:Cipher: aes128-ctr [80060.51254272461] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80060.61291694641] DEBUG:paramiko.transport:MAC: hmac-sha2-256 [80060.70804595947] DEBUG:paramiko.transport:Compression: none [80060.80293655396] DEBUG:paramiko.transport:Compression: none [80060.88733673096] DEBUG:paramiko.transport:=== End of kex handshake === [80060.96911430359] DEBUG:paramiko.transport:=== End of kex handshake === [80061.98644638062] ERROR:paramiko.transport:Unknown exception: sha1 is not supported by this backend for RSA signing. [80062.57629394531] ERROR:paramiko.transport:Traceback (most recent call last): [80062.67714500427] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/transport.py", line 2129, in run [80062.79587745667] ERROR:paramiko.transport: self.kex_engine.parse_next(ptype, m) [80062.85905838013] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 62, in parse_next [80062.92009353638] ERROR:paramiko.transport: return self._parse_kexecdh_init(m) [80062.98041343689] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80063.03977966309] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/kex_curve25519.py", line 92, in _parse_kexecdh_init [80063.0989074707] ERROR:paramiko.transport: sig = self.transport.get_server_key().sign_ssh_data( [80063.15803527832] ERROR:paramiko.transport: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [80063.21811676025] ERROR:paramiko.transport: File "/builddir/build/BUILD/paramiko-3.1.0/paramiko/rsakey.py", line 118, in sign_ssh_data [80063.27724456787] ERROR:paramiko.transport: sig = self.key.sign( [80063.3373260498] ERROR:paramiko.transport: ^^^^^^^^^^^^^^ [80063.3978843689] ERROR:paramiko.transport:cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing. [80063.45868110657] ERROR:paramiko.transport: [80088.7393951416] DEBUG:paramiko.transport:EOF in transport thread [80088.91677856445] DEBUG:paramiko.transport:EOF in transport thread [80161.35311126709] 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): 0xee8801d0 DEBUG paramiko.transport:transport.py:1873 starting thread (client mode): 0xee849fd0 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.64s (0:01:19) ====== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.U6jPKk (%check) Bad exit status from /var/tmp/rpm-tmp.U6jPKk (%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