add /usr/local/bin to path if it exists, ServerAliveInterval and TCPKeepAlive to ssh config.