I am trying to log in to my server with ssh keys (I use putty to do it) but every time I try to connect it says Network error: Connection refused.
What could be the possible error? And how to rectify it?
'Connection refused' usually means that server computer does not have ssh server installed or launched.
Sometimes firewall blocks incoming connection. In such case you will have to enable incoming ssh connections in firewall's config.