Cannot connect with SFTP plugin using a private key file

English support forum

Moderators: white, Hacker, petermad, Stefan2

shula
Junior Member
Junior Member
Posts: 8
Joined: 2009-06-12, 07:30 UTC

solution 2022-08-02 --- using ed25519 keys

Post by *shula »

As Ghisler write in this thread, ed25519 do work.

Step by step solution:

On the linux server:

Code: Select all

ssh-****** -t ed25519 -P "" -f curve-key.private
ssh-****** -y -f oracle-curve.private > curve-key.public
cat curve-key.public >> ~/.ssh/authorized_keys
* What? I think the forum software is censoring the word "k e y g e n" and covered it with asterisks ******

On the my PC (client):
Then copy the keys from the server to the client,
In Total Commander > Network --> "Secure FTP plugin" --> connection settings:
Set these files (instead of the previous keys)


explanation:
line 1. generate a private key file. It's a different system, so we can't convert or use the existing key
line 2. generate a public key file, based on the private key
line 3. set up the public key inside the SSH server.
User avatar
NoSubstitute
Junior Member
Junior Member
Posts: 47
Joined: 2012-02-08, 10:45 UTC
Location: Malmö, Sweden

Re: Cannot connect with SFTP plugin using a private key file

Post by *NoSubstitute »

@shula - line 2 doesn't seem to refer to the exact same file name for the private key. Probably just a typo?
Post Reply