SSH. How to solve issue when SSH connection gives an error