How to change the host key (private and public).

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
pivert
500 Command not understood
Posts: 3
Joined: 2004-08-11 08:50

How to change the host key (private and public).

#1 Post by pivert » 2004-08-11 09:15

Dear all,

In order to establish a connection, my sftp client MUST use 3 things
- id_dsa (key of the client)
- id_dsa.pub
- hostkey.pub (public key of the server)

I have been able to insert the hostkey.pub with a small python script kh2reg.py that converts the hostkey.pub in a .reg to apply on windows client.

I can now see the server pub key in : HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

But I didn't find the way to change the client host keys ??
How can I do that ??

Thanks !![/url]

pivert
500 Command not understood
Posts: 3
Joined: 2004-08-11 08:50

#2 Post by pivert » 2004-08-11 09:37

Mhh
I have been able to generate the client host key in a putty compatible format with the PuttyGEN utility that can be downloaded here.

In putty, we have the choice in "Connection -> SSH -> Auth" to define the "Private key file for authentication".

I can now connect to the server with putty. So all my keys are OK. I just have an error message because I have no shell, but it's normal in my case.

But in filezilla, how can I select a Private Key file for authentication ?

Thanks !

User avatar
botg
Site Admin
Posts: 35562
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#3 Post by botg » 2004-08-11 12:23

Use Pageant from PuTTY for public key authentication, FileZilla will recognize it automatically if it's running.

pivert
500 Command not understood
Posts: 3
Joined: 2004-08-11 08:50

#4 Post by pivert » 2004-08-11 16:49

It works !!

Thanks :D

Post Reply