News for hackers. Stuff that matters.
Re:OpenSSH: client bug CVE-2016-0777 by nulltype on Thursday January 14, 2016 @01:52PM (#10903473)
If you have a mac (Yosemite), it looks like you want to add " UseRoaming no" under the "Host *" line in /etc/ssh_config (as root). You can test it before and after with this:

ssh -v -T [email protected] 2>&1 | grep Roaming

debug1: Roaming not allowed by server <- bad

ssh -v -T [email protected] 2>&1 | grep Roaming

(no output is good)

Re:OpenSSH: client bug CVE-2016-0777 by super_mario on Thursday January 14, 2016 @01:55PM (#10903492)
On El Capitan the file is /etc/ssh/ssh_config
Re:OpenSSH: client bug CVE-2016-0777 by snowwrestler on Thursday January 14, 2016 @02:01PM (#10903533)
On Mountain Lion it's /private/etc/ssh_config.
Re:OpenSSH: client bug CVE-2016-0777 by astrange on Thursday January 14, 2016 @09:02PM (#10906569)
/etc points to /private/etc on OS X, so it's all good.
Re:OpenSSH: client bug CVE-2016-0777 by metavida on Thursday January 14, 2016 @04:12PM (#10904520)
A few of my friends found multiple copies of ssh_config lying around, so I wrote this one-liner that looks at 3 separate known ssh_config files & patches any vulnerable ones that it finds.

$ for SSH_CONF in /etc/ssh/ssh_config /etc/ssh_config /private/etc/ssh_config; do [ -f $SSH_CONF ] && ! grep -q 'UseRoaming no' $SSH_CONF && echo "Patching $SSH_CONF" && echo -e '\nHost *\n UseRoaming no' | sudo tee -a $SSH_CONF > /dev/null; done

Re:OpenSSH: client bug CVE-2016-0777 by noterminal on Thursday January 14, 2016 @05:23PM (#10905177)
Here is a user-friendly script that will disable UseRoaming on your os x computer. If you want to send this out to your coworkers, remind them that they have to right-click and choose open to execute a .command script (unless they have "allow apps downloaded from anywhere" enabled)

https://gist.github.com/logicalmethods/49f42190406667cbbbee

Re:OpenSSH: client bug CVE-2016-0777 by lftl on Thursday January 14, 2016 @02:28PM (#10903753)
Interestingly I haven't been able to get the Roaming not allowed message to show on my client with or without the config option set.
Re:OpenSSH: client bug CVE-2016-0777 by antoinealb on Thursday January 14, 2016 @02:50PM (#10903929)
Did you copy the whole line as "g ssh -v -T [email protected] 2>&1 | grep "Roaming debug1: Roaming not allowed by server"" ?

I misread GP's command and made that mistake. The correct command is :

ssh -v -T [email protected] 2>&1 | grep "Roaming"

Re:OpenSSH: client bug CVE-2016-0777 by nulltype on Thursday January 14, 2016 @03:18PM (#10904111)
My bad, the comment system stripped my newlines. Fixed the post.
Re:OpenSSH: client bug CVE-2016-0777 by lftl on Thursday January 14, 2016 @03:22PM (#10904153)
It looks like arch just got the fix in really quick. I didn't recall updating my box this morning but I must have, because I already had the patched version in place.