Port 22:Connectio Refused.

Hi, i have a problem with the remote Login.. the check is enable but doesn't work,I also tried to disable the firewall and open the port from the router but nothing .. i have a MacOS 10.11 el capitan, brew doesn't instal Openssh. I have to connect a windows pc remotely with visualstudio, but it says i have problems with ssh .. i don't know where to put my hands anymore. thanks in advance for the help.

Connecting via ssh (port 22) requires that you use a private key for which the associated public key is installed in the ssh configuration of the destination server account.

Port 22:Connectio Refused.
 
 
Q