Unable to change private key file

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
RelevantDad
500 Command not understood
Posts: 2
Joined: 2020-09-01 15:16
First name: Jesse
Last name: Prescott

Unable to change private key file

#1 Post by RelevantDad » 2020-09-01 15:19

Hello all,

I'm trying to use a new private key to connect to a server. I changed the path in the site manager and tried to connect. I renamed my old private key file, so that it wouldn't try to use the old key. I'm getting an error saying "Unable to open file" with the path to the old key file.

I checked the settings > Connections > SFTP and there was no key file stored there. And it's set correctly in the Site Manager to the new path. How can I force this to use the new file?

User avatar
boco
Contributor
Posts: 25251
Joined: 2006-05-01 03:28
Location: Germany

Re: Unable to change private key file

#2 Post by boco » 2020-09-01 16:20

FileZilla uses PuTTY technology for its SFTP support. As such, it shares the configuration in the Registry.

If you open Regedit.exe, you might still find information about your old SFTP key:

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys


Did you close FileZilla to clear the session and then re-open it? Oh, and don't use the "Reconnect to last server" feature in this case, as it would still have the old information stored.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

RelevantDad
500 Command not understood
Posts: 2
Joined: 2020-09-01 15:16
First name: Jesse
Last name: Prescott

Re: Unable to change private key file

#3 Post by RelevantDad » 2020-09-01 16:52

Well removing the registry keys got the job done, thanks!

I still got an "Unable to use key" message for the old file. No idea how it still even knows about that file now.

But at least after that one failed, it still connected me (assuming using the new key)

So that works enough :D

Post Reply