WinSCP: error listing directory

When trying to connect to an ssh server with WinSCP one possible explanation for the message «error listing directory» is that port 21 (ftp) is used instead of port 22 (ssh). So, in case there’s no ftp server, there will also be no answer.