Topic "Concerns about SSH host key Fingerprint"

Author Message
Sachin
[View user's profile]

Joined: 2013-02-19
Posts: 9
Location: Mumbai
Hi All,

I am using .NET library for SFTP.WinScp Version is 5.1.7.As per demo code to start SFTP session you need SshHostKeyFingerprint.I have some concrens regarding this parameters

1>I am going to use Winscp on Intranet.Can I start session without giving this key(Winscp version 5.1.7)
2>As I googled, this fingerprint is unique server.It may chnage in below scenarios

    i>M/c is changes
    ii>If server admin changed it intentionally(Can he do so I am not sure)
    iii>IP address of server got changed (I have confusion regarding this point)

Can anyone tell me any other scenarios in which SshHostKeyFingerprint gets changed.Also confirm on my point 2(ii,iii).
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sachin wrote:
1>I am going to use Winscp on Intranet.Can I start session without giving this key(Winscp version 5.1.7)

Not in 5.1.7. You can un 5.2.x

Quote:
2>As I googled, this fingerprint is unique server.It may chnage in below scenarios
i>M/c is changes

Do not know what M/c is.

Quote:
ii>If server admin changed it intentionally(Can he do so I am not sure)

Yes, admin can do anything.

Quote:
iii>IP address of server got changed (I have confusion regarding this point)

IP change does not have host key. But it can invalidate hostkey cache on client side. Though WinSCP .NET assembly does not have a cache.
_________________
Martin Prikryl
Sachin
[View user's profile]

Joined: 2013-02-19
Posts: 9
Location: Mumbai
Thanks Martin,

In point 2(i),I was referring to Server m/c

Also,is there any other case in which SSH host key Fingerprint gets changed.It would be very helpful to me.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sachin wrote:
In point 2(i),I was referring to Server m/c

Again, I do not know what m/c is.

Quote:
Also,is there any other case in which SSH host key Fingerprint gets changed.It would be very helpful to me.

Not aware of any. It should not change at all in general. Note that while admin can change it, he/she should not do this.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License