How do I find My Host Key (SSH/WinSCP)

How do I find My Host Key (SSH/WinSCP)?

Log in to the sftp server an run these commands:

ssh-keygen -l -f /etc/ssh/ssh_host_key.pub

ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub

ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key.pub
Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn