SSH connection management for OSx