I am having this same issue. I also tried adding the -d switch to see if that would shed any light.
$ sshfs -d -o idmap=user ... command-line line 0: Bad number. remote host has disconnected $ sshfs -d -o idmap=file,uidfile=myuidfile,gidfile=mygidfile ... command-line line 0: Bad number. remote host has disconnected Any ideas? I'm also running 5.8. Thanks! Daniel