Fix macOS pssh logging caused by line buffering

If you want to log the output of an SSH connection under macOS with pssh from Homebrew, the following error occurs: line buffering (buffering=1) isn't supported in binary mode In the pssh command this happens when you define the -o option for output. pssh -t 0 -p 10 -l root -h host.list -o logs 'command' In order to log the output of the SSH session, we have to make a small adjustment to the Python psshlib....

December 7, 2022 · 2 min · 254 words · ae3

macOS M1/M2/M3 fix incorrect auto date and time after dead battery

When you completely discharge a MacBook with an M1, M2 or M3 processor and the device runs out of power, it will lose the date and time on the next boot. Normally there is a backup battery on a mainboard, which keeps the time and date in such a case. I cannot yet say what Apple has done here exactly and why the problem occurs. But I have a solution for you....

July 10, 2022 · 1 min · 209 words · ae3