Huge iTerm2 SSH Vulnerability

  Рет қаралды 4,261

John McBride

John McBride

Күн бұрын

Пікірлер: 12
@GottZ
@GottZ 16 күн бұрын
I know my comment isn't really constructive.. but watching this in 720p on a 4k screen is hilarious in 2025
@JohnCodes
@JohnCodes 16 күн бұрын
100% my bad: thought my OBS settings when I recorded this were on the right profile but it captured at 720p :(
@randomgeocacher
@randomgeocacher 15 күн бұрын
Not familiar with this terminal but in general you’d use user unique file names, often under $USER. And set proper permissions. Most shells log .history in defaults so reasonable logging under user is considered okay. mktemp could be an option if you want a random file under /tmp. So imho the larger issue isn’t how the logger verbosity was configured, but that location and perms was wrong.
@scottstillwell3150
@scottstillwell3150 17 күн бұрын
Ironic that I just recently switched to Ghostty myself...but I just upgraded my iTerm2 anyway. I have always just used the default profile with Login Shell rather than SSH, and then manually ssh to whatever host I'm connecting to. I don't use the program as a connection manager. Good video, though...thanks for the heads-up!
@JohnCodes
@JohnCodes 16 күн бұрын
Yeah Ghostty has been great!
@Sam_Body
@Sam_Body 16 күн бұрын
Should `read -s` or even without `-s` help? Are we see input or output data, or shell configuration itself logged with all the ephemeral env variables?
@JohnCodes
@JohnCodes 16 күн бұрын
It's all raw input and output. So anything that goes through as ins or outs will be logged to the file. Best thing is to remove the file from remote hosts, upgrade iterm2, and depending on your risk profile, rotate keys and passwords.
@conceptrat
@conceptrat 17 күн бұрын
Does this mean that iterm2 is writing data to this file in the background? I don't even understand why the logging would be done on the host you're connecting to? Surely it should be output on the machine initiating the connection.
@JohnCodes
@JohnCodes 16 күн бұрын
The way that I understand how the ssh integration works is there's a small script that is installed on the remote host to integrate with a connected iterm2 client. It's a very lite-weight integration intended to make ssh-ing into many different hosts with many different configs easier. But you run the risk of this sort of thing happening
@Mordinel
@Mordinel 16 күн бұрын
The openssh client is already completely configurable, I see no reason to make these configurations in my terminal emulator rather than in my ~/.ssh/config file.
@JavierHarford
@JavierHarford 16 күн бұрын
I knew this was coming.... iterm2 has felt janky for years
5 Reasons I Ditched My Old Terminal for Ghostty
11:34
John McBride
Рет қаралды 18 М.
The Perfect Dependency - SQLite Case Study
19:32
Tom Delalande
Рет қаралды 93 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
this SSH exploit is absolutely wild
11:59
Low Level
Рет қаралды 346 М.
Nobara: Next level Linux gaming and creative workstation
10:58
John McBride
Рет қаралды 35 М.
Top 6 Underrated Neovim Plugins
9:34
NoobScience
Рет қаралды 3,6 М.
6 Months of Testing C++ Build Systems: Here’s What You Need to Know
16:33
DeepSeek R1 Just Revolutionized AI Forever
21:06
Cole Medin
Рет қаралды 12 М.
Just Because Its New Doesn't Mean Its Good (neovim) | Prime Reacts
20:50
Have you ever used the "column" command in Linux?
8:24
Veronica Explains
Рет қаралды 144 М.
I can't use a Mac without this app.
13:43
Theo - t3․gg
Рет қаралды 113 М.
The symptoms of bad code - Robert C. Martin (Uncle Bob)
5:42
Dev Tools Made Simple
Рет қаралды 33 М.
SSH Keys
10:12
RobEdwards
Рет қаралды 132 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН