Hacker News new | past | comments | ask | show | jobs | submit login

one minor annoyance is that there's a max limit to the ControlPath string (seemingly due to there being a max path length for Unix Sockets) which I've occasionally hit when connecting to hosts with very long hostnames (AWS default hostnames can sometimes hit it, IIRC).

Also note that the docs recommend against using publicly accessible dirs such as /tmp/ for storing your mux sockets. I'm not sure of the exact threat (maybe just info leakage about what hosts you're connected to, since the socket permissions themselves are strict), but I use ~/.ssh/mux/ for mine.




Good point about the permission. I'm not doing this on a shared host anyway, so no else has access to that directory, but good to keep in mind.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: