How to retrieve ssh Host key fingerprint without making a connection in WINSCP
Hi,
I am having the following issue. I have a set of servers where OpenSSH is installed and I need to push a file to all of these servers. As you can imagine using WinSCP GUI to do such task is not very effective, so I want to push this file using .NET library and PowerShell.
The issue I am facing is that for each of the connection SSH Host Key fingerprint is needed. As far as I know, this fingerprint can only be obtained when you actually connect to remote servers via WinSCP, please help me to confirm the following:
Thank you.
BR, Tomas
I am having the following issue. I have a set of servers where OpenSSH is installed and I need to push a file to all of these servers. As you can imagine using WinSCP GUI to do such task is not very effective, so I want to push this file using .NET library and PowerShell.
The issue I am facing is that for each of the connection SSH Host Key fingerprint is needed. As far as I know, this fingerprint can only be obtained when you actually connect to remote servers via WinSCP, please help me to confirm the following:
- Is there a way to obtain this key host fingerprint in PowerShell without being connected to remote server?
- If I am connected via RDP to remote server where OpenSSH is installed. Is there a way to obtain this SSH key host fingerprint directly from this server?
Thank you.
BR, Tomas