Clean up ssh url handling