Hi, I just updated my PocketBook InkPad Color 3 to software version 6.10, but SSH/SCP connection is now broken. I re-copied the latest pb_sshd from here, but I still get:
>ssh reader@192.168.0.160 -p 1124
Connection closed by 192.168.0.160 port 1124
Here is the debug log from the PocketBook:
Code:
debug1: sshd version OpenSSH_10.2, OpenSSL 3.4.1 11 Feb 2025
/mnt/ext1/applications/pb_sshd/etc/ssh/sshd_config line 4: Deprecated option UsePrivilegeSeparation
/mnt/ext1/applications/pb_sshd/etc/ssh/sshd_config line 7: Deprecated option RSAAuthentication
debug1: private host key #0: ecdsa-sha2-nistp256 SHA256:0dvfKf7ShezGeqlKVJX7kNciuYs6Nrs82EuJZJZH7/A
debug1: private host key #1: ssh-rsa SHA256:pNXuQLZNUGH53WKQBOLftLwDiF14/A2Auc1D9MQAh58
debug1: setgroups() failed: Operation not permitted
debug1: rexec_argv[1]='-f'
debug1: rexec_argv[2]='/mnt/ext1/applications/pb_sshd/etc/ssh/sshd_config'
debug1: rexec_argv[3]='-h'
debug1: rexec_argv[4]='/mnt/ext1/applications/pb_sshd/etc/ssh/ssh_host_ecdsa_key'
debug1: rexec_argv[5]='-h'
debug1: rexec_argv[6]='/mnt/ext1/applications/pb_sshd/etc/ssh/ssh_host_rsa_key'
debug1: rexec_argv[7]='-d'
debug1: rexec_argv[8]='-e'
socket: Address family not supported by protocol
debug1: Bind to port 1124 on 0.0.0.0.
Server listening on 0.0.0.0 port 1124.
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 7 out 7 newsock 7 config_s 8/9
rexec line 4: Deprecated option UsePrivilegeSeparation
rexec line 7: Deprecated option RSAAuthentication
debug1: sshd-session version OpenSSH_10.2, OpenSSL 3.4.1 11 Feb 2025
debug1: network sockets: 6, 6
Connection from 192.168.0.10 port 55599 on 192.168.0.160 port 1124
debug1: Local version string SSH-2.0-OpenSSH_10.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_for_Windows_9.5
debug1: compat_banner: match: OpenSSH_for_Windows_9.5 pat OpenSSH* compat 0x04000000
debug1: network sockets: 5, 5 [preauth]
debug1: mm_answer_state: config len 322
rexec line 4: Deprecated option UsePrivilegeSeparation [preauth]
rexec line 7: Deprecated option RSAAuthentication [preauth]
debug1: sshd-auth version OpenSSH_10.2, OpenSSL 3.4.1 11 Feb 2025 [preauth]
debug1: list_hostkey_types: ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256 [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug1: kex: algorithm: curve25519-sha256 [preauth]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256 [preauth]
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
debug1: SSH2_MSG_KEX_ECDH_INIT received [preauth]
debug1: mm_answer_sign: hostkey ecdsa-sha2-nistp256 index 0
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3 [preauth]
debug1: rekey out after 134217728 blocks [preauth]
debug1: monitor_read_log: child log fd closed
mm_reap: child terminated by signal 31
debug1: do_cleanup
debug1: Killing privsep child 9062
Here is the debug log from the Windows client:
Code:
OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2
debug1: Reading configuration data C:\\Users\\Mihai/.ssh/config
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname 192.168.0.160 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'C:\\Users\\Mihai/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'C:\\Users\\Mihai/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 192.168.0.160 [192.168.0.160] port 1124.
debug1: Connection established.
debug1: identity file C:\\Users\\Mihai/.ssh/id_rsa type 0
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_rsa-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_rsa-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_rsa-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_rsa-cert type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ecdsa error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ecdsa type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ecdsa-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ecdsa-cert type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa_sk error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa_sk.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ecdsa_sk error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ecdsa_sk type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa_sk-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ecdsa_sk-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ecdsa_sk-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ecdsa_sk-cert type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519 error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ed25519 error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ed25519 type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ed25519-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ed25519-cert type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519_sk error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519_sk.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ed25519_sk error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ed25519_sk type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519_sk-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_ed25519_sk-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_ed25519_sk-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_ed25519_sk-cert type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_xmss error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_xmss.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_xmss error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_xmss type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_xmss-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_xmss-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_xmss-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_xmss-cert type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_dsa error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_dsa.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_dsa error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_dsa type -1
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_dsa-cert error:2
debug3: Failed to open file:C:/Users/Mihai/.ssh/id_dsa-cert.pub error:2
debug3: failed to open file:C:/Users/Mihai/.ssh/id_dsa-cert error:2
debug1: identity file C:\\Users\\Mihai/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version OpenSSH_10.2
debug1: compat_banner: match: OpenSSH_10.2 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 192.168.0.160:1124 as 'reader'
debug3: put_host_port: [192.168.0.160]:1124
debug3: Failed to open file:C:/Users/Mihai/.ssh/known_hosts2 error:2
debug1: load_hostkeys: fopen C:\\Users\\Mihai/.ssh/known_hosts2: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: no algorithms matched; accept original
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: 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,ext-info-c,kex-strict-c-v00@openssh.com
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-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-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,ext-info-s,kex-strict-s-v00@openssh.com
debug2: host key algorithms: ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com
debug2: compression stoc: none,zlib@openssh.com
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug3: kex_choose_conf: will use strict KEX ordering
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY