Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wezterm-ssh] libssh backend hangs and ssh2 backend fails with success = false for cmd.exe /C echo %OS% #2456

Open
chipsenkbeil opened this issue Aug 25, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@chipsenkbeil
Copy link
Contributor

chipsenkbeil commented Aug 25, 2022

What Operating System(s) are you seeing this problem on?

macOS (12.4 on MacBook Air (M1, 2020))

Remote machine is Windows 11 Home version 21H2

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

wezterm-ssh 0.4.0

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

When attempting to run wezterm_ssh::Session::exec, I'm seeing odd behavior when connected from a Unix host (MacOS) to a Windows remote machine (Windows 11).

For the backend ssh2, the command exits with success set to false and no stdout or stderr ever received. The log with wezterm_ssh_verbose set to true is this:

[2022-08-25 16:11:06.857531 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.4/src/poll.rs:521] registering event source with poller: token=Token(16777218), interests=READABLE | WRITABLE
[2022-08-25 16:11:06.973975 -05:00] DEBUG [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/wezterm-ssh-0.4.0/src/sessioninner.rs:394] error reading from stdin pipe: EOF
[2022-08-25 16:11:07.019916 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/wezterm-ssh-0.4.0/src/sessioninner.rs:457] Failed to read data from channel: EOF, closing pipe
[2022-08-25 16:11:07.020015 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/wezterm-ssh-0.4.0/src/sessioninner.rs:457] Failed to read data from channel: EOF, closing pipe
[2022-08-25 16:11:07.121171 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/async-io-1.8.0/src/driver.rs:104] block_on()
[2022-08-25 16:11:07.121224 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/async-io-1.8.0/src/driver.rs:143] block_on: completed

For backend libssh, the exec appears to hang for me (could be a user error) and the log is this:

[2022-08-25 16:05:25.497939 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.4/src/poll.rs:521] registering event source with poller: token=Token(16777218), interests=READABLE | WRITABLE
[2022-08-25 16:05:25.498423 -05:00] INFO [<unnamed>:0] Creating a channel 43 with 64000 window and 32768 max packet
[2022-08-25 16:05:25.498445 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=52]
[2022-08-25 16:05:25.498516 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.498526 -05:00] INFO [<unnamed>:0] packet: wrote [type=90, len=32, padding_size=7, comp=24, payload=24]
[2022-08-25 16:05:25.498533 -05:00] INFO [<unnamed>:0] Sent a SSH_MSG_CHANNEL_OPEN type session for channel 43
[2022-08-25 16:05:25.498552 -05:00] INFO [<unnamed>:0] packet: read type 80 [len=608,padding=4,comp=603,payload=603]
[2022-08-25 16:05:25.498559 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 80
[2022-08-25 16:05:25.498564 -05:00] INFO [<unnamed>:0] Couldn't do anything with packet type 80
[2022-08-25 16:05:25.498570 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=124]
[2022-08-25 16:05:25.498579 -05:00] INFO [<unnamed>:0] packet: wrote [type=3, len=16, padding_size=10, comp=5, payload=5]
[2022-08-25 16:05:25.498599 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=124]
[2022-08-25 16:05:25.498607 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.499139 -05:00] INFO [<unnamed>:0] packet: read type 91 [len=24,padding=6,comp=17,payload=17]
[2022-08-25 16:05:25.499152 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 91
[2022-08-25 16:05:25.499161 -05:00] INFO [<unnamed>:0] Received SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
[2022-08-25 16:05:25.499167 -05:00] INFO [<unnamed>:0] Received a CHANNEL_OPEN_CONFIRMATION for channel 43:0
[2022-08-25 16:05:25.499173 -05:00] INFO [<unnamed>:0] Remote window : 0, maxpacket : 32768
[2022-08-25 16:05:25.499179 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=126]
[2022-08-25 16:05:25.499186 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=294, in_blocks=129]
[2022-08-25 16:05:25.499201 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.499208 -05:00] INFO [<unnamed>:0] packet: wrote [type=98, len=32, padding_size=4, comp=27, payload=27]
[2022-08-25 16:05:25.499214 -05:00] INFO [<unnamed>:0] Sent a SSH_MSG_CHANNEL_REQUEST subsystem
[2022-08-25 16:05:25.586274 -05:00] INFO [<unnamed>:0] packet: read type 93 [len=16,padding=6,comp=9,payload=9]
[2022-08-25 16:05:25.586325 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 93
[2022-08-25 16:05:25.586336 -05:00] INFO [<unnamed>:0] Adding 2097152 bytes to channel (43:0) (from 0 bytes)
[2022-08-25 16:05:25.586344 -05:00] INFO [<unnamed>:0] Processing 36 bytes left in socket buffer
[2022-08-25 16:05:25.586352 -05:00] INFO [<unnamed>:0] packet: read type 99 [len=16,padding=10,comp=5,payload=5]
[2022-08-25 16:05:25.586358 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 99
[2022-08-25 16:05:25.586365 -05:00] INFO [<unnamed>:0] Received SSH_CHANNEL_SUCCESS on channel (43:0)
[2022-08-25 16:05:25.586372 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=294, in_blocks=127]
[2022-08-25 16:05:25.586378 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=294, in_blocks=127]
[2022-08-25 16:05:25.586385 -05:00] INFO [<unnamed>:0] Channel request subsystem success
[2022-08-25 16:05:25.586396 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=296, in_blocks=129]
[2022-08-25 16:05:25.586465 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.586477 -05:00] INFO [<unnamed>:0] packet: wrote [type=94, len=24, padding_size=5, comp=18, payload=18]
[2022-08-25 16:05:25.586484 -05:00] INFO [<unnamed>:0] channel_write wrote 9 bytes
[2022-08-25 16:05:25.586492 -05:00] INFO [<unnamed>:0] Read (4) buffered : 0 bytes. Window: 64000
[2022-08-25 16:05:25.624479 -05:00] INFO [<unnamed>:0] packet: read type 94 [len=200,padding=7,comp=192,payload=192]
[2022-08-25 16:05:25.624518 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 94
[2022-08-25 16:05:25.624527 -05:00] INFO [<unnamed>:0] Channel receiving 183 bytes data in 0 (local win=64000 remote win=2097143)
[2022-08-25 16:05:25.624534 -05:00] INFO [<unnamed>:0] placing 183 bytes into channel buffer (stdout)
[2022-08-25 16:05:25.624540 -05:00] INFO [<unnamed>:0] Channel windows are now (local win=63817 remote win=2097143)
[2022-08-25 16:05:25.624547 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=297, in_blocks=152]
[2022-08-25 16:05:25.624602 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.624612 -05:00] INFO [<unnamed>:0] packet: wrote [type=93, len=16, padding_size=6, comp=9, payload=9]
[2022-08-25 16:05:25.624618 -05:00] INFO [<unnamed>:0] growing window (channel 43:0) to 1280000 bytes
[2022-08-25 16:05:25.624624 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=297, in_blocks=151]
[2022-08-25 16:05:25.624631 -05:00] INFO [<unnamed>:0] Read (1) buffered : 179 bytes. Window: 1280000
[2022-08-25 16:05:25.624637 -05:00] INFO [<unnamed>:0] Read (178) buffered : 178 bytes. Window: 1280000
[2022-08-25 16:05:25.624662 -05:00] INFO [<unnamed>:0] SFTP server version 3
[2022-08-25 16:05:25.624668 -05:00] INFO [<unnamed>:0] SFTP server extension: posix-rename@openssh.com, version: 1
[2022-08-25 16:05:25.624674 -05:00] INFO [<unnamed>:0] SFTP server extension: statvfs@openssh.com, version: 2
[2022-08-25 16:05:25.624679 -05:00] INFO [<unnamed>:0] SFTP server extension: fstatvfs@openssh.com, version: 2
[2022-08-25 16:05:25.624684 -05:00] INFO [<unnamed>:0] SFTP server extension: hardlink@openssh.com, version: 1
[2022-08-25 16:05:25.624689 -05:00] INFO [<unnamed>:0] SFTP server extension: fsync@openssh.com, version: 1
[2022-08-25 16:05:25.624694 -05:00] INFO [<unnamed>:0] SFTP server extension: lsetstat@openssh.com, version: 1
[2022-08-25 16:05:25.624715 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=299, in_blocks=153]
[2022-08-25 16:05:25.624725 -05:00] INFO [<unnamed>:0] packet: wrote [type=94, len=32, padding_size=8, comp=23, payload=23]
[2022-08-25 16:05:25.624731 -05:00] INFO [<unnamed>:0] channel_write wrote 14 bytes
[2022-08-25 16:05:25.624746 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.624752 -05:00] INFO [<unnamed>:0] Read (4) buffered : 0 bytes. Window: 1280000
[2022-08-25 16:05:25.673270 -05:00] INFO [<unnamed>:0] packet: read type 94 [len=80,padding=9,comp=70,payload=70]
[2022-08-25 16:05:25.673286 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 94
[2022-08-25 16:05:25.673295 -05:00] INFO [<unnamed>:0] Channel receiving 61 bytes data in 0 (local win=1280000 remote win=2097129)
[2022-08-25 16:05:25.673303 -05:00] INFO [<unnamed>:0] placing 61 bytes into channel buffer (stdout)
[2022-08-25 16:05:25.673310 -05:00] INFO [<unnamed>:0] Channel windows are now (local win=1279939 remote win=2097129)
[2022-08-25 16:05:25.673317 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=299, in_blocks=159]
[2022-08-25 16:05:25.673324 -05:00] INFO [<unnamed>:0] Read (1) buffered : 57 bytes. Window: 1279939
[2022-08-25 16:05:25.673331 -05:00] INFO [<unnamed>:0] Read (56) buffered : 56 bytes. Window: 1279939
[2022-08-25 16:05:25.673339 -05:00] INFO [<unnamed>:0] Packet with id 1 type 104
[2022-08-25 16:05:25.673347 -05:00] INFO [<unnamed>:0] Queued msg id 1 type 104
[2022-08-25 16:05:25.673353 -05:00] INFO [<unnamed>:0] Dequeued msg id 1 type 104
[2022-08-25 16:05:25.673422 -05:00] INFO [<unnamed>:0] Creating a channel 44 with 64000 window and 32768 max packet
[2022-08-25 16:05:25.673445 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=302, in_blocks=162]
[2022-08-25 16:05:25.673492 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.673505 -05:00] INFO [<unnamed>:0] packet: wrote [type=90, len=32, padding_size=7, comp=24, payload=24]
[2022-08-25 16:05:25.673513 -05:00] INFO [<unnamed>:0] Sent a SSH_MSG_CHANNEL_OPEN type session for channel 44
[2022-08-25 16:05:25.673749 -05:00] INFO [<unnamed>:0] packet: read type 91 [len=24,padding=6,comp=17,payload=17]
[2022-08-25 16:05:25.673762 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 91
[2022-08-25 16:05:25.673770 -05:00] INFO [<unnamed>:0] Received SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
[2022-08-25 16:05:25.673777 -05:00] INFO [<unnamed>:0] Received a CHANNEL_OPEN_CONFIRMATION for channel 44:1
[2022-08-25 16:05:25.673784 -05:00] INFO [<unnamed>:0] Remote window : 0, maxpacket : 32768
[2022-08-25 16:05:25.673792 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=302, in_blocks=161]
[2022-08-25 16:05:25.673802 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=306, in_blocks=165]
[2022-08-25 16:05:25.673831 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.673842 -05:00] INFO [<unnamed>:0] packet: wrote [type=98, len=48, padding_size=9, comp=38, payload=38]
[2022-08-25 16:05:25.673849 -05:00] INFO [<unnamed>:0] Sent a SSH_MSG_CHANNEL_REQUEST exec
[2022-08-25 16:05:25.678086 -05:00] INFO [<unnamed>:0] packet: read type 93 [len=16,padding=6,comp=9,payload=9]
[2022-08-25 16:05:25.678109 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 93
[2022-08-25 16:05:25.678134 -05:00] INFO [<unnamed>:0] Adding 2097152 bytes to channel (44:1) (from 0 bytes)
[2022-08-25 16:05:25.678141 -05:00] INFO [<unnamed>:0] Processing 36 bytes left in socket buffer
[2022-08-25 16:05:25.678153 -05:00] INFO [<unnamed>:0] packet: read type 99 [len=16,padding=10,comp=5,payload=5]
[2022-08-25 16:05:25.678160 -05:00] INFO [<unnamed>:0] Dispatching handler for packet type 99
[2022-08-25 16:05:25.678167 -05:00] INFO [<unnamed>:0] Received SSH_CHANNEL_SUCCESS on channel (44:1)
[2022-08-25 16:05:25.678174 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=306, in_blocks=162]
[2022-08-25 16:05:25.678181 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=306, in_blocks=162]
[2022-08-25 16:05:25.678189 -05:00] INFO [<unnamed>:0] Channel request exec success
[2022-08-25 16:05:25.678382 -05:00] DEBUG [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/wezterm-ssh-0.4.0/src/sessioninner.rs:394] error reading from stdin pipe: EOF
[2022-08-25 16:05:25.678399 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=306, in_blocks=162]
[2022-08-25 16:05:25.678451 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.678461 -05:00] INFO [<unnamed>:0] packet: wrote [type=96, len=16, padding_size=10, comp=5, payload=5]
[2022-08-25 16:05:25.678469 -05:00] INFO [<unnamed>:0] Sent a EOF on client channel (44:1)
[2022-08-25 16:05:25.678476 -05:00] INFO [<unnamed>:0] rekey: [data_rekey_needed=0, out_blocks=306, in_blocks=162]
[2022-08-25 16:05:25.678487 -05:00] INFO [<unnamed>:0] packet: wrote [type=97, len=16, padding_size=10, comp=5, payload=5]
[2022-08-25 16:05:25.678495 -05:00] INFO [<unnamed>:0] Sent a close on client channel (44:1)
[2022-08-25 16:05:25.678507 -05:00] INFO [<unnamed>:0] Enabling POLLOUT for socket
[2022-08-25 16:05:25.678547 -05:00] INFO [<unnamed>:0] Read (16383) buffered : 0 bytes. Window: 64000
[2022-08-25 16:05:25.678557 -05:00] INFO [<unnamed>:0] Remote channel is closed.
[2022-08-25 16:05:25.678565 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/wezterm-ssh-0.4.0/src/sessioninner.rs:457] Failed to read data from channel: Remote channel is closed., closing pipe
[2022-08-25 16:05:25.678599 -05:00] INFO [<unnamed>:0] Read (16383) buffered : 0 bytes. Window: 64000
[2022-08-25 16:05:25.678608 -05:00] INFO [<unnamed>:0] Remote channel is closed.
[2022-08-25 16:05:25.678614 -05:00] TRACE [/Users/senkwich/.cargo/registry/src/github.com-1ecc6299db9ec823/wezterm-ssh-0.4.0/src/sessioninner.rs:457] Failed to read data from channel: Remote channel is closed., closing pipe

To Reproduce

No response

Configuration

no config

Expected Behavior

No response

Logs

No response

Anything else?

No response

@chipsenkbeil chipsenkbeil added the bug Something isn't working label Aug 25, 2022
@chipsenkbeil
Copy link
Contributor Author

@wez I've written a standalone test that fails for me reliably without the distant codebase. Check out https://github.com/chipsenkbeil/wezterm-ssh-test

If I set BACKEND to ssh2, it outputs:

    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
     Running `target/debug/wezterm-ssh-test`
2022-08-25T22:01:18.847Z INFO  [wezterm_ssh_test] Establishing ssh connection to 192.168.5.243, port = None
2022-08-25T22:01:18.852Z INFO  [wezterm_ssh_test] Session::connect({"hostname": "192.168.5.243", "identityagent": "/Users/senkwich/.gnupg/S.gpg-agent.ssh", "identityfile": "/Users/senkwich/.ssh/id_dsa /Users/senkwich/.ssh/id_ecdsa /Users/senkwich/.ssh/id_ed25519 /Users/senkwich/.ssh/id_rsa", "port": "22", "sendenv": "LANG LC_*", "user": "senkwich", "userknownhostsfile": "/Users/senkwich/.ssh/known_hosts /Users/senkwich/.ssh/known_hosts2", "wezterm_ssh_backend": "ssh2", "wezterm_ssh_verbose": "true"})
2022-08-25T22:01:18.853Z INFO  [wezterm_ssh_test] Authenticating...
2022-08-25T22:01:18.853Z INFO  [wezterm_ssh_test] Banner: Using ssh2 to connect to senkwich@192.168.5.243:22
[libssh2] 0.861182 Conn: Setting blocking mode ON
[libssh2] 0.861271 Transport: session_startup for socket 11
[libssh2] 0.861291 Transport: Sending Banner: SSH-2.0-libssh2_1.9.0_DEV
[libssh2] 0.861362 Socket: Sent 27/27 bytes at 0x102ff3eed+0
[libssh2] 0.861380 Socket: Error recving 1 bytes: 35
[libssh2] 0.890756 Socket: Recved 1 bytes banner
[libssh2] 0.890838 Socket: Recved 1 bytes banner
[libssh2] 0.890850 Socket: Recved 1 bytes banner
[libssh2] 0.890862 Socket: Recved 1 bytes banner
[libssh2] 0.890872 Socket: Recved 1 bytes banner
[libssh2] 0.890882 Socket: Recved 1 bytes banner
[libssh2] 0.890891 Socket: Recved 1 bytes banner
[libssh2] 0.890900 Socket: Recved 1 bytes banner
[libssh2] 0.890910 Socket: Recved 1 bytes banner
[libssh2] 0.890920 Socket: Recved 1 bytes banner
[libssh2] 0.890929 Socket: Recved 1 bytes banner
[libssh2] 0.890938 Socket: Recved 1 bytes banner
[libssh2] 0.890948 Socket: Recved 1 bytes banner
[libssh2] 0.890957 Socket: Recved 1 bytes banner
[libssh2] 0.890966 Socket: Recved 1 bytes banner
[libssh2] 0.890976 Socket: Recved 1 bytes banner
[libssh2] 0.890985 Socket: Recved 1 bytes banner
[libssh2] 0.890994 Socket: Recved 1 bytes banner
[libssh2] 0.891004 Socket: Recved 1 bytes banner
[libssh2] 0.891013 Socket: Recved 1 bytes banner
[libssh2] 0.891022 Socket: Recved 1 bytes banner
[libssh2] 0.891032 Socket: Recved 1 bytes banner
[libssh2] 0.891041 Socket: Recved 1 bytes banner
[libssh2] 0.891051 Socket: Recved 1 bytes banner
[libssh2] 0.891060 Socket: Recved 1 bytes banner
[libssh2] 0.891069 Socket: Recved 1 bytes banner
[libssh2] 0.891078 Socket: Recved 1 bytes banner
[libssh2] 0.891088 Socket: Recved 1 bytes banner
[libssh2] 0.891097 Socket: Recved 1 bytes banner
[libssh2] 0.891106 Socket: Recved 1 bytes banner
[libssh2] 0.891115 Socket: Recved 1 bytes banner
[libssh2] 0.891125 Socket: Recved 1 bytes banner
[libssh2] 0.891135 Socket: Recved 1 bytes banner
[libssh2] 0.891154 Transport: Received Banner: SSH-2.0-OpenSSH_for_Windows_8.1
[libssh2] 0.891322 Key Ex: Sent KEX: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
[libssh2] 0.891334 Key Ex: Sent HOSTKEY: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-rsa,ssh-dss
[libssh2] 0.891342 Key Ex: Sent CRYPT_CS: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
[libssh2] 0.891350 Key Ex: Sent CRYPT_SC: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc
[libssh2] 0.891357 Key Ex: Sent MAC_CS: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160@openssh.com
[libssh2] 0.891365 Key Ex: Sent MAC_SC: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160@openssh.com
[libssh2] 0.891405 Key Ex: Sent COMP_CS: none
[libssh2] 0.891411 Key Ex: Sent COMP_SC: none
[libssh2] 0.891416 Key Ex: Sent LANG_CS: 
[libssh2] 0.891421 Key Ex: Sent LANG_SC: 
=> libssh2_transport_write plain (1118 bytes)
0000: 14 3A 8D FB 98 06 EB BF  CD 80 43 71 5F CD DC 53 : .:........Cq_..S
0010: 62 00 00 01 40 63 75 72  76 65 32 35 35 31 39 2D : b...@curve25519-
0020: 73 68 61 32 35 36 2C 63  75 72 76 65 32 35 35 31 : sha256,curve2551
0030: 39 2D 73 68 61 32 35 36  40 6C 69 62 73 73 68 2E : 9-sha256@libssh.
0040: 6F 72 67 2C 65 63 64 68  2D 73 68 61 32 2D 6E 69 : org,ecdh-sha2-ni
0050: 73 74 70 32 35 36 2C 65  63 64 68 2D 73 68 61 32 : stp256,ecdh-sha2
0060: 2D 6E 69 73 74 70 33 38  34 2C 65 63 64 68 2D 73 : -nistp384,ecdh-s
0070: 68 61 32 2D 6E 69 73 74  70 35 32 31 2C 64 69 66 : ha2-nistp521,dif
0080: 66 69 65 2D 68 65 6C 6C  6D 61 6E 2D 67 72 6F 75 : fie-hellman-grou
0090: 70 2D 65 78 63 68 61 6E  67 65 2D 73 68 61 32 35 : p-exchange-sha25
00a0: 36 2C 64 69 66 66 69 65  2D 68 65 6C 6C 6D 61 6E : 6,diffie-hellman
00b0: 2D 67 72 6F 75 70 31 36  2D 73 68 61 35 31 32 2C : -group16-sha512,
00c0: 64 69 66 66 69 65 2D 68  65 6C 6C 6D 61 6E 2D 67 : diffie-hellman-g
00d0: 72 6F 75 70 31 38 2D 73  68 61 35 31 32 2C 64 69 : roup18-sha512,di
00e0: 66 66 69 65 2D 68 65 6C  6C 6D 61 6E 2D 67 72 6F : ffie-hellman-gro
00f0: 75 70 31 34 2D 73 68 61  32 35 36 2C 64 69 66 66 : up14-sha256,diff
0100: 69 65 2D 68 65 6C 6C 6D  61 6E 2D 67 72 6F 75 70 : ie-hellman-group
0110: 31 34 2D 73 68 61 31 2C  64 69 66 66 69 65 2D 68 : 14-sha1,diffie-h
0120: 65 6C 6C 6D 61 6E 2D 67  72 6F 75 70 31 2D 73 68 : ellman-group1-sh
0130: 61 31 2C 64 69 66 66 69  65 2D 68 65 6C 6C 6D 61 : a1,diffie-hellma
0140: 6E 2D 67 72 6F 75 70 2D  65 78 63 68 61 6E 67 65 : n-group-exchange
0150: 2D 73 68 61 31 00 00 00  D2 65 63 64 73 61 2D 73 : -sha1....ecdsa-s
0160: 68 61 32 2D 6E 69 73 74  70 32 35 36 2C 65 63 64 : ha2-nistp256,ecd
0170: 73 61 2D 73 68 61 32 2D  6E 69 73 74 70 33 38 34 : sa-sha2-nistp384
0180: 2C 65 63 64 73 61 2D 73  68 61 32 2D 6E 69 73 74 : ,ecdsa-sha2-nist
0190: 70 35 32 31 2C 65 63 64  73 61 2D 73 68 61 32 2D : p521,ecdsa-sha2-
01a0: 6E 69 73 74 70 32 35 36  2D 63 65 72 74 2D 76 30 : nistp256-cert-v0
01b0: 31 40 6F 70 65 6E 73 73  68 2E 63 6F 6D 2C 65 63 : 1@openssh.com,ec
01c0: 64 73 61 2D 73 68 61 32  2D 6E 69 73 74 70 33 38 : dsa-sha2-nistp38
01d0: 34 2D 63 65 72 74 2D 76  30 31 40 6F 70 65 6E 73 : 4-cert-v01@opens
01e0: 73 68 2E 63 6F 6D 2C 65  63 64 73 61 2D 73 68 61 : sh.com,ecdsa-sha
01f0: 32 2D 6E 69 73 74 70 35  32 31 2D 63 65 72 74 2D : 2-nistp521-cert-
0200: 76 30 31 40 6F 70 65 6E  73 73 68 2E 63 6F 6D 2C : v01@openssh.com,
0210: 73 73 68 2D 65 64 32 35  35 31 39 2C 73 73 68 2D : ssh-ed25519,ssh-
0220: 72 73 61 2C 73 73 68 2D  64 73 73 00 00 00 92 61 : rsa,ssh-dss....a
0230: 65 73 31 32 38 2D 63 74  72 2C 61 65 73 31 39 32 : es128-ctr,aes192
0240: 2D 63 74 72 2C 61 65 73  32 35 36 2D 63 74 72 2C : -ctr,aes256-ctr,
0250: 61 65 73 32 35 36 2D 63  62 63 2C 72 69 6A 6E 64 : aes256-cbc,rijnd
0260: 61 65 6C 2D 63 62 63 40  6C 79 73 61 74 6F 72 2E : ael-cbc@lysator.
0270: 6C 69 75 2E 73 65 2C 61  65 73 31 39 32 2D 63 62 : liu.se,aes192-cb
0280: 63 2C 61 65 73 31 32 38  2D 63 62 63 2C 62 6C 6F : c,aes128-cbc,blo
0290: 77 66 69 73 68 2D 63 62  63 2C 61 72 63 66 6F 75 : wfish-cbc,arcfou
02a0: 72 31 32 38 2C 61 72 63  66 6F 75 72 2C 63 61 73 : r128,arcfour,cas
02b0: 74 31 32 38 2D 63 62 63  2C 33 64 65 73 2D 63 62 : t128-cbc,3des-cb
02c0: 63 00 00 00 92 61 65 73  31 32 38 2D 63 74 72 2C : c....aes128-ctr,
02d0: 61 65 73 31 39 32 2D 63  74 72 2C 61 65 73 32 35 : aes192-ctr,aes25
02e0: 36 2D 63 74 72 2C 61 65  73 32 35 36 2D 63 62 63 : 6-ctr,aes256-cbc
02f0: 2C 72 69 6A 6E 64 61 65  6C 2D 63 62 63 40 6C 79 : ,rijndael-cbc@ly
0300: 73 61 74 6F 72 2E 6C 69  75 2E 73 65 2C 61 65 73 : sator.liu.se,aes
0310: 31 39 32 2D 63 62 63 2C  61 65 73 31 32 38 2D 63 : 192-cbc,aes128-c
0320: 62 63 2C 62 6C 6F 77 66  69 73 68 2D 63 62 63 2C : bc,blowfish-cbc,
0330: 61 72 63 66 6F 75 72 31  32 38 2C 61 72 63 66 6F : arcfour128,arcfo
0340: 75 72 2C 63 61 73 74 31  32 38 2D 63 62 63 2C 33 : ur,cast128-cbc,3
0350: 64 65 73 2D 63 62 63 00  00 00 71 68 6D 61 63 2D : des-cbc...qhmac-
0360: 73 68 61 32 2D 32 35 36  2C 68 6D 61 63 2D 73 68 : sha2-256,hmac-sh
0370: 61 32 2D 35 31 32 2C 68  6D 61 63 2D 73 68 61 31 : a2-512,hmac-sha1
0380: 2C 68 6D 61 63 2D 73 68  61 31 2D 39 36 2C 68 6D : ,hmac-sha1-96,hm
0390: 61 63 2D 6D 64 35 2C 68  6D 61 63 2D 6D 64 35 2D : ac-md5,hmac-md5-
03a0: 39 36 2C 68 6D 61 63 2D  72 69 70 65 6D 64 31 36 : 96,hmac-ripemd16
03b0: 30 2C 68 6D 61 63 2D 72  69 70 65 6D 64 31 36 30 : 0,hmac-ripemd160
03c0: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 00 00 00 71 : @openssh.com...q
03d0: 68 6D 61 63 2D 73 68 61  32 2D 32 35 36 2C 68 6D : hmac-sha2-256,hm
03e0: 61 63 2D 73 68 61 32 2D  35 31 32 2C 68 6D 61 63 : ac-sha2-512,hmac
03f0: 2D 73 68 61 31 2C 68 6D  61 63 2D 73 68 61 31 2D : -sha1,hmac-sha1-
0400: 39 36 2C 68 6D 61 63 2D  6D 64 35 2C 68 6D 61 63 : 96,hmac-md5,hmac
0410: 2D 6D 64 35 2D 39 36 2C  68 6D 61 63 2D 72 69 70 : -md5-96,hmac-rip
0420: 65 6D 64 31 36 30 2C 68  6D 61 63 2D 72 69 70 65 : emd160,hmac-ripe
0430: 6D 64 31 36 30 40 6F 70  65 6E 73 73 68 2E 63 6F : md160@openssh.co
0440: 6D 00 00 00 04 6E 6F 6E  65 00 00 00 04 6E 6F 6E : m....none....non
0450: 65 00 00 00 00 00 00 00  00 00 00 00 00 00       : e.............
[libssh2] 0.891876 Socket: Sent 1128/1128 bytes at 0x12800c288
=> libssh2_transport_write send() (1128 bytes)
0000: 00 00 04 64 05 14 3A 8D  FB 98 06 EB BF CD 80 43 : ...d..:........C
0010: 71 5F CD DC 53 62 00 00  01 40 63 75 72 76 65 32 : q_..Sb...@curve2
0020: 35 35 31 39 2D 73 68 61  32 35 36 2C 63 75 72 76 : 5519-sha256,curv
0030: 65 32 35 35 31 39 2D 73  68 61 32 35 36 40 6C 69 : e25519-sha256@li
0040: 62 73 73 68 2E 6F 72 67  2C 65 63 64 68 2D 73 68 : bssh.org,ecdh-sh
0050: 61 32 2D 6E 69 73 74 70  32 35 36 2C 65 63 64 68 : a2-nistp256,ecdh
0060: 2D 73 68 61 32 2D 6E 69  73 74 70 33 38 34 2C 65 : -sha2-nistp384,e
0070: 63 64 68 2D 73 68 61 32  2D 6E 69 73 74 70 35 32 : cdh-sha2-nistp52
0080: 31 2C 64 69 66 66 69 65  2D 68 65 6C 6C 6D 61 6E : 1,diffie-hellman
0090: 2D 67 72 6F 75 70 2D 65  78 63 68 61 6E 67 65 2D : -group-exchange-
00a0: 73 68 61 32 35 36 2C 64  69 66 66 69 65 2D 68 65 : sha256,diffie-he
00b0: 6C 6C 6D 61 6E 2D 67 72  6F 75 70 31 36 2D 73 68 : llman-group16-sh
00c0: 61 35 31 32 2C 64 69 66  66 69 65 2D 68 65 6C 6C : a512,diffie-hell
00d0: 6D 61 6E 2D 67 72 6F 75  70 31 38 2D 73 68 61 35 : man-group18-sha5
00e0: 31 32 2C 64 69 66 66 69  65 2D 68 65 6C 6C 6D 61 : 12,diffie-hellma
00f0: 6E 2D 67 72 6F 75 70 31  34 2D 73 68 61 32 35 36 : n-group14-sha256
0100: 2C 64 69 66 66 69 65 2D  68 65 6C 6C 6D 61 6E 2D : ,diffie-hellman-
0110: 67 72 6F 75 70 31 34 2D  73 68 61 31 2C 64 69 66 : group14-sha1,dif
0120: 66 69 65 2D 68 65 6C 6C  6D 61 6E 2D 67 72 6F 75 : fie-hellman-grou
0130: 70 31 2D 73 68 61 31 2C  64 69 66 66 69 65 2D 68 : p1-sha1,diffie-h
0140: 65 6C 6C 6D 61 6E 2D 67  72 6F 75 70 2D 65 78 63 : ellman-group-exc
0150: 68 61 6E 67 65 2D 73 68  61 31 00 00 00 D2 65 63 : hange-sha1....ec
0160: 64 73 61 2D 73 68 61 32  2D 6E 69 73 74 70 32 35 : dsa-sha2-nistp25
0170: 36 2C 65 63 64 73 61 2D  73 68 61 32 2D 6E 69 73 : 6,ecdsa-sha2-nis
0180: 74 70 33 38 34 2C 65 63  64 73 61 2D 73 68 61 32 : tp384,ecdsa-sha2
0190: 2D 6E 69 73 74 70 35 32  31 2C 65 63 64 73 61 2D : -nistp521,ecdsa-
01a0: 73 68 61 32 2D 6E 69 73  74 70 32 35 36 2D 63 65 : sha2-nistp256-ce
01b0: 72 74 2D 76 30 31 40 6F  70 65 6E 73 73 68 2E 63 : rt-v01@openssh.c
01c0: 6F 6D 2C 65 63 64 73 61  2D 73 68 61 32 2D 6E 69 : om,ecdsa-sha2-ni
01d0: 73 74 70 33 38 34 2D 63  65 72 74 2D 76 30 31 40 : stp384-cert-v01@
01e0: 6F 70 65 6E 73 73 68 2E  63 6F 6D 2C 65 63 64 73 : openssh.com,ecds
01f0: 61 2D 73 68 61 32 2D 6E  69 73 74 70 35 32 31 2D : a-sha2-nistp521-
0200: 63 65 72 74 2D 76 30 31  40 6F 70 65 6E 73 73 68 : cert-v01@openssh
0210: 2E 63 6F 6D 2C 73 73 68  2D 65 64 32 35 35 31 39 : .com,ssh-ed25519
0220: 2C 73 73 68 2D 72 73 61  2C 73 73 68 2D 64 73 73 : ,ssh-rsa,ssh-dss
0230: 00 00 00 92 61 65 73 31  32 38 2D 63 74 72 2C 61 : ....aes128-ctr,a
0240: 65 73 31 39 32 2D 63 74  72 2C 61 65 73 32 35 36 : es192-ctr,aes256
0250: 2D 63 74 72 2C 61 65 73  32 35 36 2D 63 62 63 2C : -ctr,aes256-cbc,
0260: 72 69 6A 6E 64 61 65 6C  2D 63 62 63 40 6C 79 73 : rijndael-cbc@lys
0270: 61 74 6F 72 2E 6C 69 75  2E 73 65 2C 61 65 73 31 : ator.liu.se,aes1
0280: 39 32 2D 63 62 63 2C 61  65 73 31 32 38 2D 63 62 : 92-cbc,aes128-cb
0290: 63 2C 62 6C 6F 77 66 69  73 68 2D 63 62 63 2C 61 : c,blowfish-cbc,a
02a0: 72 63 66 6F 75 72 31 32  38 2C 61 72 63 66 6F 75 : rcfour128,arcfou
02b0: 72 2C 63 61 73 74 31 32  38 2D 63 62 63 2C 33 64 : r,cast128-cbc,3d
02c0: 65 73 2D 63 62 63 00 00  00 92 61 65 73 31 32 38 : es-cbc....aes128
02d0: 2D 63 74 72 2C 61 65 73  31 39 32 2D 63 74 72 2C : -ctr,aes192-ctr,
02e0: 61 65 73 32 35 36 2D 63  74 72 2C 61 65 73 32 35 : aes256-ctr,aes25
02f0: 36 2D 63 62 63 2C 72 69  6A 6E 64 61 65 6C 2D 63 : 6-cbc,rijndael-c
0300: 62 63 40 6C 79 73 61 74  6F 72 2E 6C 69 75 2E 73 : bc@lysator.liu.s
0310: 65 2C 61 65 73 31 39 32  2D 63 62 63 2C 61 65 73 : e,aes192-cbc,aes
0320: 31 32 38 2D 63 62 63 2C  62 6C 6F 77 66 69 73 68 : 128-cbc,blowfish
0330: 2D 63 62 63 2C 61 72 63  66 6F 75 72 31 32 38 2C : -cbc,arcfour128,
0340: 61 72 63 66 6F 75 72 2C  63 61 73 74 31 32 38 2D : arcfour,cast128-
0350: 63 62 63 2C 33 64 65 73  2D 63 62 63 00 00 00 71 : cbc,3des-cbc...q
0360: 68 6D 61 63 2D 73 68 61  32 2D 32 35 36 2C 68 6D : hmac-sha2-256,hm
0370: 61 63 2D 73 68 61 32 2D  35 31 32 2C 68 6D 61 63 : ac-sha2-512,hmac
0380: 2D 73 68 61 31 2C 68 6D  61 63 2D 73 68 61 31 2D : -sha1,hmac-sha1-
0390: 39 36 2C 68 6D 61 63 2D  6D 64 35 2C 68 6D 61 63 : 96,hmac-md5,hmac
03a0: 2D 6D 64 35 2D 39 36 2C  68 6D 61 63 2D 72 69 70 : -md5-96,hmac-rip
03b0: 65 6D 64 31 36 30 2C 68  6D 61 63 2D 72 69 70 65 : emd160,hmac-ripe
03c0: 6D 64 31 36 30 40 6F 70  65 6E 73 73 68 2E 63 6F : md160@openssh.co
03d0: 6D 00 00 00 71 68 6D 61  63 2D 73 68 61 32 2D 32 : m...qhmac-sha2-2
03e0: 35 36 2C 68 6D 61 63 2D  73 68 61 32 2D 35 31 32 : 56,hmac-sha2-512
03f0: 2C 68 6D 61 63 2D 73 68  61 31 2C 68 6D 61 63 2D : ,hmac-sha1,hmac-
0400: 73 68 61 31 2D 39 36 2C  68 6D 61 63 2D 6D 64 35 : sha1-96,hmac-md5
0410: 2C 68 6D 61 63 2D 6D 64  35 2D 39 36 2C 68 6D 61 : ,hmac-md5-96,hma
0420: 63 2D 72 69 70 65 6D 64  31 36 30 2C 68 6D 61 63 : c-ripemd160,hmac
0430: 2D 72 69 70 65 6D 64 31  36 30 40 6F 70 65 6E 73 : -ripemd160@opens
0440: 73 68 2E 63 6F 6D 00 00  00 04 6E 6F 6E 65 00 00 : sh.com....none..
0450: 00 04 6E 6F 6E 65 00 00  00 00 00 00 00 00 00 00 : ..none..........
0460: 00 00 00 8B AB AA 00 DE                          : ........
[libssh2] 0.892328 Transport: Looking for packet of type: 20
[libssh2] 0.912283 Socket: Recved 1080/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (1080 bytes)
0000: 00 00 04 34 06 14 F3 03  CD 6B DD BB B2 9A FF C6 : ...4.....k......
0010: 82 BA 4F D5 43 2E 00 00  01 02 63 75 72 76 65 32 : ..O.C.....curve2
0020: 35 35 31 39 2D 73 68 61  32 35 36 2C 63 75 72 76 : 5519-sha256,curv
0030: 65 32 35 35 31 39 2D 73  68 61 32 35 36 40 6C 69 : e25519-sha256@li
0040: 62 73 73 68 2E 6F 72 67  2C 65 63 64 68 2D 73 68 : bssh.org,ecdh-sh
0050: 61 32 2D 6E 69 73 74 70  32 35 36 2C 65 63 64 68 : a2-nistp256,ecdh
0060: 2D 73 68 61 32 2D 6E 69  73 74 70 33 38 34 2C 65 : -sha2-nistp384,e
0070: 63 64 68 2D 73 68 61 32  2D 6E 69 73 74 70 35 32 : cdh-sha2-nistp52
0080: 31 2C 64 69 66 66 69 65  2D 68 65 6C 6C 6D 61 6E : 1,diffie-hellman
0090: 2D 67 72 6F 75 70 2D 65  78 63 68 61 6E 67 65 2D : -group-exchange-
00a0: 73 68 61 32 35 36 2C 64  69 66 66 69 65 2D 68 65 : sha256,diffie-he
00b0: 6C 6C 6D 61 6E 2D 67 72  6F 75 70 31 36 2D 73 68 : llman-group16-sh
00c0: 61 35 31 32 2C 64 69 66  66 69 65 2D 68 65 6C 6C : a512,diffie-hell
00d0: 6D 61 6E 2D 67 72 6F 75  70 31 38 2D 73 68 61 35 : man-group18-sha5
00e0: 31 32 2C 64 69 66 66 69  65 2D 68 65 6C 6C 6D 61 : 12,diffie-hellma
00f0: 6E 2D 67 72 6F 75 70 31  34 2D 73 68 61 32 35 36 : n-group14-sha256
0100: 2C 64 69 66 66 69 65 2D  68 65 6C 6C 6D 61 6E 2D : ,diffie-hellman-
0110: 67 72 6F 75 70 31 34 2D  73 68 61 31 00 00 00 41 : group14-sha1...A
0120: 72 73 61 2D 73 68 61 32  2D 35 31 32 2C 72 73 61 : rsa-sha2-512,rsa
0130: 2D 73 68 61 32 2D 32 35  36 2C 73 73 68 2D 72 73 : -sha2-256,ssh-rs
0140: 61 2C 65 63 64 73 61 2D  73 68 61 32 2D 6E 69 73 : a,ecdsa-sha2-nis
0150: 74 70 32 35 36 2C 73 73  68 2D 65 64 32 35 35 31 : tp256,ssh-ed2551
0160: 39 00 00 00 6C 63 68 61  63 68 61 32 30 2D 70 6F : 9...lchacha20-po
0170: 6C 79 31 33 30 35 40 6F  70 65 6E 73 73 68 2E 63 : ly1305@openssh.c
0180: 6F 6D 2C 61 65 73 31 32  38 2D 63 74 72 2C 61 65 : om,aes128-ctr,ae
0190: 73 31 39 32 2D 63 74 72  2C 61 65 73 32 35 36 2D : s192-ctr,aes256-
01a0: 63 74 72 2C 61 65 73 31  32 38 2D 67 63 6D 40 6F : ctr,aes128-gcm@o
01b0: 70 65 6E 73 73 68 2E 63  6F 6D 2C 61 65 73 32 35 : penssh.com,aes25
01c0: 36 2D 67 63 6D 40 6F 70  65 6E 73 73 68 2E 63 6F : 6-gcm@openssh.co
01d0: 6D 00 00 00 6C 63 68 61  63 68 61 32 30 2D 70 6F : m...lchacha20-po
01e0: 6C 79 31 33 30 35 40 6F  70 65 6E 73 73 68 2E 63 : ly1305@openssh.c
01f0: 6F 6D 2C 61 65 73 31 32  38 2D 63 74 72 2C 61 65 : om,aes128-ctr,ae
0200: 73 31 39 32 2D 63 74 72  2C 61 65 73 32 35 36 2D : s192-ctr,aes256-
0210: 63 74 72 2C 61 65 73 31  32 38 2D 67 63 6D 40 6F : ctr,aes128-gcm@o
0220: 70 65 6E 73 73 68 2E 63  6F 6D 2C 61 65 73 32 35 : penssh.com,aes25
0230: 36 2D 67 63 6D 40 6F 70  65 6E 73 73 68 2E 63 6F : 6-gcm@openssh.co
0240: 6D 00 00 00 D5 75 6D 61  63 2D 36 34 2D 65 74 6D : m....umac-64-etm
0250: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 2C 75 6D 61 : @openssh.com,uma
0260: 63 2D 31 32 38 2D 65 74  6D 40 6F 70 65 6E 73 73 : c-128-etm@openss
0270: 68 2E 63 6F 6D 2C 68 6D  61 63 2D 73 68 61 32 2D : h.com,hmac-sha2-
0280: 32 35 36 2D 65 74 6D 40  6F 70 65 6E 73 73 68 2E : 256-etm@openssh.
0290: 63 6F 6D 2C 68 6D 61 63  2D 73 68 61 32 2D 35 31 : com,hmac-sha2-51
02a0: 32 2D 65 74 6D 40 6F 70  65 6E 73 73 68 2E 63 6F : 2-etm@openssh.co
02b0: 6D 2C 68 6D 61 63 2D 73  68 61 31 2D 65 74 6D 40 : m,hmac-sha1-etm@
02c0: 6F 70 65 6E 73 73 68 2E  63 6F 6D 2C 75 6D 61 63 : openssh.com,umac
02d0: 2D 36 34 40 6F 70 65 6E  73 73 68 2E 63 6F 6D 2C : -64@openssh.com,
02e0: 75 6D 61 63 2D 31 32 38  40 6F 70 65 6E 73 73 68 : umac-128@openssh
02f0: 2E 63 6F 6D 2C 68 6D 61  63 2D 73 68 61 32 2D 32 : .com,hmac-sha2-2
0300: 35 36 2C 68 6D 61 63 2D  73 68 61 32 2D 35 31 32 : 56,hmac-sha2-512
0310: 2C 68 6D 61 63 2D 73 68  61 31 00 00 00 D5 75 6D : ,hmac-sha1....um
0320: 61 63 2D 36 34 2D 65 74  6D 40 6F 70 65 6E 73 73 : ac-64-etm@openss
0330: 68 2E 63 6F 6D 2C 75 6D  61 63 2D 31 32 38 2D 65 : h.com,umac-128-e
0340: 74 6D 40 6F 70 65 6E 73  73 68 2E 63 6F 6D 2C 68 : tm@openssh.com,h
0350: 6D 61 63 2D 73 68 61 32  2D 32 35 36 2D 65 74 6D : mac-sha2-256-etm
0360: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 2C 68 6D 61 : @openssh.com,hma
0370: 63 2D 73 68 61 32 2D 35  31 32 2D 65 74 6D 40 6F : c-sha2-512-etm@o
0380: 70 65 6E 73 73 68 2E 63  6F 6D 2C 68 6D 61 63 2D : penssh.com,hmac-
0390: 73 68 61 31 2D 65 74 6D  40 6F 70 65 6E 73 73 68 : sha1-etm@openssh
03a0: 2E 63 6F 6D 2C 75 6D 61  63 2D 36 34 40 6F 70 65 : .com,umac-64@ope
03b0: 6E 73 73 68 2E 63 6F 6D  2C 75 6D 61 63 2D 31 32 : nssh.com,umac-12
03c0: 38 40 6F 70 65 6E 73 73  68 2E 63 6F 6D 2C 68 6D : 8@openssh.com,hm
03d0: 61 63 2D 73 68 61 32 2D  32 35 36 2C 68 6D 61 63 : ac-sha2-256,hmac
03e0: 2D 73 68 61 32 2D 35 31  32 2C 68 6D 61 63 2D 73 : -sha2-512,hmac-s
03f0: 68 61 31 00 00 00 15 6E  6F 6E 65 2C 7A 6C 69 62 : ha1....none,zlib
0400: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 00 00 00 15 : @openssh.com....
0410: 6E 6F 6E 65 2C 7A 6C 69  62 40 6F 70 65 6E 73 73 : none,zlib@openss
0420: 68 2E 63 6F 6D 00 00 00  00 00 00 00 00 00 00 00 : h.com...........
0430: 00 00 00 00 00 00 00 00                          : ........
=> libssh2_transport_read() plain (1069 bytes)
0000: 14 F3 03 CD 6B DD BB B2  9A FF C6 82 BA 4F D5 43 : ....k........O.C
0010: 2E 00 00 01 02 63 75 72  76 65 32 35 35 31 39 2D : .....curve25519-
0020: 73 68 61 32 35 36 2C 63  75 72 76 65 32 35 35 31 : sha256,curve2551
0030: 39 2D 73 68 61 32 35 36  40 6C 69 62 73 73 68 2E : 9-sha256@libssh.
0040: 6F 72 67 2C 65 63 64 68  2D 73 68 61 32 2D 6E 69 : org,ecdh-sha2-ni
0050: 73 74 70 32 35 36 2C 65  63 64 68 2D 73 68 61 32 : stp256,ecdh-sha2
0060: 2D 6E 69 73 74 70 33 38  34 2C 65 63 64 68 2D 73 : -nistp384,ecdh-s
0070: 68 61 32 2D 6E 69 73 74  70 35 32 31 2C 64 69 66 : ha2-nistp521,dif
0080: 66 69 65 2D 68 65 6C 6C  6D 61 6E 2D 67 72 6F 75 : fie-hellman-grou
0090: 70 2D 65 78 63 68 61 6E  67 65 2D 73 68 61 32 35 : p-exchange-sha25
00a0: 36 2C 64 69 66 66 69 65  2D 68 65 6C 6C 6D 61 6E : 6,diffie-hellman
00b0: 2D 67 72 6F 75 70 31 36  2D 73 68 61 35 31 32 2C : -group16-sha512,
00c0: 64 69 66 66 69 65 2D 68  65 6C 6C 6D 61 6E 2D 67 : diffie-hellman-g
00d0: 72 6F 75 70 31 38 2D 73  68 61 35 31 32 2C 64 69 : roup18-sha512,di
00e0: 66 66 69 65 2D 68 65 6C  6C 6D 61 6E 2D 67 72 6F : ffie-hellman-gro
00f0: 75 70 31 34 2D 73 68 61  32 35 36 2C 64 69 66 66 : up14-sha256,diff
0100: 69 65 2D 68 65 6C 6C 6D  61 6E 2D 67 72 6F 75 70 : ie-hellman-group
0110: 31 34 2D 73 68 61 31 00  00 00 41 72 73 61 2D 73 : 14-sha1...Arsa-s
0120: 68 61 32 2D 35 31 32 2C  72 73 61 2D 73 68 61 32 : ha2-512,rsa-sha2
0130: 2D 32 35 36 2C 73 73 68  2D 72 73 61 2C 65 63 64 : -256,ssh-rsa,ecd
0140: 73 61 2D 73 68 61 32 2D  6E 69 73 74 70 32 35 36 : sa-sha2-nistp256
0150: 2C 73 73 68 2D 65 64 32  35 35 31 39 00 00 00 6C : ,ssh-ed25519...l
0160: 63 68 61 63 68 61 32 30  2D 70 6F 6C 79 31 33 30 : chacha20-poly130
0170: 35 40 6F 70 65 6E 73 73  68 2E 63 6F 6D 2C 61 65 : 5@openssh.com,ae
0180: 73 31 32 38 2D 63 74 72  2C 61 65 73 31 39 32 2D : s128-ctr,aes192-
0190: 63 74 72 2C 61 65 73 32  35 36 2D 63 74 72 2C 61 : ctr,aes256-ctr,a
01a0: 65 73 31 32 38 2D 67 63  6D 40 6F 70 65 6E 73 73 : es128-gcm@openss
01b0: 68 2E 63 6F 6D 2C 61 65  73 32 35 36 2D 67 63 6D : h.com,aes256-gcm
01c0: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 00 00 00 6C : @openssh.com...l
01d0: 63 68 61 63 68 61 32 30  2D 70 6F 6C 79 31 33 30 : chacha20-poly130
01e0: 35 40 6F 70 65 6E 73 73  68 2E 63 6F 6D 2C 61 65 : 5@openssh.com,ae
01f0: 73 31 32 38 2D 63 74 72  2C 61 65 73 31 39 32 2D : s128-ctr,aes192-
0200: 63 74 72 2C 61 65 73 32  35 36 2D 63 74 72 2C 61 : ctr,aes256-ctr,a
0210: 65 73 31 32 38 2D 67 63  6D 40 6F 70 65 6E 73 73 : es128-gcm@openss
0220: 68 2E 63 6F 6D 2C 61 65  73 32 35 36 2D 67 63 6D : h.com,aes256-gcm
0230: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 00 00 00 D5 : @openssh.com....
0240: 75 6D 61 63 2D 36 34 2D  65 74 6D 40 6F 70 65 6E : umac-64-etm@open
0250: 73 73 68 2E 63 6F 6D 2C  75 6D 61 63 2D 31 32 38 : ssh.com,umac-128
0260: 2D 65 74 6D 40 6F 70 65  6E 73 73 68 2E 63 6F 6D : -etm@openssh.com
0270: 2C 68 6D 61 63 2D 73 68  61 32 2D 32 35 36 2D 65 : ,hmac-sha2-256-e
0280: 74 6D 40 6F 70 65 6E 73  73 68 2E 63 6F 6D 2C 68 : tm@openssh.com,h
0290: 6D 61 63 2D 73 68 61 32  2D 35 31 32 2D 65 74 6D : mac-sha2-512-etm
02a0: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 2C 68 6D 61 : @openssh.com,hma
02b0: 63 2D 73 68 61 31 2D 65  74 6D 40 6F 70 65 6E 73 : c-sha1-etm@opens
02c0: 73 68 2E 63 6F 6D 2C 75  6D 61 63 2D 36 34 40 6F : sh.com,umac-64@o
02d0: 70 65 6E 73 73 68 2E 63  6F 6D 2C 75 6D 61 63 2D : penssh.com,umac-
02e0: 31 32 38 40 6F 70 65 6E  73 73 68 2E 63 6F 6D 2C : 128@openssh.com,
02f0: 68 6D 61 63 2D 73 68 61  32 2D 32 35 36 2C 68 6D : hmac-sha2-256,hm
0300: 61 63 2D 73 68 61 32 2D  35 31 32 2C 68 6D 61 63 : ac-sha2-512,hmac
0310: 2D 73 68 61 31 00 00 00  D5 75 6D 61 63 2D 36 34 : -sha1....umac-64
0320: 2D 65 74 6D 40 6F 70 65  6E 73 73 68 2E 63 6F 6D : -etm@openssh.com
0330: 2C 75 6D 61 63 2D 31 32  38 2D 65 74 6D 40 6F 70 : ,umac-128-etm@op
0340: 65 6E 73 73 68 2E 63 6F  6D 2C 68 6D 61 63 2D 73 : enssh.com,hmac-s
0350: 68 61 32 2D 32 35 36 2D  65 74 6D 40 6F 70 65 6E : ha2-256-etm@open
0360: 73 73 68 2E 63 6F 6D 2C  68 6D 61 63 2D 73 68 61 : ssh.com,hmac-sha
0370: 32 2D 35 31 32 2D 65 74  6D 40 6F 70 65 6E 73 73 : 2-512-etm@openss
0380: 68 2E 63 6F 6D 2C 68 6D  61 63 2D 73 68 61 31 2D : h.com,hmac-sha1-
0390: 65 74 6D 40 6F 70 65 6E  73 73 68 2E 63 6F 6D 2C : etm@openssh.com,
03a0: 75 6D 61 63 2D 36 34 40  6F 70 65 6E 73 73 68 2E : umac-64@openssh.
03b0: 63 6F 6D 2C 75 6D 61 63  2D 31 32 38 40 6F 70 65 : com,umac-128@ope
03c0: 6E 73 73 68 2E 63 6F 6D  2C 68 6D 61 63 2D 73 68 : nssh.com,hmac-sh
03d0: 61 32 2D 32 35 36 2C 68  6D 61 63 2D 73 68 61 32 : a2-256,hmac-sha2
03e0: 2D 35 31 32 2C 68 6D 61  63 2D 73 68 61 31 00 00 : -512,hmac-sha1..
03f0: 00 15 6E 6F 6E 65 2C 7A  6C 69 62 40 6F 70 65 6E : ..none,zlib@open
0400: 73 73 68 2E 63 6F 6D 00  00 00 15 6E 6F 6E 65 2C : ssh.com....none,
0410: 7A 6C 69 62 40 6F 70 65  6E 73 73 68 2E 63 6F 6D : zlib@openssh.com
0420: 00 00 00 00 00 00 00 00  00 00 00 00 00          : .............
[libssh2] 0.913060 Transport: Packet type 20 received, length=1069
[libssh2] 0.913069 Transport: Looking for packet of type: 20
[libssh2] 0.913084 Key Ex: Agreed on KEX method: curve25519-sha256
[libssh2] 0.913090 Key Ex: Agreed on HOSTKEY method: ecdsa-sha2-nistp256
[libssh2] 0.913095 Key Ex: Agreed on CRYPT_CS method: aes128-ctr
[libssh2] 0.913099 Key Ex: Agreed on CRYPT_SC method: aes128-ctr
[libssh2] 0.913104 Key Ex: Agreed on MAC_CS method: hmac-sha2-256
[libssh2] 0.913109 Key Ex: Agreed on MAC_SC method: hmac-sha2-256
[libssh2] 0.913114 Key Ex: Agreed on COMP_CS method: none
[libssh2] 0.913119 Key Ex: Agreed on COMP_SC method: none
[libssh2] 0.913319 Key Ex: Initiating curve25519 SHA2
=> libssh2_transport_write plain (37 bytes)
0000: 1E 00 00 00 20 58 A4 7A  D0 61 82 08 32 DF CC D3 : .... X.z.a..2...
0010: C6 F2 57 1A 45 12 85 CA  7B 3D 15 C7 2E 14 2B CE : ..W.E...{=....+.
0020: 30 52 89 F5 48                                   : 0R..H
[libssh2] 0.913374 Socket: Sent 48/48 bytes at 0x12800c288
=> libssh2_transport_write send() (48 bytes)
0000: 00 00 00 2C 06 1E 00 00  00 20 58 A4 7A D0 61 82 : ...,..... X.z.a.
0010: 08 32 DF CC D3 C6 F2 57  1A 45 12 85 CA 7B 3D 15 : .2.....W.E...{=.
0020: C7 2E 14 2B CE 30 52 89  F5 48 89 96 87 93 C1 E4 : ...+.0R..H......
[libssh2] 0.913403 Transport: Looking for packet of type: 31
[libssh2] 0.919609 Socket: Recved 280/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (280 bytes)
0000: 00 00 01 04 0A 1F 00 00  00 68 00 00 00 13 65 63 : .........h....ec
0010: 64 73 61 2D 73 68 61 32  2D 6E 69 73 74 70 32 35 : dsa-sha2-nistp25
0020: 36 00 00 00 08 6E 69 73  74 70 32 35 36 00 00 00 : 6....nistp256...
0030: 41 04 01 D2 75 4E 5B 26  F9 27 68 C4 2E 17 67 D0 : A...uN[&.'h...g.
0040: 9F FB D2 EF A9 D0 C1 B3  48 AE 6F F1 25 10 FB 10 : ........H.o.%...
0050: 6C B4 F4 D5 79 C9 BA 65  F5 D4 88 F4 97 4B 60 13 : l...y..e.....K`.
0060: 7D 7F B1 71 B7 7C E8 60  FE AE 87 29 E9 D7 45 31 : }..q.|.`...)..E1
0070: D0 A4 00 00 00 20 2C EC  60 44 E4 94 F7 32 4A BD : ..... ,.`D...2J.
0080: 14 16 F1 6E 86 4D 47 6D  3C 85 91 48 CC 46 DD 89 : ...n.MGm<..H.F..
0090: 79 C4 B0 FD DF 62 00 00  00 64 00 00 00 13 65 63 : y....b...d....ec
00a0: 64 73 61 2D 73 68 61 32  2D 6E 69 73 74 70 32 35 : dsa-sha2-nistp25
00b0: 36 00 00 00 49 00 00 00  20 15 16 5D 6D 4A EF 79 : 6...I... ..]mJ.y
00c0: 74 9F 3D E0 04 A3 6C 02  F6 3D C8 59 60 4B 1F 2E : t.=...l..=.Y`K..
00d0: 5A 56 4F 72 A8 12 4A 54  BD 00 00 00 21 00 EB BE : ZVOr..JT....!...
00e0: 1B 98 9E 5C 15 3F 8C 7B  3F F8 F5 9B D9 A3 32 7F : ...\.?.{?.....2.
00f0: C5 3F 17 C3 91 74 A2 21  9D 8D 05 9D 52 CD 00 00 : .?...t.!....R...
0100: 00 00 00 00 00 00 00 00  00 00 00 0C 0A 15 00 00 : ................
0110: 00 00 00 00 00 00 00 00                          : ........
=> libssh2_transport_read() plain (249 bytes)
0000: 1F 00 00 00 68 00 00 00  13 65 63 64 73 61 2D 73 : ....h....ecdsa-s
0010: 68 61 32 2D 6E 69 73 74  70 32 35 36 00 00 00 08 : ha2-nistp256....
0020: 6E 69 73 74 70 32 35 36  00 00 00 41 04 01 D2 75 : nistp256...A...u
0030: 4E 5B 26 F9 27 68 C4 2E  17 67 D0 9F FB D2 EF A9 : N[&.'h...g......
0040: D0 C1 B3 48 AE 6F F1 25  10 FB 10 6C B4 F4 D5 79 : ...H.o.%...l...y
0050: C9 BA 65 F5 D4 88 F4 97  4B 60 13 7D 7F B1 71 B7 : ..e.....K`.}..q.
0060: 7C E8 60 FE AE 87 29 E9  D7 45 31 D0 A4 00 00 00 : |.`...)..E1.....
0070: 20 2C EC 60 44 E4 94 F7  32 4A BD 14 16 F1 6E 86 :  ,.`D...2J....n.
0080: 4D 47 6D 3C 85 91 48 CC  46 DD 89 79 C4 B0 FD DF : MGm<..H.F..y....
0090: 62 00 00 00 64 00 00 00  13 65 63 64 73 61 2D 73 : b...d....ecdsa-s
00a0: 68 61 32 2D 6E 69 73 74  70 32 35 36 00 00 00 49 : ha2-nistp256...I
00b0: 00 00 00 20 15 16 5D 6D  4A EF 79 74 9F 3D E0 04 : ... ..]mJ.yt.=..
00c0: A3 6C 02 F6 3D C8 59 60  4B 1F 2E 5A 56 4F 72 A8 : .l..=.Y`K..ZVOr.
00d0: 12 4A 54 BD 00 00 00 21  00 EB BE 1B 98 9E 5C 15 : .JT....!......\.
00e0: 3F 8C 7B 3F F8 F5 9B D9  A3 32 7F C5 3F 17 C3 91 : ?.{?.....2..?...
00f0: 74 A2 21 9D 8D 05 9D 52  CD                      : t.!....R.
[libssh2] 0.920024 Transport: Packet type 31 received, length=249
[libssh2] 0.920041 Transport: Looking for packet of type: 31
[libssh2] 0.920099 Key Ex: Server's MD5 Fingerprint: 09:8a:28:ff:d0:b5:00:2d:16:22:40:2d:6a:26:20:a6
[libssh2] 0.920129 Key Ex: Server's SHA1 Fingerprint: e7:82:7e:c2:0d:0a:fc:ad:e1:b4:f7:8a:2f:04:98:f0:02:e8:63:e5
[libssh2] 0.920170 Key Ex: Server's SHA256 Fingerprint: 6y8fqKxxWTef+ALRuH6YOwxvlyyF9HQT2VAL7uy3Bec=
=> libssh2_transport_write plain (1 bytes)
0000: 15                                               : .
[libssh2] 0.921138 Socket: Sent 16/16 bytes at 0x12800c288
=> libssh2_transport_write send() (16 bytes)
0000: 00 00 00 0C 0A 15 17 D2  BC EA 12 82 F3 F4 B0 01 : ................
[libssh2] 0.921178 Transport: Looking for packet of type: 21
=> libssh2_transport_read() plain (1 bytes)
0000: 15                                               : .
[libssh2] 0.921211 Transport: Packet type 21 received, length=1
[libssh2] 0.921223 Transport: Looking for packet of type: 21
[libssh2] 0.921235 Key Ex: Received NEWKEYS message
[libssh2] 0.921246 Key Ex: session_id calculated
[libssh2] 0.921265 Key Ex: Client to Server IV and Key calculated
[libssh2] 0.921284 Key Ex: Server to Client IV and Key calculated
[libssh2] 0.921299 Key Ex: Client to Server HMAC Key calculated
[libssh2] 0.921313 Key Ex: Server to Client HMAC Key calculated
[libssh2] 0.921326 Key Ex: Client to Server compression initialized
[libssh2] 0.921337 Key Ex: Server to Client compression initialized
[libssh2] 0.921350 Transport: Requesting userauth service
=> libssh2_transport_write plain (17 bytes)
0000: 05 00 00 00 0C 73 73 68  2D 75 73 65 72 61 75 74 : .....ssh-useraut
0010: 68                                               : h
[libssh2] 0.921467 Socket: Sent 64/64 bytes at 0x12800c288
=> libssh2_transport_write send() (64 bytes)
0000: 3C F3 6B 65 30 88 D5 58  9D 38 0D 77 2A 4F B0 DC : <.ke0..X.8.w*O..
0010: 65 9F FA D3 F6 B9 7B 3A  E9 4C 3F DA 7F 37 81 57 : e.....{:.L?..7.W
0020: E3 B7 16 19 AB 27 64 9A  A2 4F B7 F0 4C 4E AD 0F : .....'d..O..LN..
0030: 90 63 51 25 CA C8 3A D9  C4 CB 36 66 32 00 23 35 : .cQ%..:...6f2.#5
[libssh2] 0.921539 Transport: Looking for packet of type: 6
[libssh2] 0.921720 Socket: Recved 64/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (64 bytes)
0000: 94 49 4A F0 1A EC 02 02  43 0D 51 65 E6 3D B3 EF : .IJ.....C.Qe.=..
0010: 0C 0D 34 80 A0 AA 1A DD  F8 DC CE DE 0C C7 99 E3 : ..4.............
0020: A8 E0 8A 86 92 D7 2E A9  CA 89 EB 8C 98 54 75 D2 : .............Tu.
0030: 26 F4 BE D6 50 7C 49 B6  6E B8 7B 53 8D 88 9E 98 : &...P|I.n.{S....
=> libssh2_transport_read() plain (17 bytes)
0000: 06 00 00 00 0C 73 73 68  2D 75 73 65 72 61 75 74 : .....ssh-useraut
0010: 68                                               : h
[libssh2] 0.921833 Transport: Packet type 6 received, length=17
[libssh2] 0.921845 Transport: Looking for packet of type: 6
2022-08-25T22:01:18.922Z INFO  [wezterm_ssh_test] Banner: SSH-2.0-OpenSSH_for_Windows_8.1
=> libssh2_transport_write plain (35 bytes)
0000: 32 00 00 00 08 73 65 6E  6B 77 69 63 68 00 00 00 : 2....senkwich...
0010: 0E 73 73 68 2D 63 6F 6E  6E 65 63 74 69 6F 6E 00 : .ssh-connection.
0020: 00 00 04                                         : ...
=> libssh2_transport_write plain2 (4 bytes)
0000: 6E 6F 6E 65                                      : none
[libssh2] 0.922689 Socket: Sent 80/80 bytes at 0x12800c288
=> libssh2_transport_write send() (80 bytes)
0000: 54 6E 5C 31 B3 46 F3 CE  2D 1E 96 48 BF 91 5D C9 : Tn\1.F..-..H..].
0010: 92 FF 5F 6A 0C ED DF B6  B1 40 D1 E8 C4 42 F2 A2 : .._j.....@...B..
0020: 5C DE B7 63 57 9F E6 7D  5C FC 31 80 D3 20 CB CF : \..cW..}\.1.. ..
0030: AC CA EF 1C 5E 22 A5 81  0A B8 BF C3 72 3A 4C AD : ....^"......r:L.
0040: 31 29 67 21 50 C4 A6 26  82 87 6F 94 35 42 32 1A : 1)g!P..&..o.5B2.
[libssh2] 0.922803 Transport: Looking for packet of type: 52
[libssh2] 0.922814 Transport: Looking for packet of type: 51
[libssh2] 0.922828 Failure Event: -37 - Would block requesting userauth list
[libssh2] 0.938811 Transport: Looking for packet of type: 52
[libssh2] 0.938831 Transport: Looking for packet of type: 51
[libssh2] 0.938849 Socket: Recved 96/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (96 bytes)
0000: 29 F5 D7 1D 46 32 18 9E  3D 23 A5 40 D3 51 D2 4F : )...F2..=#.@.Q.O
0010: E8 C3 27 D9 8F 76 A5 85  B3 38 A6 86 F5 6A 5F 5A : ..'..v...8...j_Z
0020: 2E 04 3D 77 8D 54 D0 35  39 9A 28 E6 2A D6 E7 D3 : ..=w.T.59.(.*...
0030: 91 87 28 77 02 4B 9E C0  50 AC 3F 14 B2 6B BF 4F : ..(w.K..P.?..k.O
0040: 87 EE EC 8C EA 7B 63 8D  F6 9E 49 A9 B7 ED 4B 46 : .....{c...I...KF
0050: 51 0F 4A 39 5F CE 58 7F  15 D5 62 DE 6A 40 F5 F7 : Q.J9_.X...b.j@..
=> libssh2_transport_read() plain (45 bytes)
0000: 33 00 00 00 27 70 75 62  6C 69 63 6B 65 79 2C 70 : 3...'publickey,p
0010: 61 73 73 77 6F 72 64 2C  6B 65 79 62 6F 61 72 64 : assword,keyboard
0020: 2D 69 6E 74 65 72 61 63  74 69 76 65 00          : -interactive.
[libssh2] 0.939005 Transport: Packet type 51 received, length=45
[libssh2] 0.939019 Transport: Looking for packet of type: 52
[libssh2] 0.939030 Transport: Looking for packet of type: 51
[libssh2] 0.939051 Userauth: Permitted auth methods: publickey,password,keyboard-interactive
2022-08-25T22:01:18.939Z TRACE [wezterm_ssh::auth] ssh auth methods: {"password", "keyboard-interactive", "publickey"}
[libssh2] 0.956976 Failure Event: 0 - agent list id failed
[libssh2] 0.957088 Userauth: Attempting publickey authentication
=> libssh2_transport_write plain (595 bytes)
0000: 32 00 00 00 08 73 65 6E  6B 77 69 63 68 00 00 00 : 2....senkwich...
0010: 0E 73 73 68 2D 63 6F 6E  6E 65 63 74 69 6F 6E 00 : .ssh-connection.
0020: 00 00 09 70 75 62 6C 69  63 6B 65 79 00 00 00 00 : ...publickey....
0030: 07 73 73 68 2D 72 73 61  00 00 02 17 00 00 00 07 : .ssh-rsa........
0040: 73 73 68 2D 72 73 61 00  00 00 03 01 00 01 00 00 : ssh-rsa.........
0050: 02 01 00 E2 46 9D EA 28  81 24 E5 77 91 A3 E3 39 : ....F..(.$.w...9
0060: 4D 69 E7 BE 42 FB ED AB  90 5B 7C CC 01 E2 CE A8 : Mi..B....[|.....
0070: 29 AD 5C A0 AE 9F 76 76  A1 EF B9 ED B0 7C 46 11 : ).\...vv.....|F.
0080: 82 AD A1 31 F2 7A 96 1D  38 6E D0 5A AB 8E 34 A8 : ...1.z..8n.Z..4.
0090: FE A1 0C 05 C0 C1 15 5C  00 03 D9 58 E7 21 DD 9F : .......\...X.!..
00a0: A6 61 DF A0 B1 EC C0 79  EE BB 75 0B 56 F0 18 7A : .a.....y..u.V..z
00b0: FE E0 01 29 F1 F1 58 E2  1A 0E 30 7D 65 E0 7E 10 : ...)..X...0}e.~.
00c0: 79 E8 BF A5 80 3F 2F 35  31 26 A4 72 68 06 23 3E : y....?/51&.rh.#>
00d0: D9 C2 61 2B 9D 36 BB E6  34 25 D2 F8 BD 44 65 09 : ..a+.6..4%...De.
00e0: A9 98 0A 5D E3 18 1F C5  80 15 BC 7D 6D 44 E4 D2 : ...].......}mD..
00f0: 9C EB F4 1D 2A 38 67 75  DD 03 4A 2D 24 1A 16 BD : ....*8gu..J-$...
0100: E5 F3 0A 02 53 88 58 FB  D4 FF EB 92 20 B7 20 DB : ....S.X..... . .
0110: 79 1A 6E 99 45 62 A3 0C  39 AC 22 96 87 DA DB 03 : y.n.Eb..9.".....
0120: FE 22 0F 8F E9 AD DA 4A  51 EE 4E 18 E2 BD C2 9E : .".....JQ.N.....
0130: B5 C5 29 19 15 BB B6 E5  A6 01 B3 00 3D 2F 26 DA : ..).........=/&.
0140: 1E 08 CA C2 F3 0A 16 CF  F1 A1 25 4D EF 60 F2 B3 : ..........%M.`..
0150: 07 09 DA 65 20 A4 64 7B  48 8D DF F2 DB C4 DD 72 : ...e .d{H......r
0160: 57 F6 FE A3 D2 94 BE 7C  F2 48 66 C5 A3 31 04 ED : W......|.Hf..1..
0170: 30 A7 3C DA E0 DB EF 0E  6C B4 17 09 7E F6 78 F3 : 0.<.....l...~.x.
0180: 72 8E C0 C8 CC 28 A7 86  82 A7 95 E2 26 B6 0E 8A : r....(......&...
0190: 7A D8 11 6E 0D A2 7F 42  98 D5 A0 21 AB B8 C2 B7 : z..n...B...!....
01a0: CB B5 BD CD 4A 34 14 13  4C 7D 37 EE D4 0C E7 B6 : ....J4..L}7.....
01b0: 4A E0 9F 54 E3 0A F2 30  94 6B F1 D9 6C 19 BE EC : J..T...0.k..l...
01c0: 5F 93 E0 EF 51 1E 9F E6  31 CD 9E AB C1 9E D8 79 : _...Q...1......y
01d0: 65 9B FE A2 66 2B 24 B8  24 A7 99 DC C2 C9 EF C1 : e...f+$.$.......
01e0: 1F C9 C1 FE E9 B5 B1 35  9E C5 D1 C4 D3 F5 2B 6E : .......5......+n
01f0: 62 32 CD FC FD 8C A5 0C  E4 20 27 1F 64 B4 54 C5 : b2....... '.d.T.
0200: 63 F8 56 2D 2C 4A EB E2  90 73 8B 16 09 02 C4 DC : c.V-,J...s......
0210: 8D 12 CF 6A CF 3A 12 95  F8 89 B6 51 FF 78 B7 28 : ...j.:.....Q.x.(
0220: 74 75 24 F7 F2 25 77 D2  EA 7C D5 BA 8A 01 3E E0 : tu$..%w..|....>.
0230: 08 D6 3D 1D EF FD 95 9E  64 FE CF 9F 6A 59 D1 A8 : ..=.....d...jY..
0240: FE 97 82 EE C6 81 9B 6F  8F 90 59 D5 4F 04 7F 74 : .......o..Y.O..t
0250: F8 B0 5D                                         : ..]
[libssh2] 0.957750 Socket: Sent 640/640 bytes at 0x12800c288
=> libssh2_transport_write send() (640 bytes)
0000: CB EA B2 48 F0 9A 7D B1  8B 6A 48 22 47 2E EE 4D : ...H..}..jH"G..M
0010: 9B 55 17 B2 9A 84 CF A1  BA 48 BC 9F D0 8C 29 83 : .U.......H....).
0020: 92 48 C6 C7 97 15 1B E2  3D D6 1D B5 22 2E 46 EB : .H......=...".F.
0030: 73 AB 28 69 75 D6 49 3E  4C 8C B8 62 B1 C7 E8 88 : s.(iu.I>L..b....
0040: 89 A0 60 CE E3 B4 ED E8  28 A7 11 AD 13 BB C8 9E : ..`.....(.......
0050: A9 C1 C6 45 6B 74 6B 67  75 4A 9E 64 A2 80 12 E7 : ...EktkguJ.d....
0060: 1F 24 CC 44 43 68 AA BC  BB BE 18 00 88 6E F3 36 : .$.DCh.......n.6
0070: AE 95 37 17 FC ED A2 E4  17 77 64 0C 29 6E 6A D7 : ..7......wd.)nj.
0080: F7 E4 E7 35 91 9E 17 54  E4 E8 6A 91 4D 50 27 EB : ...5...T..j.MP'.
0090: E2 82 A8 13 A4 34 D9 7E  E5 02 70 6D AB 78 91 02 : .....4.~..pm.x..
00a0: 13 D1 EF 84 AD FD 6F F8  A1 78 0B E7 E1 2C 9A 63 : ......o..x...,.c
00b0: 14 05 8C CA DC 17 3D F6  4C 72 0B FD F3 5D 94 41 : ......=.Lr...].A
00c0: 9F 2E 35 05 67 F5 10 C8  30 30 3D E5 7E B4 61 14 : ..5.g...00=.~.a.
00d0: C7 E7 46 A9 92 66 7D 21  E2 F8 53 14 9A AB 60 C4 : ..F..f}!..S...`.
00e0: A7 68 E1 B1 09 3A 43 DF  A2 EA 35 68 F0 AE 4D B8 : .h...:C...5h..M.
00f0: D1 32 02 A9 2E 90 52 87  E2 3B 1E 82 84 9A 0D EE : .2....R..;......
0100: 89 04 24 56 94 2D 23 20  27 AA 05 74 51 35 1B FD : ..$V.-# '..tQ5..
0110: A6 AB F9 F6 1F B1 1D 21  9A 24 37 DD C6 CB 63 EC : .......!.$7...c.
0120: 31 2E 66 8B 35 FE 61 BB  AE 23 9C 00 AB BE C8 A9 : 1.f.5.a..#......
0130: C6 65 95 C1 22 3F 2A 05  5A 81 C1 2C F4 25 CE EC : .e.."?*.Z..,.%..
0140: B9 79 99 76 83 90 74 36  07 D9 E9 D3 65 1D E8 B7 : .y.v..t6....e...
0150: C8 F8 99 9A DF 63 A4 53  95 DA 70 AC 84 51 AB F2 : .....c.S..p..Q..
0160: 01 9F 02 89 C9 16 3F 10  B5 55 6D 2E 3C 05 75 B2 : ......?..Um.<.u.
0170: 2F 20 65 D9 4A 14 29 82  52 13 3F E9 15 25 6A 08 : / e.J.).R.?..%j.
0180: C5 31 F2 F9 6C 3B 32 A2  87 5D 37 DE 6A 03 88 F6 : .1..l;2..]7.j...
0190: 4D FB EC 77 B6 47 01 BD  83 20 B8 23 C5 D9 A5 42 : M..w.G... .#...B
01a0: CE 6C 98 50 35 BD 1D 88  41 69 5A A6 49 C1 96 17 : .l.P5...AiZ.I...
01b0: ED 5F 9E 19 F2 0C D7 EE  8C 75 8B 0E 3C CA 22 3A : ._.......u..<.":
01c0: 31 59 9F 2D 7D 60 05 4E  86 44 A1 06 10 9A 34 06 : 1Y.-}`.N.D....4.
01d0: 23 0A 50 9B 36 38 D8 70  88 51 28 FA D3 92 60 F9 : #.P.68.p.Q(...`.
01e0: D2 F3 35 EC 45 63 2A 86  40 65 BE 4A 5C F6 AA 62 : ..5.Ec*.@e.J\..b
01f0: 63 DF BB 24 F0 C2 46 DD  DD CE DC 9E 35 30 49 B2 : c..$..F.....50I.
0200: 5F B8 89 A0 C8 26 D9 2F  6E 75 BA 3B 09 49 33 C0 : _....&./nu.;.I3.
0210: 12 30 A1 68 C3 F2 8F 79  D5 C5 4F 17 6D 88 3A F6 : .0.h...y..O.m.:.
0220: 3F 2D E3 D2 4B 4F 1A ED  7A 6A B7 CD 28 79 23 7B : ?-..KO..zj..(y#{
0230: 89 CD 3D B9 FE AA 34 D5  F7 AA F7 38 77 F5 9E C7 : ..=...4....8w...
0240: 7C 81 51 E3 4A 36 01 23  A3 5B AA F0 65 07 E8 D0 : |.Q.J6.#.[..e...
0250: 0C 17 5B 1E DC C5 10 E8  90 E0 97 60 08 C1 11 13 : ..[........`....
0260: 8F 84 66 87 16 33 5F 25  04 88 3E 09 0C F1 38 FB : ..f..3_%..>...8.
0270: F5 5B 10 0E 7C 3C 01 D6  16 70 C7 B3 92 55 6C F0 : .[..|<...p...Ul.
[libssh2] 0.958229 Transport: Looking for packet of type: 52
[libssh2] 0.958240 Transport: Looking for packet of type: 51
[libssh2] 0.958251 Transport: Looking for packet of type: 60
[libssh2] 0.958267 Failure Event: -37 - Would block
[libssh2] 0.970898 Transport: Looking for packet of type: 52
[libssh2] 0.970918 Transport: Looking for packet of type: 51
[libssh2] 0.970929 Transport: Looking for packet of type: 60
[libssh2] 0.970970 Socket: Recved 96/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (96 bytes)
0000: 65 42 21 FF C9 4C 0B BA  AF 52 DF 23 01 AE 0C 11 : eB!..L...R.#....
0010: D3 2F 4E 60 93 B4 88 93  97 DB A0 0A A6 86 8A 81 : ./N`............
0020: 5C 64 8C 65 14 9C 56 BF  E7 57 68 0C 15 08 80 E4 : \d.e..V..Wh.....
0030: 62 F9 F5 F2 8B C7 CB C8  2D C8 C6 EB 01 0A C5 D7 : b.......-.......
0040: 95 27 8A EC 23 A2 9C 9E  56 33 C0 86 8E A7 6E 95 : .'..#...V3....n.
0050: 6A 15 D7 E8 26 C3 D1 A6  3B 88 53 1D 94 CE 76 F3 : j...&...;.S...v.
=> libssh2_transport_read() plain (45 bytes)
0000: 33 00 00 00 27 70 75 62  6C 69 63 6B 65 79 2C 70 : 3...'publickey,p
0010: 61 73 73 77 6F 72 64 2C  6B 65 79 62 6F 61 72 64 : assword,keyboard
0020: 2D 69 6E 74 65 72 61 63  74 69 76 65 00          : -interactive.
[libssh2] 0.971145 Transport: Packet type 51 received, length=45
[libssh2] 0.971168 Transport: Looking for packet of type: 52
[libssh2] 0.971179 Transport: Looking for packet of type: 51
[libssh2] 0.971196 Failure Event: -18 - Username/PublicKey combination invalid
[libssh2] 0.971235 Userauth: Attempting publickey authentication
=> libssh2_transport_write plain (595 bytes)
0000: 32 00 00 00 08 73 65 6E  6B 77 69 63 68 00 00 00 : 2....senkwich...
0010: 0E 73 73 68 2D 63 6F 6E  6E 65 63 74 69 6F 6E 00 : .ssh-connection.
0020: 00 00 09 70 75 62 6C 69  63 6B 65 79 00 00 00 00 : ...publickey....
0030: 07 73 73 68 2D 72 73 61  00 00 02 17 00 00 00 07 : .ssh-rsa........
0040: 73 73 68 2D 72 73 61 00  00 00 03 01 00 01 00 00 : ssh-rsa.........
0050: 02 01 00 E2 46 9D EA 28  81 24 E5 77 91 A3 E3 39 : ....F..(.$.w...9
0060: 4D 69 E7 BE 42 FB ED AB  90 5B 7C CC 01 E2 CE A8 : Mi..B....[|.....
0070: 29 AD 5C A0 AE 9F 76 76  A1 EF B9 ED B0 7C 46 11 : ).\...vv.....|F.
0080: 82 AD A1 31 F2 7A 96 1D  38 6E D0 5A AB 8E 34 A8 : ...1.z..8n.Z..4.
0090: FE A1 0C 05 C0 C1 15 5C  00 03 D9 58 E7 21 DD 9F : .......\...X.!..
00a0: A6 61 DF A0 B1 EC C0 79  EE BB 75 0B 56 F0 18 7A : .a.....y..u.V..z
00b0: FE E0 01 29 F1 F1 58 E2  1A 0E 30 7D 65 E0 7E 10 : ...)..X...0}e.~.
00c0: 79 E8 BF A5 80 3F 2F 35  31 26 A4 72 68 06 23 3E : y....?/51&.rh.#>
00d0: D9 C2 61 2B 9D 36 BB E6  34 25 D2 F8 BD 44 65 09 : ..a+.6..4%...De.
00e0: A9 98 0A 5D E3 18 1F C5  80 15 BC 7D 6D 44 E4 D2 : ...].......}mD..
00f0: 9C EB F4 1D 2A 38 67 75  DD 03 4A 2D 24 1A 16 BD : ....*8gu..J-$...
0100: E5 F3 0A 02 53 88 58 FB  D4 FF EB 92 20 B7 20 DB : ....S.X..... . .
0110: 79 1A 6E 99 45 62 A3 0C  39 AC 22 96 87 DA DB 03 : y.n.Eb..9.".....
0120: FE 22 0F 8F E9 AD DA 4A  51 EE 4E 18 E2 BD C2 9E : .".....JQ.N.....
0130: B5 C5 29 19 15 BB B6 E5  A6 01 B3 00 3D 2F 26 DA : ..).........=/&.
0140: 1E 08 CA C2 F3 0A 16 CF  F1 A1 25 4D EF 60 F2 B3 : ..........%M.`..
0150: 07 09 DA 65 20 A4 64 7B  48 8D DF F2 DB C4 DD 72 : ...e .d{H......r
0160: 57 F6 FE A3 D2 94 BE 7C  F2 48 66 C5 A3 31 04 ED : W......|.Hf..1..
0170: 30 A7 3C DA E0 DB EF 0E  6C B4 17 09 7E F6 78 F3 : 0.<.....l...~.x.
0180: 72 8E C0 C8 CC 28 A7 86  82 A7 95 E2 26 B6 0E 8A : r....(......&...
0190: 7A D8 11 6E 0D A2 7F 42  98 D5 A0 21 AB B8 C2 B7 : z..n...B...!....
01a0: CB B5 BD CD 4A 34 14 13  4C 7D 37 EE D4 0C E7 B6 : ....J4..L}7.....
01b0: 4A E0 9F 54 E3 0A F2 30  94 6B F1 D9 6C 19 BE EC : J..T...0.k..l...
01c0: 5F 93 E0 EF 51 1E 9F E6  31 CD 9E AB C1 9E D8 79 : _...Q...1......y
01d0: 65 9B FE A2 66 2B 24 B8  24 A7 99 DC C2 C9 EF C1 : e...f+$.$.......
01e0: 1F C9 C1 FE E9 B5 B1 35  9E C5 D1 C4 D3 F5 2B 6E : .......5......+n
01f0: 62 32 CD FC FD 8C A5 0C  E4 20 27 1F 64 B4 54 C5 : b2....... '.d.T.
0200: 63 F8 56 2D 2C 4A EB E2  90 73 8B 16 09 02 C4 DC : c.V-,J...s......
0210: 8D 12 CF 6A CF 3A 12 95  F8 89 B6 51 FF 78 B7 28 : ...j.:.....Q.x.(
0220: 74 75 24 F7 F2 25 77 D2  EA 7C D5 BA 8A 01 3E E0 : tu$..%w..|....>.
0230: 08 D6 3D 1D EF FD 95 9E  64 FE CF 9F 6A 59 D1 A8 : ..=.....d...jY..
0240: FE 97 82 EE C6 81 9B 6F  8F 90 59 D5 4F 04 7F 74 : .......o..Y.O..t
0250: F8 B0 5D                                         : ..]
[libssh2] 0.971723 Socket: Sent 640/640 bytes at 0x12800c288
=> libssh2_transport_write send() (640 bytes)
0000: 5E CC B9 21 E5 11 D4 43  66 D9 B3 1C 16 22 AC 45 : ^..!...Cf....".E
0010: 9C 32 F4 B6 96 19 61 25  2C 20 AE 16 6D FF 90 41 : .2....a%, ..m..A
0020: 27 55 63 94 56 B0 74 29  86 2D AD 03 2F E5 D3 FF : 'Uc.V.t).-../...
0030: 85 2E 20 48 88 AB C8 D1  77 D1 06 D0 AD F5 01 69 : .. H....w......i
0040: F8 15 E3 A8 AC EB 47 D2  93 7C 23 2C 75 E3 35 F3 : ......G..|#,u.5.
0050: A2 26 38 D3 3F 49 66 B1  AB CF 09 36 61 66 00 AC : .&8.?If....6af..
0060: B2 72 C4 84 6D F0 06 06  FB FB DC 09 60 B0 8C 7D : .r..m.......`..}
0070: 7D BA FF 7E A1 AA 48 F7  B5 1F D2 D5 79 68 83 A1 : }..~..H.....yh..
0080: F0 7B 41 00 86 B4 2E AC  04 C3 46 DC 91 F6 45 BB : .{A.......F...E.
0090: F3 B9 BF B9 EA 86 34 0D  8A 9C 33 30 9E E0 2B BC : ......4...30..+.
00a0: A3 A0 14 82 E4 8B 2E 75  39 D2 42 9F 84 8D 46 C7 : .......u9.B...F.
00b0: A4 2E 73 1E 30 C1 29 F4  9C 3F 04 F4 5A B9 4D 11 : ..s.0.)..?..Z.M.
00c0: 56 23 69 8E 3A 87 28 EB  F8 93 89 E8 33 19 15 F1 : V#i.:.(.....3...
00d0: 73 19 26 A5 63 06 50 D0  B0 6F 2B C1 95 20 AF 45 : s.&.c.P..o+.. .E
00e0: E9 A5 CD EE 80 85 B1 F4  11 BB 59 6B 9B C5 77 2C : ..........Yk..w,
00f0: F6 09 B3 2B 9A FE F5 18  DE 1F 4A F8 12 36 1B E9 : ...+......J..6..
0100: 02 89 8D C6 5B 65 93 0D  91 70 26 7E 0B 42 5C 20 : ....[e...p&~.B\ 
0110: 40 5A AD 87 6A 6B 4C 11  9A 99 A6 29 84 9A 46 DF : @Z..jkL....)..F.
0120: EC 83 56 6E 56 E9 0D B5  A7 7A 60 22 42 39 36 1B : ..VnV....z`"B96.
0130: 04 D6 09 92 06 F6 58 DB  48 5C 54 71 20 39 33 57 : ......X.H\Tq 93W
0140: E9 C4 6F C3 2A 8F C2 31  6F 2E F0 0E 72 91 9B 61 : ..o.*..1o...r..a
0150: 1C 12 48 75 8D C6 D5 44  CE 90 C7 1E 73 7B C9 7C : ..Hu...D....s{.|
0160: 5C D7 FD 0E 6C E0 BF 56  A6 8C 15 BC 1C B9 C4 97 : \...l..V........
0170: 54 8E FE C1 D6 36 EE E7  0C 3E C0 62 36 E5 1A C6 : T....6...>.b6...
0180: 05 72 A1 77 45 81 47 18  4B 46 BE 7B 67 48 FA 46 : .r.wE.G.KF.{gH.F
0190: 4E 57 A7 27 F7 73 F8 9C  2E 5E A8 E0 C0 91 4F 6B : NW.'.s...^....Ok
01a0: A3 05 36 3D 6B CC EB 01  A0 9C 28 A7 78 5A 19 0C : ..6=k.....(.xZ..
01b0: F5 6E 9C CC 65 B7 EE A9  3C EE 91 43 A0 D1 61 67 : .n..e...<..C..ag
01c0: 31 0C 4B CF 01 63 46 45  E4 A2 BF 4A 19 4E 83 8E : 1.K..cFE...J.N..
01d0: BE 07 C0 12 24 0D 08 61  77 52 96 E8 EB 0A 41 47 : ....$..awR....AG
01e0: 1D 89 3F 7E 55 C0 A6 55  52 EF C0 1D 18 37 07 6E : ..?~U..UR....7.n
01f0: EF B5 9C B9 1C 9D 82 DE  61 D2 46 27 B8 9C C0 61 : ........a.F'...a
0200: 15 16 80 B4 BE 1F 1E E1  9A D4 82 7A 0D C5 61 B4 : ...........z..a.
0210: 76 6E EA 34 42 9D 59 B8  40 9F D7 77 17 4D D4 50 : vn.4B.Y.@..w.M.P
0220: 7C 15 D2 9B 4F 43 9D 76  53 5A 04 AA F9 5A 5C F0 : |...OC.vSZ...Z\.
0230: 8A 8A 01 61 C7 A7 34 17  1B 6F 78 E4 B5 B1 18 9D : ...a..4..ox.....
0240: 47 2A 19 19 CD 00 F6 9C  10 72 A3 AA BF 35 FE B0 : G*.......r...5..
0250: 2B D9 C5 97 4B 09 AE 3C  37 6D 0C 0F 55 2A FA C0 : +...K..<7m..U*..
0260: 53 31 0D D8 57 C4 56 F9  4F A6 D7 03 46 1E 3D 5B : S1..W.V.O...F.=[
0270: BE 53 88 1D 89 AD A2 B2  51 EB 80 ED 7C 22 5C 61 : .S......Q...|"\a
[libssh2] 0.972194 Transport: Looking for packet of type: 52
[libssh2] 0.972205 Transport: Looking for packet of type: 51
[libssh2] 0.972222 Transport: Looking for packet of type: 60
[libssh2] 0.972236 Failure Event: -37 - Would block
[libssh2] 0.986231 Transport: Looking for packet of type: 52
[libssh2] 0.986251 Transport: Looking for packet of type: 51
[libssh2] 0.986262 Transport: Looking for packet of type: 60
[libssh2] 0.986278 Socket: Recved 96/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (96 bytes)
0000: AA 30 7D 55 B6 27 D0 F3  CB 4A EF 12 4C F9 79 F6 : .0}U.'...J..L.y.
0010: 8D 88 BA E7 B0 54 CE E9  FB 40 26 BA 52 D0 57 6A : .....T...@&.R.Wj
0020: D8 15 CE 50 3F A2 D8 3B  D4 09 2D F7 D7 56 9B 15 : ...P?..;..-..V..
0030: 33 36 9B A6 51 6D AA EB  B4 E5 B8 FE 62 88 FC 6D : 36..Qm......b..m
0040: E1 AD 59 AD FD 45 E1 2C  83 02 F3 93 D7 57 68 6A : ..Y..E.,.....Whj
0050: 65 44 BC 60 19 15 B2 B6  7B 95 48 F7 D0 37 52 F2 : eD.`....{.H..7R.
=> libssh2_transport_read() plain (45 bytes)
0000: 33 00 00 00 27 70 75 62  6C 69 63 6B 65 79 2C 70 : 3...'publickey,p
0010: 61 73 73 77 6F 72 64 2C  6B 65 79 62 6F 61 72 64 : assword,keyboard
0020: 2D 69 6E 74 65 72 61 63  74 69 76 65 00          : -interactive.
[libssh2] 0.986460 Transport: Packet type 51 received, length=45
[libssh2] 0.986472 Transport: Looking for packet of type: 52
[libssh2] 0.986483 Transport: Looking for packet of type: 51
[libssh2] 0.986495 Failure Event: -18 - Username/PublicKey combination invalid
[libssh2] 0.986782 Userauth: Loading public key file: /Users/senkwich/.ssh/id_rsa.pub
[libssh2] 0.987042 Userauth: Attempting publickey authentication
=> libssh2_transport_write plain (467 bytes)
0000: 32 00 00 00 08 73 65 6E  6B 77 69 63 68 00 00 00 : 2....senkwich...
0010: 0E 73 73 68 2D 63 6F 6E  6E 65 63 74 69 6F 6E 00 : .ssh-connection.
0020: 00 00 09 70 75 62 6C 69  63 6B 65 79 00 00 00 00 : ...publickey....
0030: 07 73 73 68 2D 72 73 61  00 00 01 97 00 00 00 07 : .ssh-rsa........
0040: 73 73 68 2D 72 73 61 00  00 00 03 01 00 01 00 00 : ssh-rsa.........
0050: 01 81 00 DE F8 77 CC D4  06 EF C4 C9 5D A0 BD 24 : .....w......]..$
0060: 03 79 27 01 7C 2D 57 18  12 EF 02 8D B1 A7 B7 50 : .y'.|-W........P
0070: E1 31 BB EA D9 51 24 67  C7 56 E3 A2 5C FF 2C BE : .1...Q$g.V..\.,.
0080: 06 D9 84 3F 46 D6 71 54  00 9E 07 66 96 3D 7A CF : ...?F.qT...f.=z.
0090: 73 65 1F E7 EC F1 05 D5  6B 84 5F C8 80 CC C3 70 : se......k._....p
00a0: 0C 4D A1 E6 60 A4 C6 4A  D3 4D 77 5D 07 2F 46 4A : .M..`..J.Mw]./FJ
00b0: CC 71 B9 66 6C 14 7A 8F  F7 81 BA 87 73 00 C0 FB : .q.fl.z.....s...
00c0: 0B 64 27 6D 83 83 0E 3A  07 F2 9D DB 92 4C 66 51 : .d'm...:.....LfQ
00d0: 1E 1B 5E 7B 7E 0B 94 8A  6E 72 5B 1A DD 9D F4 8B : ..^{~...nr[.....
00e0: 6D 02 D4 67 6F A8 72 E4  19 9E 87 F2 09 6C 01 0E : m..go.r......l..
00f0: 6E D8 86 F1 AC A1 1A 9C  36 B4 93 1B 83 17 46 6A : n.......6.....Fj
0100: D9 DA 1C 86 AA 09 85 71  F2 93 3A DE 62 26 0E 1F : .......q..:.b&..
0110: 5F 6B 04 7F EF 1D 77 FF  AE 9A CE 03 F8 E4 F6 0A : _k....w.........
0120: B8 76 7B 59 29 06 D4 6A  D9 87 97 5E 45 4D 67 B9 : .v{Y)..j...^EMg.
0130: 94 A5 8B 7E 78 F5 66 35  DF 92 65 5F 61 F0 7C 3B : ...~x.f5..e_a.|;
0140: 5D 70 20 49 5A 9C D9 41  A3 34 97 45 0E 2E 8F 5E : ]p IZ..A.4.E...^
0150: 40 FB 2F 68 3D 7C 0D E0  CD 81 FD 73 88 99 93 4C : @./h=|.....s...L
0160: 74 83 C7 04 CD C5 D1 B7  04 0B 64 95 F6 3C 32 D1 : t.........d..<2.
0170: 30 FC 13 90 30 67 67 96  43 2E 5A C9 C6 02 84 CE : 0...0gg.C.Z.....
0180: 7A 9E 71 A8 B7 8F C0 81  EB 22 2A 34 5F E7 4A C0 : z.q......"*4_.J.
0190: 8D D6 0C DA 63 41 77 96  BA 3A F5 02 B3 08 9C B0 : ....cAw..:......
01a0: 5A 4A 00 2F 68 EE 50 5F  3B 4B D7 21 AE 84 1D DC : ZJ./h.P_;K.!....
01b0: F0 E4 70 74 32 C8 CD D6  35 96 D9 BE 4C A0 D5 36 : ..pt2...5...L..6
01c0: 3F 39 DA 14 5C 2A 96 E2  0E FB 67 C0 EC 5A 82 B4 : ?9..\*....g..Z..
01d0: 86 3C 2F                                         : .</
[libssh2] 0.987426 Socket: Sent 512/512 bytes at 0x12800c288
=> libssh2_transport_write send() (512 bytes)
0000: 48 3E 6C 38 C7 8A 9E AE  5B A3 AA 7E B4 1D 8A 4F : H>l8....[..~...O
0010: D5 5C 92 09 D0 41 0A 2E  80 D6 BC 2C 3E 5E A6 03 : .\...A.....,>^..
0020: 3A C8 0D 8D 7A 8F 4C 8B  90 7C AD 33 02 D0 4B F0 : :...z.L..|.3..K.
0030: 16 E5 8E EA 63 B3 FD 82  03 78 C6 1C DC 88 4D 7C : ....c....x....M|
0040: B8 AC E9 7A 5F 7A F7 51  05 0C 1E FD 2F BB 5E 9D : ...z_z.Q..../.^.
0050: 95 4E C9 F7 6A 60 A2 06  D1 59 06 C7 14 1A D4 1A : .N..j`...Y......
0060: 1B 67 AF 4E 17 DC B0 0F  9B 49 AE 44 A5 A0 BE 75 : .g.N.....I.D...u
0070: 57 0B 82 D6 40 28 49 DF  CA D7 8E 23 75 90 8C EB : W...@(I....#u...
0080: A5 BF B5 7C 2A B5 38 E3  FB B5 79 7D 1D 77 94 FF : ...|*.8...y}.w..
0090: 6F 19 8B 0B 2A FB E4 2D  EB FC 79 3E BD 6C 5B F2 : o...*..-..y>.l[.
00a0: A2 C3 C0 29 43 53 18 B3  EE 37 74 2F 89 E7 73 7B : ...)CS...7t/..s{
00b0: C4 72 EB AE 66 B4 75 B3  E6 BB 3F 4A D5 C7 DE 73 : .r..f.u...?J...s
00c0: 49 56 AC A5 94 2B F6 B1  45 44 D7 8A 1E 51 0A 68 : IV...+..ED...Q.h
00d0: 88 00 31 5C 98 F6 A0 53  F7 3F 78 A2 59 87 91 4E : ..1\...S.?x.Y..N
00e0: E1 48 F0 2D AA A7 D9 4E  20 58 AE 8B 1B 4D 65 54 : .H.-...N X...MeT
00f0: 2F 08 B5 AC 8C F3 C8 B5  74 37 7B 65 71 51 CD 39 : /.......t7{eqQ.9
0100: 1A 7E 50 FC 15 F5 8A E2  41 15 07 14 45 16 CA 10 : .~P.....A...E...
0110: 88 A5 CB A6 AA 30 70 3C  88 55 6A CE 8B 30 48 E8 : .....0p<.Uj..0H.
0120: 66 71 D6 EF 52 89 D1 02  D0 A6 D6 8D 71 D1 34 2C : fq..R.......q.4,
0130: 35 62 24 D7 22 2E A5 05  BD 8C 3C A9 9F 47 75 57 : 5b$.".....<..GuW
0140: 51 F2 7D 8F AB C0 A1 B4  7D 1A 2C 06 7F 62 44 58 : Q.}.....}.,..bDX
0150: A1 22 25 06 4C 81 CE DF  1F 24 C1 DF 28 BF 0C ED : ."%.L....$..(...
0160: B9 62 5F 5F 10 95 10 F1  E8 15 3E 8F 8E E6 1B 72 : .b__......>....r
0170: D1 2C E5 93 0F 3A 05 6E  2D 47 D1 CF 37 39 FF 79 : .,...:.n-G..79.y
0180: 82 63 F9 7C 85 3E E2 94  7C 62 03 4B 2F E0 A2 F6 : .c.|.>..|b.K/...
0190: C0 A7 A0 86 1D 0C 0C 08  0A 15 79 E9 C8 05 35 F8 : ..........y...5.
01a0: EB 51 1B D1 97 66 03 F9  0B EF FC EA 76 F0 44 3E : .Q...f......v.D>
01b0: 47 E1 04 32 25 20 DA 48  7A D9 13 B3 C2 71 44 B7 : G..2% .Hz....qD.
01c0: 0B E2 C5 43 E4 55 3A B5  25 44 E9 44 90 35 29 B2 : ...C.U:.%D.D.5).
01d0: 83 5D 99 38 09 58 97 83  3D 0B 4A C8 CF 61 A1 A9 : .].8.X..=.J..a..
01e0: 59 E9 D0 EC 55 E9 DD F8  D6 5B 37 BE EB 30 01 F6 : Y...U....[7..0..
01f0: 8C BC DE 7D 04 54 6B 72  4F 92 0B 8A CD 7F 6F 2D : ...}.TkrO.....o-
[libssh2] 0.987790 Transport: Looking for packet of type: 52
[libssh2] 0.987795 Transport: Looking for packet of type: 51
[libssh2] 0.987800 Transport: Looking for packet of type: 60
[libssh2] 0.987806 Failure Event: -37 - Would block
[libssh2] 1.001548 Transport: Looking for packet of type: 52
[libssh2] 1.001571 Transport: Looking for packet of type: 51
[libssh2] 1.001583 Transport: Looking for packet of type: 60
[libssh2] 1.001600 Socket: Recved 96/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (96 bytes)
0000: C0 A8 58 BA 7A 94 1F A2  17 37 A0 92 23 8D DE 53 : ..X.z....7..#..S
0010: EC 50 59 7E BD BD 52 2C  11 83 F0 4F 5B 09 5D F5 : .PY~..R,...O[.].
0020: CC F6 92 93 C8 3B 68 1D  B4 BD 7A 23 2D 58 53 94 : .....;h...z#-XS.
0030: 55 1D 28 70 6E 90 A0 47  5A CC C2 9E D9 D4 48 3F : U.(pn..GZ.....H?
0040: A8 65 D5 C4 1D 7C 09 3B  40 A1 BE EF 0B B2 EE 82 : .e...|.;@.......
0050: AE FA 99 BB AE 5E 1A F9  13 63 92 98 50 85 9C 92 : .....^...c..P...
=> libssh2_transport_read() plain (45 bytes)
0000: 33 00 00 00 27 70 75 62  6C 69 63 6B 65 79 2C 70 : 3...'publickey,p
0010: 61 73 73 77 6F 72 64 2C  6B 65 79 62 6F 61 72 64 : assword,keyboard
0020: 2D 69 6E 74 65 72 61 63  74 69 76 65 00          : -interactive.
[libssh2] 1.001741 Transport: Packet type 51 received, length=45
[libssh2] 1.001753 Transport: Looking for packet of type: 52
[libssh2] 1.001763 Transport: Looking for packet of type: 51
[libssh2] 1.001775 Failure Event: -18 - Username/PublicKey combination invalid
2022-08-25T22:01:19.001Z TRACE [async_io::driver] block_on()
2022-08-25T22:01:19.002Z TRACE [polling::kqueue] new: kqueue_fd=15, read_stream=UnixStream { fd: FileDesc(OwnedFd { fd: 16 }), local: (unnamed), peer: (unnamed) }
2022-08-25T22:01:19.002Z TRACE [mio::poll] registering event source with poller: token=Token(0), interests=READABLE | WRITABLE
2022-08-25T22:01:19.003Z TRACE [async_io::driver] block_on: notified
2022-08-25T22:01:19.003Z TRACE [async_io::driver] main_loop: sleeping for 50 us
2022-08-25T22:01:19.003Z TRACE [async_io::driver] block_on: completed
[libssh2] 1.003229 Userauth: Loading public key file: /Users/senkwich/.ssh/id_rsa.pub
2022-08-25T22:01:19.003Z TRACE [async_io::driver] main_loop: notified
2022-08-25T22:01:19.003Z TRACE [async_io::driver] main_loop: waiting on I/O
2022-08-25T22:01:19.003Z TRACE [async_io::reactor] process_timers: 0 ready wakers
2022-08-25T22:01:19.003Z TRACE [polling] Poller::wait(_, None)
[libssh2] 1.003510 Userauth: Attempting publickey authentication
=> libssh2_transport_write plain (467 bytes)
0000: 32 00 00 00 08 73 65 6E  6B 77 69 63 68 00 00 00 : 2....senkwich...
0010: 0E 73 73 68 2D 63 6F 6E  6E 65 63 74 69 6F 6E 00 : .ssh-connection.
2022-08-25T22:01:19.003Z TRACE [polling::kqueue] wait: kqueue_fd=15, timeout=None
0020: 00 00 09 70 75 62 6C 69  63 6B 65 79 00 00 00 00 : ...publickey....
0030: 07 73 73 68 2D 72 73 61  00 00 01 97 00 00 00 07 : .ssh-rsa........
0040: 73 73 68 2D 72 73 61 00  00 00 03 01 00 01 00 00 : ssh-rsa.........
0050: 01 81 00 DE F8 77 CC D4  06 EF C4 C9 5D A0 BD 24 : .....w......]..$
0060: 03 79 27 01 7C 2D 57 18  12 EF 02 8D B1 A7 B7 50 : .y'.|-W........P
0070: E1 31 BB EA D9 51 24 67  C7 56 E3 A2 5C FF 2C BE : .1...Q$g.V..\.,.
0080: 06 D9 84 3F 46 D6 71 54  00 9E 07 66 96 3D 7A CF : ...?F.qT...f.=z.
0090: 73 65 1F E7 EC F1 05 D5  6B 84 5F C8 80 CC C3 70 : se......k._....p
00a0: 0C 4D A1 E6 60 A4 C6 4A  D3 4D 77 5D 07 2F 46 4A : .M..`..J.Mw]./FJ
00b0: CC 71 B9 66 6C 14 7A 8F  F7 81 BA 87 73 00 C0 FB : .q.fl.z.....s...
00c0: 0B 64 27 6D 83 83 0E 3A  07 F2 9D DB 92 4C 66 51 : .d'm...:.....LfQ
00d0: 1E 1B 5E 7B 7E 0B 94 8A  6E 72 5B 1A DD 9D F4 8B : ..^{~...nr[.....
00e0: 6D 02 D4 67 6F A8 72 E4  19 9E 87 F2 09 6C 01 0E : m..go.r......l..
00f0: 6E D8 86 F1 AC A1 1A 9C  36 B4 93 1B 83 17 46 6A : n.......6.....Fj
0100: D9 DA 1C 86 AA 09 85 71  F2 93 3A DE 62 26 0E 1F : .......q..:.b&..
0110: 5F 6B 04 7F EF 1D 77 FF  AE 9A CE 03 F8 E4 F6 0A : _k....w.........
0120: B8 76 7B 59 29 06 D4 6A  D9 87 97 5E 45 4D 67 B9 : .v{Y)..j...^EMg.
0130: 94 A5 8B 7E 78 F5 66 35  DF 92 65 5F 61 F0 7C 3B : ...~x.f5..e_a.|;
0140: 5D 70 20 49 5A 9C D9 41  A3 34 97 45 0E 2E 8F 5E : ]p IZ..A.4.E...^
0150: 40 FB 2F 68 3D 7C 0D E0  CD 81 FD 73 88 99 93 4C : @./h=|.....s...L
0160: 74 83 C7 04 CD C5 D1 B7  04 0B 64 95 F6 3C 32 D1 : t.........d..<2.
0170: 30 FC 13 90 30 67 67 96  43 2E 5A C9 C6 02 84 CE : 0...0gg.C.Z.....
0180: 7A 9E 71 A8 B7 8F C0 81  EB 22 2A 34 5F E7 4A C0 : z.q......"*4_.J.
0190: 8D D6 0C DA 63 41 77 96  BA 3A F5 02 B3 08 9C B0 : ....cAw..:......
01a0: 5A 4A 00 2F 68 EE 50 5F  3B 4B D7 21 AE 84 1D DC : ZJ./h.P_;K.!....
01b0: F0 E4 70 74 32 C8 CD D6  35 96 D9 BE 4C A0 D5 36 : ..pt2...5...L..6
01c0: 3F 39 DA 14 5C 2A 96 E2  0E FB 67 C0 EC 5A 82 B4 : ?9..\*....g..Z..
01d0: 86 3C 2F                                         : .</
[libssh2] 1.003903 Socket: Sent 512/512 bytes at 0x12800c288
=> libssh2_transport_write send() (512 bytes)
0000: B9 31 23 4C 08 BD 9A A4  DB 33 8B B5 1F B6 3E 25 : .1#L.....3....>%
0010: 06 06 62 2E 94 19 CC EC  A4 A9 C9 98 A5 50 71 93 : ..b..........Pq.
0020: B9 35 91 A9 01 17 A0 E8  9B 5B 45 B9 CC 29 6D B4 : .5.......[E..)m.
0030: 3F DF 87 22 2C 1E 38 48  C4 58 83 A7 3B 5D FB D4 : ?..",.8H.X..;]..
0040: E6 9F 68 C8 15 81 E6 05  16 CF 20 0C 4F 9C 43 58 : ..h....... .O.CX
0050: 18 83 E4 7B 34 F0 5B CF  59 35 E2 18 C4 8B 3F DF : ...{4.[.Y5....?.
0060: E4 EB 91 C0 C6 AB 9B 80  A6 C0 E1 E2 35 F9 6D 95 : ............5.m.
0070: 54 87 D0 CA EC 29 B8 AA  75 75 94 09 7E E1 B2 CB : T....)..uu..~...
0080: 4E 9A 50 97 52 6E BF 06  A5 DB 9B 9C F6 82 62 5B : N.P.Rn........b[
0090: BE DA AF 51 7F CF DB 2A  A5 DF DF 14 F1 CB 0F 97 : ...Q...*........
00a0: 5D 70 E3 16 FA 43 44 A2  81 2D 0F C6 0B BB E9 11 : ]p...CD..-......
00b0: 3A FD 9E 8C 87 57 21 31  55 20 0D 08 4D AD A0 EB : :....W!1U ..M...
00c0: 1A F2 C6 A2 52 B8 BA 0B  C1 95 B3 CB 74 9B 40 D9 : ....R.......t.@.
00d0: E8 4D D1 AB D3 69 67 F5  0E 92 CC 42 FD 30 85 9C : .M...ig....B.0..
00e0: 1B 87 CD B7 CC 66 AD 5C  E8 B6 AC 04 64 51 76 30 : .....f.\....dQv0
00f0: BB AC 7E 04 DC 65 B3 F8  30 B4 64 35 C2 14 95 5D : ..~..e..0.d5...]
0100: E0 19 E7 55 56 3A C9 D2  EC 97 37 F3 19 4B 49 7E : ...UV:....7..KI~
0110: 9F BD CB D9 66 2F 85 C6  24 64 6F 1F 85 A8 33 86 : ....f/..$do...3.
0120: 6E 93 39 07 30 3E 92 29  5C D7 31 1B AF 5E BD 51 : n.9.0>.)\.1..^.Q
0130: 53 9D 50 F0 D1 AE FE 28  65 08 B3 BB 25 3D 0D 63 : S.P....(e...%=.c
0140: 78 6A F2 A1 CF 3D 45 5E  0D 61 45 A3 53 89 AC 67 : xj...=E^.aE.S..g
0150: 6A 21 85 13 4A D0 2B F7  E8 27 E5 C7 DB E9 BF C8 : j!..J.+..'......
0160: 06 57 3E 61 45 92 E2 62  D5 08 8C 6E 40 B5 78 BE : .W>aE..b...n@.x.
0170: 75 43 7C 66 1E CD 68 13  21 48 05 B5 3D DB AD 2A : uC|f..h.!H..=..*
0180: 0D 96 7F 59 D5 19 99 4C  DD E1 BA ED CF 32 C2 69 : ...Y...L.....2.i
0190: F5 12 7B 14 89 DE C7 24  CE F9 19 0D C7 D7 7F F0 : ..{....$........
01a0: 5A 6B B7 45 10 29 DF 6D  44 68 CD AC 56 7B 3E 43 : Zk.E.).mDh..V{>C
01b0: 9B 5A 0D 55 69 74 B3 20  8F D9 9E E9 6C 12 E9 84 : .Z.Uit. ....l...
01c0: B1 94 F0 12 CC 63 6D 75  A4 DF D3 D0 78 1A AA 17 : .....cmu....x...
01d0: A3 54 7D 4F FE 13 F4 42  B5 FF 69 DF FE 05 05 51 : .T}O...B..i....Q
01e0: 9D 53 21 E4 D8 71 E6 BC  37 09 8B 60 C7 51 A0 54 : .S!..q..7..`.Q.T
01f0: DF CA A2 6D 70 E0 12 78  85 43 9A 4E 62 9E AE 72 : ...mp..x.C.Nb..r
[libssh2] 1.004183 Transport: Looking for packet of type: 52
[libssh2] 1.004191 Transport: Looking for packet of type: 51
[libssh2] 1.004198 Transport: Looking for packet of type: 60
[libssh2] 1.004208 Failure Event: -37 - Would block
[libssh2] 1.016969 Transport: Looking for packet of type: 52
[libssh2] 1.017003 Transport: Looking for packet of type: 51
[libssh2] 1.017016 Transport: Looking for packet of type: 60
[libssh2] 1.017037 Socket: Recved 96/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (96 bytes)
0000: 5E 9B D6 B8 AF 75 B5 0B  B8 E6 3C E7 EE 0A 2A D2 : ^....u....<...*.
0010: 9D 6A A3 80 37 C3 8E 89  F0 16 53 26 75 8D 8D E8 : .j..7.....S&u...
0020: B4 E0 9F 07 C7 A2 15 A0  82 47 71 36 01 D1 C3 77 : .........Gq6...w
0030: AC 84 85 00 25 D4 F0 EE  24 D7 B7 CF D7 E9 A4 6C : ....%...$......l
0040: 99 EC C1 85 E3 2D 69 35  81 55 0A C1 D2 D0 45 51 : .....-i5.U....EQ
0050: FC 6B DE 0C 12 B9 33 38  D8 46 9D FD 1F 32 A7 A0 : .k....38.F...2..
=> libssh2_transport_read() plain (45 bytes)
0000: 33 00 00 00 27 70 75 62  6C 69 63 6B 65 79 2C 70 : 3...'publickey,p
0010: 61 73 73 77 6F 72 64 2C  6B 65 79 62 6F 61 72 64 : assword,keyboard
0020: 2D 69 6E 74 65 72 61 63  74 69 76 65 00          : -interactive.
[libssh2] 1.017187 Transport: Packet type 51 received, length=45
[libssh2] 1.017227 Transport: Looking for packet of type: 52
[libssh2] 1.017238 Transport: Looking for packet of type: 51
[libssh2] 1.017258 Failure Event: -18 - Username/PublicKey combination invalid
2022-08-25T22:01:19.017Z WARN  [wezterm_ssh::auth] pubkey auth: [Session(-18)] Username/PublicKey combination invalid
2022-08-25T22:01:19.017Z TRACE [async_io::driver] block_on()
2022-08-25T22:01:19.017Z TRACE [async_io::driver] block_on: completed
[libssh2] 1.017583 Userauth: Attempting to login using password authentication
=> libssh2_transport_write plain (48 bytes)
0000: 32 00 00 00 08 73 65 6E  6B 77 69 63 68 00 00 00 : 2....senkwich...
0010: 0E 73 73 68 2D 63 6F 6E  6E 65 63 74 69 6F 6E 00 : .ssh-connection.
0020: 00 00 08 70 61 73 73 77  6F 72 64 00 00 00 00 0A : ...password.....
=> libssh2_transport_write plain2 (10 bytes)
0000: 53 73 38 39 31 37 37 36  35 30                   : Ss89177650
[libssh2] 1.017722 Socket: Sent 112/112 bytes at 0x12800c288
=> libssh2_transport_write send() (112 bytes)
0000: B1 6A 87 5E 41 E1 C8 A5  BE F7 EE 82 C2 21 1B 80 : .j.^A........!..
0010: D8 AC 65 9C D8 9E CC A0  73 8C 01 BA 86 DB 18 4D : ..e.....s......M
0020: F1 62 CA 03 4E 04 78 0D  CF 14 5E 55 68 E0 C3 84 : .b..N.x...^Uh...
0030: 91 6F F9 D0 AE 21 02 46  FA E4 40 82 A1 88 86 47 : .o...!.F..@....G
0040: ED 4A 6A F0 94 D8 A8 D1  35 78 D1 78 A5 D6 8E 81 : .Jj.....5x.x....
0050: 65 C5 AA AA 23 69 39 CB  CB 41 D2 9A 6E 88 FA 02 : e...#i9..A..n...
0060: FC A6 B2 22 46 B7 1A 8F  FF 58 CA FA 1C 37 09 C5 : ..."F....X...7..
[libssh2] 1.017828 Transport: Looking for packet of type: 52
[libssh2] 1.017839 Transport: Looking for packet of type: 51
[libssh2] 1.017850 Transport: Looking for packet of type: 60
[libssh2] 1.017864 Failure Event: -37 - Waiting for password response
[libssh2] 1.047705 Transport: Looking for packet of type: 52
[libssh2] 1.047753 Transport: Looking for packet of type: 51
[libssh2] 1.047761 Transport: Looking for packet of type: 60
[libssh2] 1.047775 Socket: Recved 48/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (48 bytes)
0000: 1D 5F 8B E7 E0 4E E3 84  33 3E 1E 3D F7 7E 03 EA : ._...N..3>.=.~..
0010: 5C D3 FA 06 0C 33 1A 93  EB 82 33 5F 4B DB D2 F3 : \....3....3_K...
0020: 7F 38 25 00 ED 75 27 B2  FB 1C BB 34 67 0E E6 6B : .8%..u'....4g..k
=> libssh2_transport_read() plain (1 bytes)
0000: 34                                               : 4
[libssh2] 1.047834 Transport: Packet type 52 received, length=1
[libssh2] 1.047842 Transport: Looking for packet of type: 52
[libssh2] 1.047882 Userauth: Password authentication successful
[libssh2] 1.047950 Conn: Setting blocking mode OFF
2022-08-25T22:01:19.048Z INFO  [wezterm_ssh_test] Executing cmd.exe /C echo %OS%
[libssh2] 1.048124 Conn: Setting blocking mode ON
[libssh2] 1.048174 Conn: Allocated new channel ID#0
[libssh2] 1.048183 Conn: Opening Channel - win 2097152 pack 32768
=> libssh2_transport_write plain (24 bytes)
0000: 5A 00 00 00 07 73 65 73  73 69 6F 6E 00 00 00 00 : Z....session....
0010: 00 20 00 00 00 00 80 00                          : . ......
[libssh2] 1.048242 Socket: Sent 80/80 bytes at 0x12800c288
=> libssh2_transport_write send() (80 bytes)
0000: C3 AD 1D 52 14 07 30 27  3C BC 78 15 23 96 C6 50 : ...R..0'<.x.#..P
0010: 3C 42 D7 C1 CA B7 9A 0E  F9 1F CE B3 63 44 CD 79 : <B..........cD.y
0020: 30 50 7F B1 62 26 6B 0F  C1 E8 FF 5E 56 BA CB 81 : 0P..b&k....^V...
0030: D0 E9 01 32 18 6F CE F1  5B 35 6E 46 56 55 44 B1 : ...2.o..[5nFVUD.
0040: 0F 1C 68 65 24 E3 1F 6A  32 2B 84 87 2B 6E 76 57 : ..he$..j2+..+nvW
[libssh2] 1.048284 Transport: Looking for packet of type: 91
[libssh2] 1.048289 Transport: Looking for packet of type: 92
[libssh2] 1.048296 Failure Event: -37 - Would block
[libssh2] 1.073586 Transport: Looking for packet of type: 91
[libssh2] 1.073620 Transport: Looking for packet of type: 92
[libssh2] 1.073641 Socket: Recved 656/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (656 bytes)
0000: A9 3E 3F 26 A0 A3 7B 55  18 75 35 24 98 84 23 0B : .>?&..{U.u5$..#.
0010: 9C 02 89 81 51 05 E4 83  1D 1A 3B 6A 94 BB ED FA : ....Q.....;j....
0020: 75 8E B2 07 2A 47 AC C8  C2 F4 FE CD 49 2C 5F 92 : u...*G......I,_.
0030: 05 A2 89 5D FB CD 80 F2  8A 75 92 49 36 2B AC E6 : ...].....u.I6+..
0040: 39 FD 38 EF B3 77 19 14  DB C4 20 CB E1 92 0E EF : 9.8..w.... .....
0050: 83 6C 5B B1 AB F9 F2 84  B1 68 4E 23 63 1D 1D 8B : .l[......hN#c...
0060: D0 1C 21 AD E2 31 73 39  CE C9 4D 1D B4 15 36 55 : ..!..1s9..M...6U
0070: 2B 6F 4F C1 FB 91 1E 62  BC 4E F4 51 E3 02 58 9C : +oO....b.N.Q..X.
0080: AF 27 95 B8 B4 D6 68 47  64 3D 50 5C B8 2C 3F 99 : .'....hGd=P\.,?.
0090: 38 1B C1 0B 8A B0 0A 50  87 B6 7B 4C 2A B5 6B 4D : 8......P..{L*.kM
00a0: 34 3F 8E 31 87 7C 28 9C  DC FF 6A DC 3C E9 F1 BC : 4?.1.|(...j.<...
00b0: 81 30 A2 EC 88 8D 3D 5B  32 B0 00 14 EF D1 39 96 : .0....=[2.....9.
00c0: 6C 56 C4 7C 73 19 01 1F  F9 F4 B8 CB F5 7E 63 A2 : lV.|s........~c.
00d0: 92 F6 31 1E 8C D8 C1 27  5F 73 1C D4 E8 27 3C B1 : ..1....'_s...'<.
00e0: 18 6A FB 63 7B 8A B6 6C  D6 D8 D0 C7 9D 28 B1 A9 : .j.c{..l.....(..
00f0: 55 87 73 D6 B3 94 1D 6C  9A D9 59 B6 59 7E 35 60 : U.s....l..Y.Y~5`
0100: 98 14 A4 A8 0B 03 28 81  97 0B F1 5F 8D F5 15 87 : ......(...._....
0110: 9C CC E3 23 D2 DD E5 E9  F8 44 46 30 64 4C E6 4C : ...#.....DF0dL.L
0120: AE 24 E6 5A 08 0F 5D 1D  C4 AA 7C 7F DA 67 BA 82 : .$.Z..]...|..g..
0130: 56 B6 39 FD 88 90 86 64  84 CA 9D 77 F8 13 CE 62 : V.9....d...w...b
0140: 14 56 9B 95 20 54 07 06  70 EC 05 4C 88 AF CF 79 : .V.. T..p..L...y
0150: FB B6 6A 1F 73 D3 55 98  E2 B8 5D 36 77 98 92 EE : ..j.s.U...]6w...
0160: FC C8 AD 7E FE 5A 40 E0  C7 91 2D 54 D5 9E 93 19 : ...~.Z@...-T....
0170: A6 32 1A 39 35 1C 19 7D  CD 68 D6 42 25 C9 70 1B : .2.95..}.h.B%.p.
0180: 95 D2 BE CB D6 AE 21 6A  4D 51 59 F4 D0 4D E0 A2 : ......!jMQY..M..
0190: AD A6 CA 61 5A 8B 83 A2  A0 3B BF 82 2E C2 0D 25 : ...aZ....;.....%
01a0: A9 78 0D E9 C8 86 80 6B  0D 90 04 56 91 F4 8E 97 : .x.....k...V....
01b0: 01 9C 9D 9E 40 4D 58 AA  F3 63 FC 89 32 2A C3 3B : ....@MX..c..2*.;
01c0: B8 A5 A0 26 49 1A ED E1  AE CE DE 23 67 0A 2C 6A : ...&I......#g.,j
01d0: 75 11 EB CD D2 73 29 D7  FA 56 72 B7 56 DB F9 27 : u....s)..Vr.V..'
01e0: C2 6C 80 B4 DC 7A 51 13  5D E8 35 08 9A 4F 69 6F : .l...zQ.].5..Oio
01f0: 39 A0 EC FA A1 97 70 B2  2B D3 0A F2 40 73 F0 C8 : 9.....p.+...@s..
0200: 0D FD 82 5E 21 DD 0B C8  70 4D 24 52 96 3E 92 A2 : ...^!...pM$R.>..
0210: 4E E5 78 F8 EA 0A CD 5A  98 ED 88 DD 77 83 7A B9 : N.x....Z....w.z.
0220: 47 F9 CB DA 5F 73 E2 D5  3C 1C 87 BE 01 C6 60 EC : G..._s..<.....`.
0230: 75 2E 5B 9A 99 78 A2 50  71 8E A4 EB 54 6B 60 C8 : u.[..x.Pq...Tk`.
0240: B8 C7 37 EF A6 9B 8E 03  84 EA 38 29 6A 0A 89 8A : ..7.......8)j...
0250: 87 92 86 8E 8C 7A 13 A8  68 71 D4 91 1E CD 0F 6A : .....z..hq.....j
0260: 2E A1 4E 1D 52 B8 8A 88  67 A3 0A 28 D2 44 24 82 : ..N.R...g..(.D$.
0270: A1 7B 59 41 53 86 66 51  BA E5 E8 77 90 85 10 07 : .{YAS.fQ...w....
0280: 50 26 1D B2 A5 88 31 AB  DF 11 B3 C3 54 5F 6F EF : P&....1.....T_o.
=> libssh2_transport_read() plain (603 bytes)
0000: 50 00 00 00 17 68 6F 73  74 6B 65 79 73 2D 30 30 : P....hostkeys-00
0010: 40 6F 70 65 6E 73 73 68  2E 63 6F 6D 00 00 00 01 : @openssh.com....
0020: 97 00 00 00 07 73 73 68  2D 72 73 61 00 00 00 03 : .....ssh-rsa....
0030: 01 00 01 00 00 01 81 00  CF 63 A8 04 7E 71 4F 63 : .........c..~qOc
0040: B5 30 19 0F F8 CE 1A D8  38 CB D0 4E 37 61 01 23 : .0......8..N7a.#
0050: EC AE 9F C4 4B 12 4B 89  F1 4B E6 F6 25 0E 51 63 : ....K.K..K..%.Qc
0060: B8 42 82 AF 35 5F 3A 4D  0C 95 82 EE 46 B4 7E A2 : .B..5_:M....F.~.
0070: A3 B8 AF AB 86 28 15 74  06 2E 2E 6B 35 26 E6 56 : .....(.t...k5&.V
0080: 6A C8 32 2C F1 82 EC 4B  38 3F FA 56 AD 95 25 91 : j.2,...K8?.V..%.
0090: 6F DA 92 2D 83 FA 42 2F  A6 07 52 03 10 3E AF 28 : o..-..B/..R..>.(
00a0: 42 65 92 E8 AE 99 B0 98  9B 84 F4 70 31 6C AB A2 : Be.........p1l..
00b0: 5A F2 F4 95 20 BD 6C 97  EB 85 7E 2A 2D 33 E6 D8 : Z... .l...~*-3..
00c0: E4 65 D5 3A E7 5C DF 46  1F 03 7F C0 C5 C3 F7 FA : .e.:.\.F........
00d0: 6F F5 63 44 F6 7C 2E EE  33 83 CA 55 B6 75 66 1D : o.cD.|..3..U.uf.
00e0: 3D 21 6E 50 FF 8B E7 96  93 87 B4 10 BB E2 16 3D : =!nP...........=
00f0: 61 4C 54 9F 3A 01 01 F4  8E 16 8A BF D2 64 12 73 : aLT.:........d.s
0100: 8F 79 B8 90 F0 25 A9 8E  29 9A C1 77 B5 EF E4 56 : .y...%..)..w...V
0110: 0D F3 92 FE 13 C6 C1 5D  86 AB 53 BE 67 5E 85 58 : .......]..S.g^.X
0120: D1 10 A2 DC 19 05 42 B6  C3 78 E0 C8 29 40 AE 6B : ......B..x..)@.k
0130: 2B 27 06 53 5F DF 51 04  D2 F8 EC 96 64 32 B1 FC : +'.S_.Q.....d2..
0140: E3 FA 87 6C 08 98 9F F2  ED 2B 5A C4 04 06 1B DE : ...l.....+Z.....
0150: 94 84 1A 37 72 2C 4D 87  7C 5B 15 50 17 03 E0 42 : ...7r,M.|[.P...B
0160: 97 47 6A 95 8A 41 EF CB  52 70 2B 7E 6F A8 B5 4D : .Gj..A..Rp+~o..M
0170: A1 0C 33 8E 6D 43 31 FB  5A CE 3B 93 B3 AD B7 F1 : ..3.mC1.Z.;.....
0180: AF B1 2D D3 88 C1 64 B5  3B 53 F3 EB 02 3B 29 FB : ..-...d.;S...;).
0190: EC C0 91 8D FB F0 AB 32  A9 EF D5 AB B1 FE 17 0E : .......2........
01a0: A1 A6 08 05 1C CA AB 4A  EE F9 5A DE C3 B1 A5 27 : .......J..Z....'
01b0: F6 F2 55 E5 7D A1 08 69  00 00 00 68 00 00 00 13 : ..U.}..i...h....
01c0: 65 63 64 73 61 2D 73 68  61 32 2D 6E 69 73 74 70 : ecdsa-sha2-nistp
01d0: 32 35 36 00 00 00 08 6E  69 73 74 70 32 35 36 00 : 256....nistp256.
01e0: 00 00 41 04 01 D2 75 4E  5B 26 F9 27 68 C4 2E 17 : ..A...uN[&.'h...
01f0: 67 D0 9F FB D2 EF A9 D0  C1 B3 48 AE 6F F1 25 10 : g.........H.o.%.
0200: FB 10 6C B4 F4 D5 79 C9  BA 65 F5 D4 88 F4 97 4B : ..l...y..e.....K
0210: 60 13 7D 7F B1 71 B7 7C  E8 60 FE AE 87 29 E9 D7 : `.}..q.|.`...)..
0220: 45 31 D0 A4 00 00 00 33  00 00 00 0B 73 73 68 2D : E1.....3....ssh-
0230: 65 64 32 35 35 31 39 00  00 00 20 38 4B B5 7E 6D : ed25519... 8K.~m
0240: 80 65 0F 65 30 DC E2 BD  75 75 5F DB E0 DA 61 DF : .e.e0...uu_...a.
0250: 56 F6 8C D2 39 9C ED 4F  05 88 14                : V...9..O...
[libssh2] 1.074616 Transport: Packet type 80 received, length=603
[libssh2] 1.074629 Conn: Received global request type hostkeys-00@openssh.com (wr 0)
[libssh2] 1.074653 Socket: Recved 64/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (64 bytes)
0000: E0 F6 30 40 19 6F 5E 83  D4 BF 20 83 4E 2B AE DE : ..0@.o^... .N+..
0010: 5A 00 E5 A4 EE 10 66 74  2D 68 E5 07 7B 1B 75 C3 : Z.....ft-h..{.u.
0020: 66 D4 44 B4 B4 0E CA 23  65 4F F6 AB 03 F9 8E AD : f.D....#eO......
0030: B4 72 19 EB 8B A4 52 C6  01 C3 D0 FD 66 3D 6B 38 : .r....R.....f=k8
=> libssh2_transport_read() plain (17 bytes)
0000: 5B 00 00 00 00 00 00 00  00 00 00 00 00 00 00 80 : [...............
0010: 00                                               : .
[libssh2] 1.074766 Transport: Packet type 91 received, length=17
[libssh2] 1.074778 Transport: Looking for packet of type: 91
[libssh2] 1.074812 Conn: Connection Established - ID: 0/0 win: 0/2097152 pack: 32768/32768
[libssh2] 1.074845 Conn: starting request(exec.sshUSERHOMEUSERNAMED) on channel 0/0, message=cmd.exe /C echo %OS%048Z 
=> libssh2_transport_write plain (18 bytes)
0000: 62 00 00 00 00 00 00 00  04 65 78 65 63 01 00 00 : b........exec...
0010: 00 14                                            : ..
=> libssh2_transport_write plain2 (20 bytes)
0000: 63 6D 64 2E 65 78 65 20  2F 43 20 65 63 68 6F 20 : cmd.exe /C echo 
0010: 25 4F 53 25                                      : %OS%
[libssh2] 1.074973 Socket: Sent 80/80 bytes at 0x12800c288
=> libssh2_transport_write send() (80 bytes)
0000: A2 94 67 0D 21 5D E1 00  82 BD C2 44 A5 9D 42 AB : ..g.!].....D..B.
0010: D4 83 8F EF 81 A1 82 DB  FF 8E 09 70 37 39 D1 5F : ...........p79._
0020: A1 B0 0A F2 77 3E 65 C2  D7 EC FB 7C D3 4F F5 7E : ....w>e....|.O.~
0030: 98 58 12 64 A9 A6 50 A1  81 01 40 1A D9 E9 17 D9 : .X.d..P...@.....
0040: 5B 4F 70 38 C4 9E F1 96  19 7D 74 8D ED FA 0C 94 : [Op8.....}t.....
[libssh2] 1.075056 Transport: Looking for packet of type: 99
[libssh2] 1.075067 Transport: Looking for packet of type: 100
[libssh2] 1.079036 Transport: Looking for packet of type: 99
[libssh2] 1.079047 Transport: Looking for packet of type: 100
[libssh2] 1.079056 Socket: Recved 112/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (112 bytes)
0000: 33 37 A3 EC D5 FA 57 A3  3F 19 9D 83 A9 C2 A9 FA : 37....W.?.......
0010: 4F 62 31 D6 6B F3 12 50  05 88 98 16 83 60 CB 52 : Ob1.k..P.....`.R
0020: B5 4D 06 84 87 76 C0 62  60 55 E2 A6 9F 0A F3 EA : .M...v.b`U......
0030: 45 8A CE 6B 36 D1 5C F8  74 04 06 C9 59 A3 9D 4B : E..k6.\.t...Y..K
0040: 06 C4 4B B4 2D D7 9D F9  72 79 AE 2B 89 30 46 4D : ..K.-...ry.+.0FM
0050: 74 FC FA 78 67 61 2D C9  CF BE E7 FF 8B 39 D9 F1 : t..xga-......9..
0060: CD BC D0 2C 2A 00 61 74  14 91 44 7F 5D 08 6B 65 : ...,*.at..D.].ke
=> libssh2_transport_read() plain (9 bytes)
0000: 5D 00 00 00 00 00 20 00  00                      : ]..... ..
[libssh2] 1.079117 Transport: Packet type 93 received, length=9
[libssh2] 1.079123 Conn: Window adjust for channel 0/0, adding 2097152 bytes, new window_size=2097152
=> libssh2_transport_read() plain (5 bytes)
0000: 63 00 00 00 00                                   : c....
[libssh2] 1.079141 Transport: Packet type 99 received, length=5
[libssh2] 1.079147 Transport: Looking for packet of type: 99
[libssh2] 1.079247 Conn: Setting blocking mode OFF
2022-08-25T22:01:19.081Z DEBUG [wezterm_ssh::sessioninner] error reading from stdin pipe: EOF
[libssh2] 1.082007 Conn: Sending EOF on channel 0/0
=> libssh2_transport_write plain (5 bytes)
0000: 60 00 00 00 00                                   : `....
[libssh2] 1.082085 Socket: Sent 48/48 bytes at 0x12800c288
=> libssh2_transport_write send() (48 bytes)
0000: C9 17 0A D6 78 94 FC B5  9E 03 A0 73 8D 9A 04 62 : ....x......s...b
0010: B0 78 01 CF 41 86 F9 8A  3E 13 B1 D5 8E C4 CA F3 : .x..A...>.......
0020: 80 A3 A2 97 49 2C 17 89  E7 6B A7 09 1E 1D 2E E7 : ....I,...k......
[libssh2] 1.082151 Conn: Closing channel 0/0
=> libssh2_transport_write plain (5 bytes)
0000: 61 00 00 00 00                                   : a....
[libssh2] 1.082191 Socket: Sent 48/48 bytes at 0x12800c288
=> libssh2_transport_write send() (48 bytes)
0000: 42 41 69 A5 4C 0D B6 8F  57 42 5B 12 CA F9 EF 6A : BAi.L...WB[....j
0010: 38 9D 32 B4 50 3E AB E6  21 39 64 66 C9 D0 40 65 : 8.2.P>..!9df..@e
0020: AF B9 80 14 4A 4C DA 59  0B 6C 2E 9F 2C E2 89 FF : ....JL.Y.l..,...
[libssh2] 1.084083 Conn: channel_read() wants 16383 bytes from channel 0/0 stream #0
[libssh2] 1.086017 Conn: channel_read() wants 16383 bytes from channel 0/0 stream #1
[libssh2] 1.123748 Conn: channel_read() wants 16383 bytes from channel 0/0 stream #0
[libssh2] 1.123786 Socket: Recved 128/16384 bytes to 0x128008248+0
=> libssh2_transport_read() raw (128 bytes)
0000: 68 0C E9 CB 76 C2 B9 8E  66 5D 9B C0 8B 53 4A 0B : h...v...f]...SJ.
0010: 5A 1C 53 AA 90 79 67 A6  16 A6 2C 87 67 A9 D0 76 : Z.S..yg...,.g..v
0020: 66 49 6D 62 0F 4D F1 32  11 BD A9 5C 41 D4 C7 BA : fImb.M.2...\A...
0030: 97 D4 33 54 59 D4 5C C4  71 E9 36 BE FF 28 FC 34 : ..3TY.\.q.6..(.4
0040: 35 CC D6 09 C9 DF 9F 15  6D AB F2 F4 CE 0C 89 AB : 5.......m.......
0050: F5 A2 D0 02 F2 EC 38 7C  0D 87 97 E5 E2 D2 26 90 : ......8|......&.
0060: D4 79 D1 47 3B A9 22 65  48 C7 E4 EA 65 1C F8 16 : .y.G;."eH...e...
0070: 06 1A 8D 73 4B 7B D8 02  8B 21 FC C7 F7 70 DA A3 : ...sK{...!...p..
=> libssh2_transport_read() plain (25 bytes)
0000: 62 00 00 00 00 00 00 00  0B 65 78 69 74 2D 73 74 : b........exit-st
0010: 61 74 75 73 00 00 00 00  01                      : atus.....
[libssh2] 1.123955 Transport: Packet type 98 received, length=25
[libssh2] 1.123965 Conn: Channel 0 received request type exit-status (wr 0)
[libssh2] 1.123975 Conn: Exit status 1 received for channel 0/0
=> libssh2_transport_read() plain (5 bytes)
0000: 61 00 00 00 00                                   : a....
[libssh2] 1.124004 Transport: Packet type 97 received, length=5
[libssh2] 1.124012 Conn: Close received for channel 0/0
2022-08-25T22:01:19.124Z TRACE [wezterm_ssh::sessioninner] Failed to read data from channel: EOF, closing pipe
2022-08-25T22:01:19.126Z TRACE [wezterm_ssh::sessioninner] Failed to read data from channel: EOF, closing pipe
[libssh2] 1.229410 Conn: Awaiting close of channel 0/0
2022-08-25T22:01:19.229Z TRACE [async_io::driver] block_on()
2022-08-25T22:01:19.229Z TRACE [async_io::driver] block_on: completed
2022-08-25T22:01:19.229Z INFO  [wezterm_ssh_test] Output = Output { success: false, stdout: [], stderr: [] }
Success = false
Stdout = ''
Stderr = ''
2022-08-25T22:01:19.229Z TRACE [wezterm_ssh::session] Drop Session
2022-08-25T22:01:19.230Z TRACE [wezterm_ssh::sessioninner] Dropping SessionInner
[libssh2] 1.230185 Conn: Freeing channel 0/0 resources
[libssh2] 1.230206 Transport: Looking for packet of type: 94
[libssh2] 1.230219 Transport: Looking for packet of type: 95
[libssh2] 1.230234 Transport: Freeing session resource
[libssh2] 1.230265 Transport: Extra packets left 0
2022-08-25T22:01:19.230Z TRACE [mio::poll] deregistering event source from poller

If I set BACKEND to libssh, it hangs like this:

   Compiling wezterm-ssh-test v0.1.0 (/Users/senkwich/projects/wezterm-ssh-test)
    Finished dev [unoptimized + debuginfo] target(s) in 1.78s
     Running `target/debug/wezterm-ssh-test`
2022-08-25T22:02:16.686Z INFO  [wezterm_ssh_test] Establishing ssh connection to 192.168.5.243, port = None
2022-08-25T22:02:16.689Z INFO  [wezterm_ssh_test] Session::connect({"hostname": "192.168.5.243", "identityagent": "/Users/senkwich/.gnupg/S.gpg-agent.ssh", "identityfile": "/Users/senkwich/.ssh/id_dsa /Users/senkwich/.ssh/id_ecdsa /Users/senkwich/.ssh/id_ed25519 /Users/senkwich/.ssh/id_rsa", "port": "22", "sendenv": "LANG LC_*", "user": "senkwich", "userknownhostsfile": "/Users/senkwich/.ssh/known_hosts /Users/senkwich/.ssh/known_hosts2", "wezterm_ssh_backend": "libssh", "wezterm_ssh_verbose": "true"})
2022-08-25T22:02:16.689Z INFO  [wezterm_ssh_test] Authenticating...
2022-08-25T22:02:16.689Z INFO  [wezterm_ssh_test] Banner: Using libssh-rs to connect to senkwich@192.168.5.243:22
2022-08-25T22:02:16.691Z INFO  [libssh::ssh_config_parse_file] Reading configuration data from /etc/ssh/ssh_config
2022-08-25T22:02:16.691Z INFO  [libssh::local_parse_file] Cannot find file /etc/ssh/ssh_config.d/* to load
2022-08-25T22:02:16.691Z INFO  [libssh::ssh_config_parse_line] Unapplicable option: SendEnv, line: 55
2022-08-25T22:02:16.691Z INFO  [libssh::ssh_connect] libssh 0.8.90 (c) 2003-2021 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
2022-08-25T22:02:16.691Z INFO  [libssh::getai] host 192.168.5.243 matches an IP address
2022-08-25T22:02:16.691Z INFO  [libssh::ssh_socket_connect] Nonblocking connection socket: 11
2022-08-25T22:02:16.691Z INFO  [libssh::ssh_connect] Socket connecting, now waiting for the callbacks to work
2022-08-25T22:02:16.691Z INFO  [libssh::ssh_connect] Actual timeout : 10000
2022-08-25T22:02:16.692Z INFO  [libssh::ssh_socket_pollcallback] Received POLLOUT in connecting state
2022-08-25T22:02:16.692Z INFO  [libssh::socket_callback_connected] Socket connection callback: 1 (0)
2022-08-25T22:02:16.692Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.743Z INFO  [libssh::callback_receive_banner] Received banner: SSH-2.0-OpenSSH_for_Windows_8.1
2022-08-25T22:02:16.743Z INFO  [libssh::ssh_client_connection_callback] SSH server banner: SSH-2.0-OpenSSH_for_Windows_8.1
2022-08-25T22:02:16.743Z INFO  [libssh::ssh_analyze_banner] Analyzing banner: SSH-2.0-OpenSSH_for_Windows_8.1
2022-08-25T22:02:16.743Z INFO  [libssh::ssh_client_select_hostkeys] Order of wanted host keys: "ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256"
2022-08-25T22:02:16.743Z INFO  [libssh::ssh_key_cmp] key types don't match!
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_key_cmp] key types don't match!
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_key_cmp] key types don't match!
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_known_hosts_read_entries] Failed to open the known_hosts file '/etc/ssh/ssh_known_hosts': No such file or directory
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_client_select_hostkeys] Algorithms found in known_hosts files: "ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256"
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_client_select_hostkeys] Changing host key method to "ssh-ed25519,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384"
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.744Z INFO  [libssh::packet_send2] packet: wrote [type=20, len=812, padding_size=11, comp=800, payload=800]
2022-08-25T22:02:16.744Z INFO  [libssh::ssh_send_kex] SSH_MSG_KEXINIT sent
2022-08-25T22:02:16.767Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 20 [len=1076,padding=6,comp=1069,payload=1069]
2022-08-25T22:02:16.768Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 20
2022-08-25T22:02:16.768Z INFO  [libssh::ssh_kex_select_methods] Negotiated curve25519-sha256,ssh-ed25519,chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,aead-poly1305,aead-poly1305,none,none,,
2022-08-25T22:02:16.773Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.773Z INFO  [libssh::packet_send2] packet: wrote [type=30, len=44, padding_size=6, comp=37, payload=37]
2022-08-25T22:02:16.777Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 31 [len=188,padding=8,comp=179,payload=179]
2022-08-25T22:02:16.777Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 31
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.782Z INFO  [libssh::packet_send2] packet: wrote [type=21, len=12, padding_size=10, comp=1, payload=1]
2022-08-25T22:02:16.782Z INFO  [libssh::crypt_set_algorithms2] Set output algorithm to chacha20-poly1305@openssh.com
2022-08-25T22:02:16.782Z INFO  [libssh::crypt_set_algorithms2] Set HMAC output algorithm to aead-poly1305
2022-08-25T22:02:16.782Z INFO  [libssh::crypt_set_algorithms2] Set input algorithm to chacha20-poly1305@openssh.com
2022-08-25T22:02:16.782Z INFO  [libssh::crypt_set_algorithms2] Set HMAC input algorithm to aead-poly1305
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_init_rekey_state] Set rekey after 134217728 blocks
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_init_rekey_state] Set rekey after 134217728 blocks
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_packet_client_curve25519_reply] SSH_MSG_NEWKEYS sent
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_packet_socket_callback] Processing 188 bytes left in socket buffer
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 21 [len=12,padding=10,comp=1,payload=1]
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 21
2022-08-25T22:02:16.782Z INFO  [libssh::ssh_packet_newkeys] Received SSH_MSG_NEWKEYS
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_newkeys] Signature verified and valid
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_socket_callback] Processing 172 bytes left in socket buffer
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 7 [len=152,padding=10,comp=141,payload=141]
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 7
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_ext_info] Received SSH_MSG_EXT_INFO
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_ext_info] Follows 1 extensions
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_packet_ext_info] Extension: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_connect] current state : 7
2022-08-25T22:02:16.795Z INFO  [wezterm_ssh_test] Banner: SSH-2.0-OpenSSH_for_Windows_8.1
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_key_cmp] key types don't match!
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_key_cmp] key types don't match!
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_key_cmp] key types don't match!
2022-08-25T22:02:16.795Z INFO  [libssh::packet_send2] packet: wrote [type=5, len=24, padding_size=6, comp=17, payload=17]
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_service_request] Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
2022-08-25T22:02:16.795Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.829Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 6 [len=24,padding=6,comp=17,payload=17]
2022-08-25T22:02:16.829Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 6
2022-08-25T22:02:16.829Z INFO  [libssh::ssh_packet_service_accept] Received SSH_MSG_SERVICE_ACCEPT
2022-08-25T22:02:16.829Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.829Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=48, padding_size=8, comp=39, payload=39]
2022-08-25T22:02:16.845Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 51 [len=56,padding=10,comp=45,payload=45]
2022-08-25T22:02:16.845Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 51
2022-08-25T22:02:16.845Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'none'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.845Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'none'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.860Z INFO  [libssh::ssh_agent_get_ident_count] Answer type: 12, expected answer: 12
2022-08-25T22:02:16.860Z INFO  [libssh::ssh_agent_get_ident_count] Agent count: 2
2022-08-25T22:02:16.860Z INFO  [libssh::ssh_userauth_agent] Trying identity cardno:18 701 175
2022-08-25T22:02:16.860Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.860Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.860Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.860Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=608, padding_size=7, comp=600, payload=600]
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 51 [len=56,padding=10,comp=45,payload=45]
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 51
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_userauth_agent] Public key of cardno:18 701 175 refused by server
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_userauth_agent] Trying identity (none)
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.877Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.877Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=608, padding_size=7, comp=600, payload=600]
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 51 [len=56,padding=10,comp=45,payload=45]
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 51
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_userauth_agent] Public key of (none) refused by server
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_rsa
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.906Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.907Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.907Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=480, padding_size=7, comp=472, payload=472]
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 51 [len=56,padding=10,comp=45,payload=45]
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 51
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_userauth_publickey_auto] Public key for /Users/senkwich/.ssh/id_rsa refused by server
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_ed25519
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_pki_import_pubkey_file] Error opening /Users/senkwich/.ssh/id_ed25519.pub: No such file or directory
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_pki_import_privkey_file] Error opening /Users/senkwich/.ssh/id_ed25519: No such file or directory
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_userauth_publickey_auto] Private key /Users/senkwich/.ssh/id_ed25519 doesn't exist.
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_ecdsa
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_pki_import_pubkey_file] Error opening /Users/senkwich/.ssh/id_ecdsa.pub: No such file or directory
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_pki_import_privkey_file] Error opening /Users/senkwich/.ssh/id_ecdsa: No such file or directory
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_userauth_publickey_auto] Private key /Users/senkwich/.ssh/id_ecdsa doesn't exist.
2022-08-25T22:02:16.924Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_dsa
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_pki_import_pubkey_file] Error opening /Users/senkwich/.ssh/id_dsa.pub: No such file or directory
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_pki_import_privkey_file] Error opening /Users/senkwich/.ssh/id_dsa: No such file or directory
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_userauth_publickey_auto] Private key /Users/senkwich/.ssh/id_dsa doesn't exist.
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_ed25519
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_pki_import_pubkey_file] Error opening /Users/senkwich/.ssh/id_ed25519.pub: No such file or directory
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_pki_import_privkey_file] Error opening /Users/senkwich/.ssh/id_ed25519: No such file or directory
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_userauth_publickey_auto] Private key /Users/senkwich/.ssh/id_ed25519 doesn't exist.
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_ecdsa
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_pki_import_pubkey_file] Error opening /Users/senkwich/.ssh/id_ecdsa.pub: No such file or directory
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_pki_import_privkey_file] Error opening /Users/senkwich/.ssh/id_ecdsa: No such file or directory
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_userauth_publickey_auto] Private key /Users/senkwich/.ssh/id_ecdsa doesn't exist.
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_rsa
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_key_algorithm_allowed] Checking rsa-sha2-512 with list <ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256>
2022-08-25T22:02:16.925Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.925Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=480, padding_size=7, comp=472, payload=472]
2022-08-25T22:02:16.955Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 51 [len=56,padding=10,comp=45,payload=45]
2022-08-25T22:02:16.955Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 51
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'publickey'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_userauth_publickey_auto] Public key for /Users/senkwich/.ssh/id_rsa refused by server
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_userauth_publickey_auto] Trying to authenticate with /Users/senkwich/.ssh/id_dsa
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_pki_import_pubkey_file] Error opening /Users/senkwich/.ssh/id_dsa.pub: No such file or directory
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_pki_import_privkey_file] Error opening /Users/senkwich/.ssh/id_dsa: No such file or directory
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_userauth_publickey_auto] Private key /Users/senkwich/.ssh/id_dsa doesn't exist.
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_userauth_publickey_auto] Tried every public key, none matched
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_userauth_kbdint_init] Sending keyboard-interactive init request
2022-08-25T22:02:16.956Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.957Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=72, padding_size=8, comp=63, payload=63]
2022-08-25T22:02:16.986Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 51 [len=56,padding=10,comp=45,payload=45]
2022-08-25T22:02:16.986Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 51
2022-08-25T22:02:16.986Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'unknown'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.986Z INFO  [libssh::ssh_packet_userauth_failure] Access denied for 'unknown'. Authentication that can continue: publickey,password,keyboard-interactive
2022-08-25T22:02:16.986Z TRACE [async_io::driver] block_on()
2022-08-25T22:02:16.987Z TRACE [polling::kqueue] new: kqueue_fd=13, read_stream=UnixStream { fd: FileDesc(OwnedFd { fd: 14 }), local: (unnamed), peer: (unnamed) }
2022-08-25T22:02:16.987Z TRACE [mio::poll] registering event source with poller: token=Token(0), interests=READABLE | WRITABLE
2022-08-25T22:02:16.988Z TRACE [async_io::driver] block_on: notified
2022-08-25T22:02:16.988Z TRACE [async_io::driver] block_on: completed
2022-08-25T22:02:16.988Z TRACE [async_io::driver] main_loop: waiting on I/O
2022-08-25T22:02:16.988Z TRACE [async_io::reactor] process_timers: 0 ready wakers
2022-08-25T22:02:16.988Z TRACE [polling] Poller::wait(_, None)
2022-08-25T22:02:16.988Z TRACE [polling::kqueue] wait: kqueue_fd=13, timeout=None
2022-08-25T22:02:16.988Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:16.988Z INFO  [libssh::packet_send2] packet: wrote [type=50, len=64, padding_size=5, comp=58, payload=58]
2022-08-25T22:02:17.014Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 52 [len=8,padding=6,comp=1,payload=1]
2022-08-25T22:02:17.015Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 52
2022-08-25T22:02:17.015Z INFO  [libssh::ssh_packet_userauth_success] Authentication successful
2022-08-25T22:02:17.015Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=288, in_blocks=49]
2022-08-25T22:02:17.015Z INFO  [wezterm_ssh_test] Executing cmd.exe /C echo %OS%
2022-08-25T22:02:17.015Z INFO  [libssh::channel_open] Creating a channel 43 with 64000 window and 32768 max packet
2022-08-25T22:02:17.015Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=52]
2022-08-25T22:02:17.015Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:17.015Z INFO  [libssh::packet_send2] packet: wrote [type=90, len=32, padding_size=7, comp=24, payload=24]
2022-08-25T22:02:17.015Z INFO  [libssh::channel_open] Sent a SSH_MSG_CHANNEL_OPEN type session for channel 43
2022-08-25T22:02:17.051Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 80 [len=608,padding=4,comp=603,payload=603]
2022-08-25T22:02:17.051Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 80
2022-08-25T22:02:17.051Z INFO  [libssh::ssh_packet_process] Couldn't do anything with packet type 80
2022-08-25T22:02:17.051Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=124]
2022-08-25T22:02:17.051Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:17.051Z INFO  [libssh::packet_send2] packet: wrote [type=3, len=16, padding_size=10, comp=5, payload=5]
2022-08-25T22:02:17.051Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=124]
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 91 [len=24,padding=6,comp=17,payload=17]
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 91
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_channel_open_conf] Received SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_channel_open_conf] Received a CHANNEL_OPEN_CONFIRMATION for channel 43:0
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_channel_open_conf] Remote window : 0, maxpacket : 32768
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=291, in_blocks=126]
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=295, in_blocks=130]
2022-08-25T22:02:17.052Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:17.052Z INFO  [libssh::packet_send2] packet: wrote [type=98, len=48, padding_size=9, comp=38, payload=38]
2022-08-25T22:02:17.052Z INFO  [libssh::channel_request] Sent a SSH_MSG_CHANNEL_REQUEST exec
2022-08-25T22:02:17.101Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 93 [len=16,padding=6,comp=9,payload=9]
2022-08-25T22:02:17.101Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 93
2022-08-25T22:02:17.101Z INFO  [libssh::channel_rcv_change_window] Adding 2097152 bytes to channel (43:0) (from 0 bytes)
2022-08-25T22:02:17.101Z INFO  [libssh::ssh_packet_socket_callback] Processing 36 bytes left in socket buffer
2022-08-25T22:02:17.101Z INFO  [libssh::ssh_packet_socket_callback] packet: read type 99 [len=16,padding=10,comp=5,payload=5]
2022-08-25T22:02:17.102Z INFO  [libssh::ssh_packet_process] Dispatching handler for packet type 99
2022-08-25T22:02:17.102Z INFO  [libssh::ssh_packet_channel_success] Received SSH_CHANNEL_SUCCESS on channel (43:0)
2022-08-25T22:02:17.102Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=295, in_blocks=127]
2022-08-25T22:02:17.102Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=295, in_blocks=127]
2022-08-25T22:02:17.102Z INFO  [libssh::channel_request] Channel request exec success
2022-08-25T22:02:17.104Z DEBUG [wezterm_ssh::sessioninner] error reading from stdin pipe: EOF
2022-08-25T22:02:17.104Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=295, in_blocks=127]
2022-08-25T22:02:17.104Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:17.104Z INFO  [libssh::packet_send2] packet: wrote [type=96, len=16, padding_size=10, comp=5, payload=5]
2022-08-25T22:02:17.104Z INFO  [libssh::ssh_channel_send_eof] Sent a EOF on client channel (43:0)
2022-08-25T22:02:17.104Z INFO  [libssh::ssh_packet_need_rekey] rekey: [data_rekey_needed=0, out_blocks=295, in_blocks=127]
2022-08-25T22:02:17.104Z INFO  [libssh::packet_send2] packet: wrote [type=97, len=16, padding_size=10, comp=5, payload=5]
2022-08-25T22:02:17.104Z INFO  [libssh::ssh_channel_close] Sent a close on client channel (43:0)
2022-08-25T22:02:17.104Z INFO  [libssh::ssh_socket_unbuffered_write] Enabling POLLOUT for socket
2022-08-25T22:02:17.107Z INFO  [libssh::ssh_channel_read_timeout] Read (16383) buffered : 0 bytes. Window: 64000
2022-08-25T22:02:17.107Z INFO  [libssh::ssh_channel_read_timeout] Remote channel is closed.
2022-08-25T22:02:17.107Z TRACE [wezterm_ssh::sessioninner] Failed to read data from channel: Remote channel is closed., closing pipe
2022-08-25T22:02:17.109Z INFO  [libssh::ssh_channel_read_timeout] Read (16383) buffered : 0 bytes. Window: 64000
2022-08-25T22:02:17.109Z INFO  [libssh::ssh_channel_read_timeout] Remote channel is closed.
2022-08-25T22:02:17.109Z TRACE [wezterm_ssh::sessioninner] Failed to read data from channel: Remote channel is closed., closing pipe

@chipsenkbeil
Copy link
Contributor Author

@wez couple of learnings

  1. I need to not close/drop stdin, otherwise I get the errors from earlier.
  2. When the sockets are set to nonblocking, libssh does not appear to close them by issuing a read of 0 bytes when they're done. Instead, it continues to report io::ErrorKind::WouldBlock whereas ssh2 will return 0 for bytes read from a call to read.

wez added a commit that referenced this issue Aug 30, 2022
Inspecting the wezterm process with `lsof -p`, before and after closing
a pane with `CloseCurrentPane`, the same number of unix domain sockets
are open, which is bad.

This commit tries a bit harder to clean things up: if we got a process
exit condition we now remember that we had it, and, while processing
the IO for that channel, if we have no data for stdout or stderr
(respectively) and the channel exited, we close our end of the
socketpair to encourage EOF to be detected on the other end.

This is sufficient to restore the number of open files to the same
number wezterm had opened prior to opening that pane.

@chipsenkbeil: this might possibly be a factor in the issue you
reported, but I haven't had time to really dig into that yet!

refs: #2466
refs: #2456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant