- Notifications
You must be signed in to change notification settings - Fork1.1k
Description
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 peers2025-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: Created2025-10-19 12:58:54.972 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Updating endpoint2025-10-19 12:58:54.973 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Removing all allowedips2025-10-19 12:58:54.974 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Adding allowedip2025-10-19 12:58:54.974 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - UAPI: Updating persistent keepalive interval2025-10-19 12:58:54.975 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Starting2025-10-19 12:58:54.976 [debu] net.tailnet.net.wgengine: [v1] wgengine: Reconfigdone2025-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=false2025-10-19 12:58:54.982 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Received handshake initiation2025-10-19 12:58:54.983 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Sending handshake response2025-10-19 12:58:54.983 [debu] net.tailnet.net.wgengine: [v1] magicsock: derp routefor [2SOeK]set to derp-999 (shared home)2025-10-19 12:58:54.987 [debu] net.tailnet.net.wgengine: wg: [v2] [2SOeK] - Receiving keepalive packet2025-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]:12025-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-79b24b0be2f52025-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 connectioncomplete 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.2debug1: Reading configuration data C:\\Users\\user-namek/.ssh/configdebug2: checking matchfor'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.maindebug2: match not founddebug1: C:\\Users\\user-namek/.ssh/config line 25: Applying optionsfor 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.maindebug1: identity file C:\\Users\\user-namek/.ssh/id_rsatype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_rsa-certtype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsatype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa-certtype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa_sktype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ecdsa_sk-certtype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519type -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519-certtype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519_sktype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_ed25519_sk-certtype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_xmsstype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_xmss-certtype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_dsatype -1debug1: identity file C:\\Users\\user-namek/.ssh/id_dsa-certtype -1debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5debug1: Remote protocol version 2.0, remote software version Godebug1: compat_banner: no match: Godebug2: fd 5 setting O_NONBLOCKdebug2: fd 4 setting O_NONBLOCKdebug1: 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 directorydebug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directorydebug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug2:local client KEXINIT proposaldebug2: 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.comdebug2: 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-256debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: 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-512debug2: 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-512debug2: compression ctos: zlib@openssh.com,zlib,nonedebug2: compression stoc: zlib@openssh.com,zlib,nonedebug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposaldebug2: 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.comdebug2: host key algorithms: rsa-sha2-256,rsa-sha2-512,ssh-rsadebug2: ciphers ctos: aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctrdebug2: ciphers stoc: aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctrdebug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96debug2: compression ctos: nonedebug2: compression stoc: nonedebug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256debug1: kex: host key algorithm: rsa-sha2-512debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC:<implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC:<implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: SSH2_MSG_KEX_ECDH_REPLY receiveddebug1: Server host key: ssh-rsa SHA256:Gzm+29GNr/tX/b//Z3wwEhsb9hkj75b4Btnbk/QVZFwdebug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directorydebug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directoryWarning: 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 3debug2: ssh_set_newkeys: mode 1debug1: rekey out after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug1: ssh_packet_read_poll2: resettingread seqnr 3debug1: SSH2_MSG_NEWKEYS receiveddebug2: ssh_set_newkeys: mode 0debug1: rekeyin after 134217728 blocksdebug1: get_agent_identities: ssh_get_authentication_socket: No such file or directorydebug1: 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:donedebug1: SSH2_MSG_EXT_INFO receiveddebug1: 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-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receivedAuthenticated 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:0debug1: Local forwarding listening on ::1 port 8003.debug2: fd 3 setting O_NONBLOCKdebug1: 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_NONBLOCKdebug1: channel 1: new port-listener [port listener] (inactive timeout: 0)debug2: fd 7 setting O_NONBLOCKdebug2: fd 8 setting O_NONBLOCKdebug2: fd 9 setting O_NONBLOCKdebug1: channel 2: new session [client-session] (inactive timeout: 0)debug2: channel 2: send opendebug1: Entering interactive session.debug1: pledge: procdebug1: ENABLE_VIRTUAL_TERMINAL_INPUT is supported. Reading the VTSequence from consoledebug1: ENABLE_VIRTUAL_TERMINAL_PROCESSING is supported. Console supports the ansi parsingdebug2: channel_input_open_confirmation: channel 2: callback startdebug2: client_session2_setup: id 2debug2: channel 2: request pty-req confirm 1debug2: channel 2: request shell confirm 1debug1: pledge: networkdebug2: channel_input_open_confirmation: channel 2: callbackdonedebug2: channel 2: open confirm rwindow 2097152 rmax 32768debug2: channel_input_status_confirm:type 99 id 2debug2: PTY allocation request accepted on channel 2debug2: channel_input_status_confirm:type 99 id 2debug2: shell request accepted on channel 2debug1: client_input_channel_req: channel 2 rtype exit-status reply 0debug2: channel 2: rcvd closedebug2: channel 2: output open -> draindebug2: chan_shutdown_read: channel 2: (i0 o1 sock -1 wfd 7 efd 9 [write])debug2: channel 2: input open -> closeddebug2: channel 2: obuf emptydebug2: chan_shutdown_write: channel 2: (i3 o1 sock -1 wfd 8 efd 9 [write])debug2: channel 2: output drain -> closeddebug2: channel 2: almost deaddebug2: channel 2: gc: notify userdebug2: channel 2: gc: user detacheddebug2: channel 2: send closedebug2: channel 2: is deaddebug2: channel 2: garbage collectingdebug1: channel 2: free: client-session, nchannels 3debug1: channel 0: free: port listener, nchannels 2debug1: channel 1: free: port listener, nchannels 1Connection to coder-jetbrains-toolbox-coder.customer.com--user-namek--lolol.main closed.Transferred: sent 2776, received 1816 bytes,in 0.0 secondsBytes per second: sent 75027.1, received 49081.2debug1: Exit status 229
Expected Behavior
Customer should successfully connect to a Windows VM via JetBrains Toolbox using the Coder SSH proxy
Steps to Reproduce
- Customer connects to a Windows VM via JetBrains Toolbox.
- Connection fails immediately after SSH handshake.
- 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