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.
/etc points to /private/etc on OS X, so it's all good.
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)
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"
My bad, the comment system stripped my newlines. Fixed the post.
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)