more detailed feedback if the ssh.set_known_host failed to append to known hosts file

Commands should always tell the reason on why they have failed.
Changing from printf style to string formatting