As far as I know, this will affect any OSX, am I right ?
UseRoaming no
on its own line in your ~/.ssh/config file. If you don't have such a file, create it and put this line into it.Doing that will only protect you in that OS X user account, but I bet you only ever use one account on your Mac to SSH anyway.
# echo 'UseRoaming no' >> /etc/ssh/ssh_config
or $ echo "UseRoaming no" >> ~/.ssh/configFWIW I am on 10.10.5 not 10.11. Maybe there's a change in 10.11. (The article the grandparent links is focused on 10.10 so I assumed that was in the scope of this discussion.)
PS are you on homebrew? maybe homebrew adds it.
/root/.ssh/config: line 1: Bad configuration option: UseRoaming
/root/.ssh/config: terminating, 1 bad configuration option
... which means that sshd predates the roaming code. I haven't tested, but I'll bet my snow leopard workstation also predates that code.So ... if that line:
UseRoaming no
produces no errors when you ssh as that user, then you had the problem and you fixed it. If it produces the error above, you never had the problem in the first place (although with an older sshd like that, you should make sure you're not exposed to other, older vulnerabilities).Deleted comment