OSX Network

Slow samba shares

If you have a Linux server and share some files over the network, even it is Gigabit, you may experience some slowness in browsing remote files or /and copying files over wire. The reason is that Samba needs certain extentions to work with MacOS properly. You may google for more details but the most important is put this lines to your global section in smb.conf file:

#MacOS compatibility
ea support = yes
vfs objects = catia fruit streams_xattr
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = none

It is also worth tune little bit your MacOS networking stuff. Run it:

sudo sysctl -w net.inet.tcp.delayed_ack=0

Happy browsing.

How to enforce password auth over ssh on Mac

ssh -o PreferredAuthentications=password  -o PubkeyAuthentication=no login@sever