scripts/k8s-access: support MacOS X
- make sure we have a recent ssh version (with older version the script does not terminate)
- use flock from https://github.com/discoteq/flock/, not the util-linux version
- get used ports with lsof on mac os
- fix find command on mac os