Package Details: python-ssh2 1.0.0-1

Git Clone URL: https://aur.archlinux.org/python-ssh2.git (read-only, click to copy)
Package Base: python-ssh2
Description: Python bindings for libssh2
Upstream URL: https://github.com/parallel-ssh/ssh2-python/
Licenses: GPL
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 0
Popularity: 0.000000
First Submitted: 2019-04-11 20:23 (UTC)
Last Updated: 2024-04-29 18:45 (UTC)

Latest Comments

Strykar commented on 2024-02-14 16:44 (UTC)

ssh2/utils.pyx:166: AuthenticationError
======================================================================================================= short test summary info ========================================================================================================
FAILED tests/test_channel.py::ChannelTestCase::test_agent_forwarding - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_execute - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_exit_code - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_init - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_long_running_execute - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_process_startup - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_pty - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_pty_failure - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_read_file - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_read_stderr - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_setenv - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_shell - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_write_ex - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_write_stderr - ssh2.exceptions.AuthenticationError
FAILED tests/test_channel.py::ChannelTestCase::test_write_stdin - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_add_writefile - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_check - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_knownhost_add_get_delete - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_knownhost_init - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_knownhost_readfile_get - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_readline_writeline - ssh2.exceptions.AuthenticationError
FAILED tests/test_knownhost.py::KnownHostTestCase::test_writefile - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_direct_tcpip - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_forward_listen_ex - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_fromfile_auth - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_hostkey - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_non_blocking - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_pubkey_auth - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_publickey_frommemory - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_publickey_frommemory_no_publickey - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_publickey_frommemory_passphrase - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_scp_recv - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_scp_recv2 - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_scp_send - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_scp_send64 - ssh2.exceptions.AuthenticationError
FAILED tests/test_session.py::SessionTestCase::test_session_get_set - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_fstatvfs - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_fsync - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_handle_open_nonblocking - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_init - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_mkdir - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_readdir - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_readdir_ex - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_readdir_failure - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_readdir_nonblocking - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_realpath - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_realpath_failure - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_sftp_fstat - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_sftp_read - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_sftp_setstat - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_sftp_stat - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_sftp_symlink_realpath_lstat - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_sftp_write - ssh2.exceptions.AuthenticationError
FAILED tests/test_sftp.py::SFTPTestCase::test_statvfs - ssh2.exceptions.AuthenticationError
==================================================================================================== 54 failed, 30 passed in 5.03s =====================================================================================================
==> ERROR: A failure occurred in check().
    Aborting...

BoostCookie commented on 2022-08-31 10:25 (UTC) (edited on 2022-08-31 12:11 (UTC) by BoostCookie)

The check() results in an error for me:

=============== short test summary info ================
ERROR tests/base_test.py
ERROR tests/test_agent.py
ERROR tests/test_channel.py
ERROR tests/test_knownhost.py
ERROR tests/test_session.py
ERROR tests/test_sftp.py
!!!!!!! Interrupted: 6 errors during collection !!!!!!!!
================== 6 errors in 0.13s ===================
==> ERROR: A failure occurred in check().
    Aborting...

EDIT: One problem is that python-jinja is missing as a dependency. After installing it I still get errors from the test though:

============================================================ short test summary info =============================================================
FAILED tests/test_agent.py::SessionTestCase::test_agent_get_identities - ssh2.exceptions.AgentConnectionError: Unable to connect to agent
FAILED tests/test_agent.py::SessionTestCase::test_agent_id_path - ssh2.exceptions.AgentConnectionError: Unable to connect to agent
FAILED tests/test_session.py::SessionTestCase::test_agent - ssh2.exceptions.AgentConnectionError: Unable to connect to agent
FAILED tests/test_session.py::SessionTestCase::test_failed_agent_auth - ssh2.exceptions.AgentConnectionError: Unable to connect to agent
==================================================== 4 failed, 79 passed, 1 skipped in 8.98s =====================================================