>Synopsis: ssh anoncvs regression: Connection closed
>Category: user
>Environment:
System : OpenBSD 7.0
Details : OpenBSD 7.0-current (GENERIC) #198: Sat Dec 25 16:22:02
MST 2021
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I have an anoncvs instance that stopped working upon upgrading to
-current. This looks like a regression with openssh, which closes the
connection.
$ cvs -d [email protected]:/cvs checkout -P nvi/
Connection closed by 45.77.165.128 port 22
cvs [checkout aborted]: end of file from server (consult above messages if any)
I expect something like:
$ cvs -d [email protected]:/cvs checkout -P nvi/
cvs server: /cvs/CVSROOT/config: unrecognized keyword 'UseNewInfoFmtStrings'
cvs server: Updating nvi
U nvi/exrc
U nvi/nexrc
cvs server: Updating nvi/snippets
U nvi/snippets/bsd.c
U nvi/snippets/for1.c
U nvi/snippets/for2.c
U nvi/snippets/inc.pl
...
>How-To-Repeat:
1. Host anoncvs following: https://www.openbsd.org/anoncvs.shar
2. 7.0 -stable works.
3. Update to 7.0 -current and existing setup stops working.
More minimal:
1. Create a passwordless account (e.g., puffy) similar to:
anoncvs::32766:32766::0:0:Anonymous CVS User:/open/anoncvs:/open/anoncvssh
2. usermod -p "" puffy
3. /etc/ssh/sshd_config
Match User puffy
PermitEmptyPasswords yes
AllowTcpForwarding no
AllowAgentForwarding no
X11Forwarding no
PermitTTY no
>Fix:
I found a workaround by downgrading with cvs -qD dates of revision 578-582 of
sshd.c. Then, use the sshd binary in /etc/rc.d/sshd as the daemon (e.g.,
daemon="/usr/sbin/sshd.581").
I am not sure how to bisect further because I probably have to update
/usr/libexec/ssh-*, /usr/sbin/sshd and /usr/bin/ssh* to do it correctly.
Two verbose logs with ssh follow along with dmesg/usbdevs at the end.
verbose log broken ssh:
$ ssh -vvv [email protected]
OpenSSH_8.8, LibreSSL 3.5.0
debug1: Reading configuration data /home/namtsui/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' ->
'/home/namtsui/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' ->
'/home/namtsui/.ssh/known_hosts2'
debug2: resolving "namtsui.com" port 22
debug3: resolve_host: lookup namtsui.com:22
debug3: ssh_connect_direct: entering
debug1: Connecting to namtsui.com [45.77.165.128] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/namtsui/.ssh/id_rsa type -1
debug1: identity file /home/namtsui/.ssh/id_rsa-cert type -1
debug1: identity file /home/namtsui/.ssh/id_dsa type -1
debug1: identity file /home/namtsui/.ssh/id_dsa-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ed25519 type 3
debug1: identity file /home/namtsui/.ssh/id_ed25519-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ed25519_sk type -1
debug1: identity file /home/namtsui/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/namtsui/.ssh/id_xmss type -1
debug1: identity file /home/namtsui/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.8
debug1: compat_banner: match: OpenSSH_8.8 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to namtsui.com:22 as 'anoncvs'
debug3: record_hostkey: found key type ED25519 in file
/home/namtsui/.ssh/known_hosts:77
debug3: record_hostkey: found key type RSA in file
/home/namtsui/.ssh/known_hosts:78
debug3: record_hostkey: found key type ECDSA in file
/home/namtsui/.ssh/known_hosts:79
debug3: load_hostkeys_file: loaded 3 keys from namtsui.com
debug1: load_hostkeys: fopen /home/namtsui/.ssh/known_hosts2: No such file or
directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or
directory
debug3: order_hostkeyalgs: have matching best-preference key type
[email protected], using HostkeyAlgorithms verbatim
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,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,[email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected],zlib
debug2: compression stoc: none,[email protected],zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms:
curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,[email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
debug2: host key algorithms:
rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: [email protected] MAC:
<implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC:
<implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519
SHA256:ErrOKmC9fKLOs0ebBDRTT3sBNVKYVSMyPlV+w3lzBy0
debug3: record_hostkey: found key type ED25519 in file
/home/namtsui/.ssh/known_hosts:77
debug3: record_hostkey: found key type RSA in file
/home/namtsui/.ssh/known_hosts:78
debug3: record_hostkey: found key type ECDSA in file
/home/namtsui/.ssh/known_hosts:79
debug3: load_hostkeys_file: loaded 3 keys from namtsui.com
debug1: load_hostkeys: fopen /home/namtsui/.ssh/known_hosts2: No such file or
directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or
directory
debug1: Host 'namtsui.com' is known and matches the ED25519 host key.
debug1: Found key in /home/namtsui/.ssh/known_hosts:77
debug3: send packet: type 21
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: agent returned 1 keys
debug1: Will attempt key: /home/namtsui/.ssh/id_ed25519 ED25519
SHA256:8fs4WbkhfjaHwemOJ5proxOgrx4JTw1SxyayENLAzwo agent
debug1: Will attempt key: /home/namtsui/.ssh/id_rsa
debug1: Will attempt key: /home/namtsui/.ssh/id_dsa
debug1: Will attempt key: /home/namtsui/.ssh/id_ecdsa
debug1: Will attempt key: /home/namtsui/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/namtsui/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/namtsui/.ssh/id_xmss
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info:
server-sig-algs=<ssh-ed25519,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected]>
debug1: kex_input_ext_info: [email protected]=<0>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
Connection closed by 45.77.165.128 port 22
verbose log with working ssh (with downgraded sshd):
$ ssh -vvv [email protected]
OpenSSH_8.8, LibreSSL 3.5.0
debug1: Reading configuration data /home/namtsui/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' ->
'/home/namtsui/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' ->
'/home/namtsui/.ssh/known_hosts2'
debug2: resolving "namtsui.com" port 22
debug3: resolve_host: lookup namtsui.com:22
debug3: ssh_connect_direct: entering
debug1: Connecting to namtsui.com [45.77.165.128] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/namtsui/.ssh/id_rsa type -1
debug1: identity file /home/namtsui/.ssh/id_rsa-cert type -1
debug1: identity file /home/namtsui/.ssh/id_dsa type -1
debug1: identity file /home/namtsui/.ssh/id_dsa-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/namtsui/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ed25519 type 3
debug1: identity file /home/namtsui/.ssh/id_ed25519-cert type -1
debug1: identity file /home/namtsui/.ssh/id_ed25519_sk type -1
debug1: identity file /home/namtsui/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/namtsui/.ssh/id_xmss type -1
debug1: identity file /home/namtsui/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.6
debug1: compat_banner: match: OpenSSH_8.6 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to namtsui.com:22 as 'anoncvs'
debug3: record_hostkey: found key type ECDSA in file
/home/namtsui/.ssh/known_hosts:42
debug3: load_hostkeys_file: loaded 1 keys from namtsui.com
debug1: load_hostkeys: fopen /home/namtsui/.ssh/known_hosts2: No such file or
directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or
directory
debug3: order_hostkeyalgs: prefer hostkeyalgs:
[email protected],ecdsa-sha2-nistp256
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,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,[email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms:
[email protected],ecdsa-sha2-nistp256,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected],zlib
debug2: compression stoc: none,[email protected],zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms:
curve25519-sha256,[email protected],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
debug2: host key algorithms:
rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc:
[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc:
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC:
<implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC:
<implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ecdsa-sha2-nistp256
SHA256:TdZ/5BXJ1rJsgtVc0utk/a9o901jRwrMBW/GwjmLRt8
debug3: record_hostkey: found key type ECDSA in file
/home/namtsui/.ssh/known_hosts:42
debug3: load_hostkeys_file: loaded 1 keys from namtsui.com
debug1: load_hostkeys: fopen /home/namtsui/.ssh/known_hosts2: No such file or
directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or
directory
debug1: Host 'namtsui.com' is known and matches the ECDSA host key.
debug1: Found key in /home/namtsui/.ssh/known_hosts:42
debug3: send packet: type 21
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/namtsui/.ssh/id_ed25519 ED25519
SHA256:8fs4WbkhfjaHwemOJ5proxOgrx4JTw1SxyayENLAzwo agent
debug1: Will attempt key: /home/namtsui/.ssh/id_rsa
debug1: Will attempt key: /home/namtsui/.ssh/id_dsa
debug1: Will attempt key: /home/namtsui/.ssh/id_ecdsa
debug1: Will attempt key: /home/namtsui/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/namtsui/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/namtsui/.ssh/id_xmss
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info:
server-sig-algs=<ssh-ed25519,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected]>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 52
Authenticated to namtsui.com ([45.77.165.128]:22) using "none".
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting [email protected]
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: fileystem
debug3: receive packet: type 80
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug3: client_input_hostkeys: received RSA key
SHA256:q3yABDcpOvs+yn+SmS68NBjx7SbKIJKdPFTTVdk8Jmg
debug3: client_input_hostkeys: received ECDSA key
SHA256:TdZ/5BXJ1rJsgtVc0utk/a9o901jRwrMBW/GwjmLRt8
debug3: client_input_hostkeys: received ED25519 key
SHA256:ErrOKmC9fKLOs0ebBDRTT3sBNVKYVSMyPlV+w3lzBy0
debug1: client_input_hostkeys: searching /home/namtsui/.ssh/known_hosts for
namtsui.com / (none)
debug3: hostkeys_foreach: reading file "/home/namtsui/.ssh/known_hosts"
debug3: hostkeys_find: found ecdsa-sha2-nistp256 key at
/home/namtsui/.ssh/known_hosts:42
debug3: hostkeys_find: found ecdsa-sha2-nistp256 key under different name/addr
at /home/namtsui/.ssh/known_hosts:43
debug3: hostkeys_find: found ecdsa-sha2-nistp256 key under different name/addr
at /home/namtsui/.ssh/known_hosts:44
debug1: client_input_hostkeys: searching /home/namtsui/.ssh/known_hosts2 for
namtsui.com / (none)
debug1: client_input_hostkeys: hostkeys file /home/namtsui/.ssh/known_hosts2
does not exist
debug3: client_input_hostkeys: 3 server keys: 2 new, 18446744073709551615
retained, 2 incomplete match. 0 to remove
debug1: client_input_hostkeys: host key found matching a different
name/address, skipping UserKnownHostsFile update
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 100
debug2: channel_input_status_confirm: type 100 id 0
PTY allocation request failed on channel 0
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug2: channel 0: rcvd ext data 173
To use anonymous CVS install the latest version of CVS on your local machine.
Then set your CVSROOT environment variable to the following value:
[email protected]:/cvs
debug2: channel 0: written 173 to efd 6
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0
debug2: channel 0: rcvd eow
debug2: chan_shutdown_read: channel 0: (i0 o0 sock -1 wfd 4 efd 6 [write])
debug2: channel 0: input open -> closed
debug3: receive packet: type 96
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: chan_shutdown_write: channel 0: (i3 o1 sock -1 wfd 5 efd 6 [write])
debug2: channel 0: output drain -> closed
debug3: receive packet: type 97
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/6 sock -1 cc -1 io
0x00/0x00)
debug3: send packet: type 1
Connection to namtsui.com closed.
Transferred: sent 2144, received 2644 bytes, in 10.4 seconds
Bytes per second: sent 205.5, received 253.4
debug1: Exit status 0
dmesg:
OpenBSD 7.0-current (GENERIC) #198: Sat Dec 25 16:22:02 MST 2021
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 519942144 (495MB)
avail mem = 488345600 (465MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5940 (9 entries)
bios0: vendor Vultr
bios0: Vultr VC2
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP APIC HPET WAET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Virtual CPU a7769a6388d5, 2401.35 MHz, 06-3d-02
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,RDTSCP,LONG,LAHF,ABM,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,ARAT,XSAVEOPT,MELTDOWN
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpihpet0 at acpi0: 100000000 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
"ACPI0006" at acpi0 not configured
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
"ACPI0010" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
cpu0: using Broadwell MDS workaround
pvbus0 at mainbus0: KVM
pvclock0 at pvbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 56:00:01:66:d3:6c
virtio0: msix per-VQ
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio1
scsibus2 at vioblk0: 1 targets
sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 20480MB, 512 bytes/sector, 41943040 sectors
virtio1: msix shared
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Memory Balloon" rev 0x00
viomb0 at virtio2
virtio2: apic 0 int 10
virtio3 at pci0 dev 6 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio3
virtio3: apic 0 int 10
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00
addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev
2.00/0.00 addr 2
uhidev0: iclass 3/0
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (0279885d3c4779d9.a) swap on sd0b dump on sd0b
fd0 at fdc0 drive 1: density unknown
usbdevs:
Controller /dev/usb0:
addr 01: 8086:0000 Intel, UHCI root hub
full speed, self powered, config 1, rev 1.00
driver: uhub0
addr 02: 0627:0001 QEMU, QEMU USB Tablet
full speed, power 100 mA, config 1, rev 0.00, iSerial
28754-0000:00:01.2-1
driver: uhidev0