iTerm2 shell integration does not work with Ubuntu 25.10 (Questing Quokka) due to coreutils changes
- iTerm2 version: 3.6.4
- OS version: macOS Tahoe 26.0.1
- Host OS version: Ubuntu 25.10 questing
Detailed steps to reproduce the problem:
- Using
it2sshto connect to a Ubuntu 25.10 Host will fail with asttyerror.
What happened:
The issue is that Ubuntu 25.10 has moved the default coreutils to rust-coreutils. The new version of stty included in that package does not appear to deal well with the stty commands that it2ssh sends.
The error looks like:
stty: invalid argument '6900:5:f00bf:8a33:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'
A working solution:
In the short term, you can replace stty with the normal GNU version and it2ssh will connect normally.
$ apt install gnu-coreutils
$ update-alternatives --install /usr/bin/stty stty /usr/bin/gnustty 99
There are a number of open issues with the rust-coreutils and stty here so this may be the way to go for the time being.