Connect to server using SFTP and a public SSH key using FileZilla on Windows
Solution 1
FileZilla uses the PuTTY suite of tools for its SSH implementation. PuTTY supports using public keys, so by default so does FileZilla. It's as simple as downloading and running Pageant and importing your key, or generating a new one using PuTTYgen.
You can also manually specify a key file using menu Edit → Settings, item Connection (first item in the left panel)
Solution 2
If the private SSH key already exists, this can be done from within FileZilla, without the need to install extra software. Simply go to menu Edit → Settings → Connection → FTP → SFTP.
Click button Add key file and add your private key there. It will convert the key for you.
Related videos on Youtube
macek
Updated on September 17, 2022Comments
-
macek almost 2 years
Is it possible to generate an SSH key on a Windows machine and then use that key to connect to a server using SFTP via FileZilla?
This is all working with my Mac, but I have a client that is stuck in a Windows environment. Our server does not have traditional FTP access and I need to get him connected.
Details would be greatly appreciated.
-
Chris over 10 yearsMinor correction: You need to add the private key to FileZilla. The public key must be present on the server and the private key must be present on the client (i.e. FileZilla).
-
jchavannes about 10 yearsIs there any way to get FileZilla on Mac to show hidden files? I can't get it to navigate to ~/.ssh/
-
jchavannes about 10 yearsAnswered my own question: superuser.com/questions/302732/…
-
Sergey P. aka azure over 9 yearsIt does not allow me to connect to my sftp server by using public key auth since FileZilla knows nothing about public key. openssh server knows only about public key. Filezilla also prints in connection log that 0 keypairs loaded from file.
-
TrickyDBA about 9 years@jchavannes: Like you said for Mac press:
Shift
-Command
-Period
while in the finder window