Skip to content

bug: JetBrains Toolbox fails to connect to Windows VM – PTY creation error (-2147024809) #20468

@fioan89

Description

@fioan89

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

A prospective customer (in POC) reports that JetBrains Toolbox fails to connect to a Windows VM through Coder. The SSH session fails during pseudo console (PTY) creation on Windows.

Relevant Log Output

025-10-19 12:58:54.968 [debu]  net.tailnet: updating engine network map  network_map="netmap: self: [MLFvB] auth=machine-unknown u=? [fd7a:115c:a1e0:42d7:aee8:9e39:398f:4249/128 fd60:627a:a42b:42d7:aee8:9e39:398f:4249/128]\n [2ZvCR] d:5294bacf8e5200fe D999 fd7a:115c:a1e0:439f:be09:9bed:fd41:efaf/128 : \n [tmLbv] d:efb6fd9d8122a58f D999 fd7a:115c:a1e0:4ae3:89ca:4f09:db31:2947/128 : \n [8N9XZ] d:052cd4c9c8104de7 D999 fd7a:115c:a1e0:44f2:89c7:ed10:20b7:ce6c/128 : \n [8TjMt] d:bab02f3fbec77bb1 D999 fd7a:115c:a1e0:4b6f:9acd:bf8c:2831:a890/128 : \n [krSm8] d:9d1ee97918594e97 D999 fd7a:115c:a1e0:45dc:ad55:193e:a65:2b7f/128 : \n [CjfQL] d:a914f127d396c052 D999 fd7a:115c:a1e0:4449:a981:3220:e609:5b13/128 : \n [yQS5o] d:ff30b38b055933f7 D999 fd7a:115c:a1e0:423c:a735:9c23:bc19:8d41/128 : \n [k1HHj] d:039f8723c85367ab D999 fd7a:115c:a1e0:4088:9def:72cc:a24:f6cc/128 : \n [a7ZTY] d:fefcd53ff6cf4f79 D999 fd7a:115c:a1e0:42b9:82ee:e34c:1229:ef74/128 : \n [i+8To] d:b26d197f72300bfe D999 fd7a:115c:a1e0:4d9d:a7fe:4ad8:7545:d784/128 : \n [2SOeK] d:792c28f80c41debb D999 fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1/128 : \n [GUQ5N] d:fd820a552d5d225c D999 fd7a:115c:a1e0:4bd1:a7fa:fd14:9f0:d1d3/128 : \n [b7GVw] d:f0631e2b65d29d0c D999 fd7a:115c:a1e0:4d68:b9a7:cace:ef24:a7a/128 : \n [wiVoD] d:8341766bb1df2fc8 D999 fd7a:115c:a1e0:4d6f:9159:ea12:71c8:a988/128 : \n [e+RhF] d:01ae90ebaed47f63 D999 fd7a:115c:a1e0:4b70:9018:484f:3d17:7ef7/128 : \n [yW3Rc] d:eff55ba07ca9fd70 D999 fd7a:115c:a1e0:477f:89a3:fceb:a5de:455e/128 : \n [aKdZv] d:2767110a24f34569 D999 fd7a:115c:a1e0:4872:a3ab:ae3b:96d2:f29b/128 : \n [toMaU] d:08fd8d2581d3dfb9 D999 fd7a:115c:a1e0:48cf:9c47:8d34:6d36:d65/128 : \n [0zUij] d:e33e68639ad02286 D999 fd7a:115c:a1e0:48d2:b9a9:c11e:c52c:406b/128 : \n [oxqxS] d:c44e34336a7c5bc8 D999 fd7a:115c:a1e0:4e74:a544:a768:da1a:953b/128 : \n [HCSQ4] d:7eb129d15c345e12 D999 fd7a:115c:a1e0:4878:9692:4741:3cda:4e5d/128 : \n [qgW8a] d:6895bfdcf6281bee D999 fd7a:115c:a1e0:4b4d:b7ab:55af:fd7d:89bd/128 : \n [Lqyd9] d:5cc677a9f0bb066b D999 fd7a:115c:a1e0:45ff:afab:85a4:78b6:643f/128 : \n [LHIer] d:78be35f1031e9dba D999 fd7a:115c:a1e0:4dfb:ba9f:e2c4:d2a2:c17c/128 : \n [a9j4i] d:21608c4fcb0a909d D999 fd7a:115c:a1e0:48cc:b4cd:5f9b:3cfb:308e/128 : \n [aAhF6] d:6150edcf285f20ea D999 fd7a:115c:a1e0:4539:975c:e99e:9319:5e4a/128 : \n [Y8JoZ] d:d176f4ac78732921 D999 fd7a:115c:a1e0:4a55:a6fb:87e8:efe3:42a7/128 : \n [VRS+8] d:199db53992090e7d D999 fd7a:115c:a1e0:45c9:860b:59ca:44a4:fecf/128 : \n [85dVB] d:4dd3041a910f4799 D999 fd7a:115c:a1e0:4bac:a14e:5da8:16ab:4c55/128 : \n [/siG0] d:d128ccc5269f5368 D999 fd7a:115c:a1e0:4a14:9981:b410:8c72:4ddd/128 : \n [matzk] d:7f9e5899cecae8ff D999 fd7a:115c:a1e0:43f9:91a1:e950:c0ee:2a22/128 : \n [TRL9b] d:897d0f8e93082f3e D999 fd7a:115c:a1e0:4896:9fe5:33c1:3d4f:3177/128 : \n [k2HQf] d:e02da3d5361675bd D999 fd7a:115c:a1e0:42f2:928b:39b0:ffa3:a764/128 : \n [KTHuG] d:d448f5970da044e1 D999 fd7a:115c:a1e0:41e1:b6f1:4f31:23b4:547b/128 : \n [3tXlW] d:de69aa3aff98a365 D999 fd7a:115c:a1e0:4246:b7d3:5d65:1b56:ee40/128 : \n [N1juu] d:6a7394ce5b69dffd D999 fd7a:115c:a1e0:4ed0:b4dc:1b6b:a596:7eba/128 : \n [CtvrM] d:68cc0e0b3087241b D999 fd7a:115c:a1e0:4aea:a463:d2b5:27cd:2402/128 : \n"
2025-10-19 12:58:54.969 [debu]  net.tailnet.net.wgengine: [v1] magicsock: got updated network map; 37 peers
2025-10-19 12:58:54.970 [debu]  net.tailnet.net.wgengine: wgengine: Reconfig: configuring userspace WireGuard config (with 37/37 peers)
2025-10-19 12:58:54.971 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Created
2025-10-19 12:58:54.972 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Updating endpoint
2025-10-19 12:58:54.973 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Removing all allowedips
2025-10-19 12:58:54.974 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Adding allowedip
2025-10-19 12:58:54.974 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Updating persistent keepalive interval
2025-10-19 12:58:54.975 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Starting
2025-10-19 12:58:54.976 [debu]  net.tailnet.net.wgengine: [v1] wgengine: Reconfig done
2025-10-19 12:58:54.977 [debu]  net.tailnet: node update to existing peer  peer_id=498ec595-9163-4b2b-989f-efbed4268978  key_id=[2SOeK]  node="&{ID:nodeid:238f187d673ee353 StableID: Name: User:userid:0 Sharer:userid:0 Key:nodekey:d9239e29a6550e044fabb3dd6d3c77b1f793ae7de182872ddbf0ce6db04c344d KeyExpiry:0001-01-01 00:00:00 +0000 UTC KeySignature:[] Machine:mkey:0000000000000000000000000000000000000000000000000000000000000000 DiscoKey:discokey:792c28f80c41debb377777df42d43e81fd8d564b53a2a8689299ae384572fa1a Addresses:[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1/128] AllowedIPs:[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1/128] Endpoints:[] DERP:127.3.3.40:999 Hostinfo:{ж:0xc000f84600} Created:2025-10-19 15:58:54.9672045 +0300 IDT m=+11327.332089601 Cap:0 Tags:[] PrimaryRoutes:[] LastSeen:<nil> Online:<nil> KeepAlive:false MachineAuthorized:false Capabilities:[] UnsignedPeerAPIOnly:false ComputedName: computedHostIfDifferent: ComputedNameWithHost: DataPlaneAuditLogID: Expired:false SelfNodeV4MasqAddrForThisPeer:<nil> IsWireGuardOnly:false}"  dirty=false
2025-10-19 12:58:54.982 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Received handshake initiation
2025-10-19 12:58:54.983 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Sending handshake response
2025-10-19 12:58:54.983 [debu]  net.tailnet.net.wgengine: [v1] magicsock: derp route for [2SOeK] set to derp-999 (shared home)
2025-10-19 12:58:54.987 [debu]  net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Receiving keepalive packet
2025-10-19 12:58:55.028 [info]  net.tailnet.tcp: accepted connection  src=[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1]:57687  dst=[fd7a:115c:a1e0:42d7:aee8:9e39:398f:4249]:1
2025-10-19 12:58:55.028 [info]  ssh-server: started serving ssh connection  remote_addr=[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1]:57687  local_addr=[fd7a:115c:a1e0:42d7:aee8:9e39:398f:4249]:1  listen_addr={}
2025-10-19 12:58:55.101 [info]  ssh-server: handling ssh session  remote_addr=[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1]:57687  local_addr=[fd7a:115c:a1e0:42d7:aee8:9e39:398f:4249]:1  id=fbc9c1c7-e16f-4de7-873f-79b24b0be2f5
2025-10-19 12:58:55.102 [debu]  reporting connection  payload="connection:{id:\"\\xfb\\xc9\\xc1\\xc7\\xe1oM\\xe7\\x87?y\\xb2K\\x0b\\xe2\\xf5\" action:CONNECT type:SSH timestamp:{seconds:1760878735 nanos:102233400} ip:\"fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1\"}"
2025-10-19 12:58:55.113 [debu]  successfully reported connection  payload="connection:{id:\"\\xfb\\xc9\\xc1\\xc7\\xe1oM\\xe7\\x87?y\\xb2K\\x0b\\xe2\\xf5\" action:CONNECT type:SSH timestamp:{seconds:1760878735 nanos:102233400} ip:\"fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1\"}"
2025-10-19 12:58:55.118 [warn]  ssh-server: ssh session failed  remote_addr=[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1]:57687  local_addr=[fd7a:115c:a1e0:42d7:aee8:9e39:398f:4249]:1  id=fbc9c1c7-e16f-4de7-873f-79b24b0be2f5 ...
    error= start command:
               github.com/coder/coder/v2/agent/agentssh.(*Server).startPTYSession
                   /home/runner/work/coder/coder/agent/agentssh/agentssh.go:714
             - create pseudo console (-2147024809):
               github.com/coder/coder/v2/pty.newPty
                   /home/runner/work/coder/coder/pty/pty_windows.go:72
             - The operation completed successfully.
2025-10-19 12:58:55.119 [debu]  reporting connection  payload="connection:{id:\"\\xfb\\xc9\\xc1\\xc7\\xe1oM\\xe7\\x87?y\\xb2K\\x0b\\xe2\\xf5\" action:DISCONNECT type:SSH timestamp:{seconds:1760878735 nanos:119782100} ip:\"fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1\" status_code:229 reason:\"start command: create pseudo console (-2147024809): The operation completed successfully.\"}"
2025-10-19 12:58:55.129 [debu]  successfully reported connection  payload="connection:{id:\"\\xfb\\xc9\\xc1\\xc7\\xe1oM\\xe7\\x87?y\\xb2K\\x0b\\xe2\\xf5\" action:DISCONNECT type:SSH timestamp:{seconds:1760878735 nanos:119782100} ip:\"fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1\" status_code:229 reason:\"start command: create pseudo console (-2147024809): The operation completed successfully.\"}"
2025-10-19 12:58:55.135 [info]  ssh-server: ssh connection complete  remote_addr=[fd7a:115c:a1e0:4c19:8ed3:9d31:466:19f1]:57687  local_addr=[fd7a:115c:a1e0:42d7:aee8:9e39:398f:4249]:1  error="ssh: disconnect, reason 11: disconnected by user"



And the logs from Toolbox:
Command: ssh.exe, -D, 8003, -tt, -vv, -o, EscapeChar=none, -C, -p, 22, coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main, 
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Reading configuration data C:\\Users\\user-namek/.ssh/config
debug2: checking match for 'host *.coder !exec "C:\\Users\\user-namek\\AppData\\Local\\Microsoft\\WinGet\\Links\\coder.exe connect exists %h"' host coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main originally coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main
debug2: match not found
debug1: C:\\Users\\user-namek/.ssh/config line 25: Applying options for coder-jetbrains-toolbox-coder.customer.com--*
debug1: Executing proxy command: exec C:\\Users\\user-namek\\AppData\\Local\\coder-toolbox\\coder.customer.com\\coder-windows-amd64.exe --global-config C:\\Users\\user-namek\\AppData\\Local\\coder-toolbox\\coder.customer.com\\config --url https://coder.customer.com ssh --stdio --network-info-dir C:\\Users\\user-namek\\AppData\\Local\\coder-toolbox\\ssh-network-metrics --usage-app=jetbrains --ssh-host-prefix coder-jetbrains-toolbox-coder.customer.com-- coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main
debug1: identity file C:\\Users\\user-namek/.ssh/id_rsa type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa_sk type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519 type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519_sk type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519_sk-cert type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_xmss-cert type -1
debug1: identity file C:\\Users\\user-namek/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\user-namek/.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 Go
debug1: compat_banner: no match: Go
debug2: fd 5 setting O_NONBLOCK
debug2: fd 4 setting O_NONBLOCK
debug1: Authenticating to coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main:22 as 'ad\\user-namek'
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
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: zlib@openssh.com,zlib,none
debug2: compression stoc: zlib@openssh.com,zlib,none
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: mlkem768x25519-sha256,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,kex-strict-s-v00@openssh.com
debug2: host key algorithms: rsa-sha2-256,rsa-sha2-512,ssh-rsa
debug2: ciphers ctos: aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: ciphers stoc: aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
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
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:Gzm+29GNr/tX/b//Z3wwEhsb9hkj75b4Btnbk/QVZFw
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
Warning: Permanently added 'coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main' (RSA) to the list of known hosts.
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_rsa 
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_ecdsa 
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_ecdsa_sk 
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_ed25519 
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_ed25519_sk 
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_xmss 
debug1: Will attempt key: C:\\Users\\user-namek/.ssh/id_dsa 
debug2: pubkey_prepare: done
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
Authenticated to coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main (via proxy) using "none".
debug1: Local connections to LOCALHOST:8003 forwarded to remote address socks:0
debug1: Local forwarding listening on ::1 port 8003.
debug2: fd 3 setting O_NONBLOCK
debug1: channel 0: new port-listener [port listener] (inactive timeout: 0)
debug1: Local forwarding listening on 127.0.0.1 port 8003.
debug2: fd 6 setting O_NONBLOCK
debug1: channel 1: new port-listener [port listener] (inactive timeout: 0)
debug2: fd 7 setting O_NONBLOCK
debug2: fd 8 setting O_NONBLOCK
debug2: fd 9 setting O_NONBLOCK
debug1: channel 2: new session [client-session] (inactive timeout: 0)
debug2: channel 2: send open
debug1: Entering interactive session.
debug1: pledge: proc
debug1: ENABLE_VIRTUAL_TERMINAL_INPUT is supported. Reading the VTSequence from console
debug1: ENABLE_VIRTUAL_TERMINAL_PROCESSING is supported. Console supports the ansi parsing
debug2: channel_input_open_confirmation: channel 2: callback start
debug2: client_session2_setup: id 2
debug2: channel 2: request pty-req confirm 1
debug2: channel 2: request shell confirm 1
debug1: pledge: network
debug2: channel_input_open_confirmation: channel 2: callback done
debug2: channel 2: open confirm rwindow 2097152 rmax 32768
debug2: channel_input_status_confirm: type 99 id 2
debug2: PTY allocation request accepted on channel 2
debug2: channel_input_status_confirm: type 99 id 2
debug2: shell request accepted on channel 2
debug1: client_input_channel_req: channel 2 rtype exit-status reply 0
debug2: channel 2: rcvd close
debug2: channel 2: output open -> drain
debug2: chan_shutdown_read: channel 2: (i0 o1 sock -1 wfd 7 efd 9 [write])
debug2: channel 2: input open -> closed
debug2: channel 2: obuf empty
debug2: chan_shutdown_write: channel 2: (i3 o1 sock -1 wfd 8 efd 9 [write])
debug2: channel 2: output drain -> closed
debug2: channel 2: almost dead
debug2: channel 2: gc: notify user
debug2: channel 2: gc: user detached
debug2: channel 2: send close
debug2: channel 2: is dead
debug2: channel 2: garbage collecting
debug1: channel 2: free: client-session, nchannels 3
debug1: channel 0: free: port listener, nchannels 2
debug1: channel 1: free: port listener, nchannels 1
Connection to coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main closed.
Transferred: sent 2776, received 1816 bytes, in 0.0 seconds
Bytes per second: sent 75027.1, received 49081.2
debug1: Exit status 229

Expected Behavior

Customer should successfully connect to a Windows VM via JetBrains Toolbox using the Coder SSH proxy

Steps to Reproduce

  1. Customer connects to a Windows VM via JetBrains Toolbox.
  2. Connection fails immediately after SSH handshake.
  3. Logs show PTY creation error -2147024809 (“invalid parameter”).

Environment

Workspace OS: Windows 11 (22H2)
Client OS: Windows 11 (22H2)
Coder version: v2.26.1+7afe6c8

Additional Context

I have tested this on the latest version

Metadata

Metadata

Assignees

Labels

networkingArea: networkings1Bugs that break core workflows. Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions