Re: SSH Host Key used during login in WINSCP??
There's asynchronous encryption being used in SSH, meaning that there's a pair of keys. The private one is known by the server only. The public one is the one you see (actually you see only fingerprint of it). The two key are mathematically related in a way that something encrypted using either of them can be decoded using the latter one only. So SSH client (like WinSCP) encrypts everything it sends to the server using its public key (the host key), which ensures that only the proper server can decode it, as it is the only one knowing the private key. So there's no problem for the fake server to send you forged host key of another server. Problem is that it would not be able to decode anything the SSH clients sends to it (including your password), as it does not know the related private key.