terminal
terminal copied to clipboard
Canary Build!!! Many attempts to SSH to another machine will result in a hung request.
Windows Terminal version
1.22.2351.0
Windows build number
10.0.22635.0
Other Software
OpenSSH_9.8p1, OpenSSL 3.2.2 4 Jun 2024
Steps to reproduce
I have an alias for a host defined in ~/.ssh/config called "workbits"
Attempt to SSH to that alias:
ssh workbits
Expected Behavior
for ssh session to the "workbits" machine to be established
Actual Behavior
The session hangs.
␛[1t␛[?1004h␛[?9001h␛[1t␛[18;56;0;1;259;1_␛[I␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_PowerShell␣7.4.5␍␊ ␛]0;Administrator:␣PowerShell␛\␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;1;259;1_␛[18;56;0;0;2;1_␛[18;56;0;0;0;1_␛]0;Administrator:␣PowerShell␛\What␣kind␣of␣pants␣do␣ghosts␣wear?␣Boo␣jeans.␛]0;Administrator:␣PowerShell␛\␛[0m␛[0m␍␊ ␍␊ ␛[0m␛[0mLoading␣personal␣and␣system␣profiles␣took␣1192ms.␍␊ ␛[38;2;255;238;88m␣␣␛[0m␛[38;2;255;255;255m␣Aaron␣Kulbe@smallkraken␣␛[0m␛[0m␛[38;2;145;221;255;49m␛[7m␛[0m␛[48;2;145;221;255m␛[38;2;16;14;35m␣~␣␛[0m␛[38;2;145;221;255m␛[0m␣␛[83;31;115;1;0;1_␛[?25l␛[5;35H␛[0m␛[93ms␛[0m␛[97;2;3msh␣workbits␛[0m␛[39;49m␛[0m␛[5;36H␛[?25h␛[83;31;115;0;0;1_␛[83;31;115;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mss␛[0m␛[97;2;3mh␣workbits␛[0m␛[39;49m␛[0m␛[5;37H␛[?25h␛[72;35;104;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[97;2;3m␣workbits␛[0m␛[39;49m␛[0m␛[5;38H␛[?25h␛[83;31;115;0;0;1_␛[32;57;32;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[97;2;3mworkbits␛[0m␛[39;49m␛[0m␛[5;39H␛[?25h␛[72;35;104;0;0;1_␛[32;57;32;0;0;1_␛[87;17;119;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mw␛[0m␛[97;2;3morkbits␛[0m␛[39;49m␛[0m␛[5;40H␛[?25h␛[79;24;111;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mwo␛[0m␛[97;2;3mrkbits␛[0m␛[39;49m␛[0m␛[5;41H␛[?25h␛[87;17;119;0;0;1_␛[82;19;114;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mwor␛[0m␛[97;2;3mkbits␛[0m␛[39;49m␛[0m␛[5;42H␛[?25h␛[79;24;111;0;0;1_␛[82;19;114;0;0;1_␛[75;37;107;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mwork␛[0m␛[97;2;3mbits␛[0m␛[39;49m␛[0m␛[5;43H␛[?25h␛[75;37;107;0;0;1_␛[66;48;98;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mworkb␛[0m␛[97;2;3mits␛[0m␛[39;49m␛[0m␛[5;44H␛[?25h␛[66;48;98;0;0;1_␛[73;23;105;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mworkbi␛[0m␛[97;2;3mts␛[0m␛[39;49m␛[0m␛[5;45H␛[?25h␛[73;23;105;0;0;1_␛[84;20;116;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mworkbit␛[0m␛[97;2;3ms␛[0m␛[39;49m␛[0m␛[5;46H␛[?25h␛[84;20;116;0;0;1_␛[83;31;115;1;0;1_␛[?25l␛[5;35H␛[0m␛[93mssh␛[0m␛[39;49m␣␛[0m␛[37mworkbits␛[39;49m␛[0m␛[5;47H␛[?25h␛[83;31;115;0;0;1_␛[13;28;13;1;0;1_␍␊ ␛[0m␛[0m␛[13;28;13;0;0;1_␛[O␛[I␛[O
@akulbe could you also throw in the output from ssh -vv workbits?
FYI - this is making me crazy. Sometimes it'll happen, sometimes it won't.
OpenSSH_9.8p1, OpenSSL 3.2.2 4 Jun 2024
debug1: Reading configuration data /c/Users/Aaron Kulbe/.ssh/config
debug1: Reading configuration data /c/Users/Aaron Kulbe/.ssh/ks_ssh_config
debug1: Reading configuration data /c/Users/Aaron Kulbe/.ssh/milan_ssh_config
debug1: /c/Users/Aaron Kulbe/.ssh/config line 12: Applying options for *
debug1: /c/Users/Aaron Kulbe/.ssh/config line 255: Applying options for workbits
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 172.21.252.108 is address
debug1: Connecting to 172.21.252.108 [172.21.252.108] port 22.
debug1: Connection established.
debug1: identity file /c/Users/Aaron Kulbe/.ssh/homelab_ed25519 type 3
debug1: identity file /c/Users/Aaron Kulbe/.ssh/homelab_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.6
debug1: compat_banner: match: OpenSSH_9.6 pat OpenSSH* compat 0x04000000
debug2: fd 4 setting O_NONBLOCK
debug1: Authenticating to 172.21.252.108:22 as 'akulbe'
debug1: load_hostkeys: fopen /c/Users/Aaron Kulbe/.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: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: [email protected],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,ext-info-c,[email protected]
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,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ext-info-s,[email protected]
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: [email protected],[email protected],aes256-ctr,[email protected],aes128-ctr
debug2: ciphers stoc: [email protected],[email protected],aes256-ctr,[email protected],aes128-ctr
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha1,[email protected],hmac-sha2-512
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha1,[email protected],hmac-sha2-512
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:
Last login: Thu Aug 22 09:05:56 2024 from 172.20.252.10
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
Ugh, sorry to ask this... but do you think you can get a ssh -vv output with the issue actually happening?
(I'm gonna close this out for now, but please hit me up with more details if you've got it!)