setting up filezilla - with ssh-key

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
openSuseman
226 Transfer OK
Posts: 104
Joined: 2011-09-11 18:24

setting up filezilla - with ssh-key

#1 Post by openSuseman » 2018-11-22 20:19

dear experts,

just configure and set up a filezilla on a new notebook

my server admin adviced me to create an new key-pair.

what did i do:

- have created a new ssh key-pair
- have sent the public key to my server-admin

do i need to import some of this key into my filzeilla


look forward to hear from you

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

Re: setting up filezilla - with ssh-key

#2 Post by boco » 2018-11-22 20:46

For Public key authentication to work, FileZilla needs to know the private key.

- Set it globally in Settings - Connections - SFTP, or

- let the PuTTY Pageant tool manage the keys instead, or

- set the key in the Site Manager entry for your server (Use Protocol "SFTP" and Logon type "key file")
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

openSuseman
226 Transfer OK
Posts: 104
Joined: 2011-09-11 18:24

Re: setting up filezilla - with ssh-key

#3 Post by openSuseman » 2018-11-23 01:02

good day,

many thanks for the quick reply

- if i try to add the private key to the filezilla client i have no luck - the upload of the .asc - file does not work
i am in the menu

"settings"/SFTP/Public-Key-authentication... add key-file

if i try to add the key - and choose it - i cannot fullfill this process


the file does not get added

why !?

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

Re: setting up filezilla - with ssh-key

#4 Post by botg » 2018-11-23 07:54

.asc? That is unusual for an SSH key. Which command did you use to create the key pair?

openSuseman
226 Transfer OK
Posts: 104
Joined: 2011-09-11 18:24

Re: setting up filezilla - with ssh-key

#5 Post by openSuseman » 2018-11-23 19:31

hello - many thankjs for the quick reply

used kgpg - the kde-gui - running in manjaro-linux

there i have had the option to create a key pair.

+well if i cannot use that kind of key - i (also) have to contact the serveradmin which i have sent the public part of the key (pair)

i will digg deeper into this question - i will come back and report all the findings.

greetings
btw. many many thanks for the great support you offer here.
this is just outstanding - i really am a big fan of filezilla

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

Re: setting up filezilla - with ssh-key

#6 Post by botg » 2018-11-23 19:34

For SSH you want an SSH key pair as created using ssh-keygen

openSuseman
226 Transfer OK
Posts: 104
Joined: 2011-09-11 18:24

Re: setting up filezilla - with ssh-key

#7 Post by openSuseman » 2018-11-23 21:31

generated a key with ssh-keygen


did it like so:

[martin@martin-pc ~]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/martin/.ssh/id_rsa):
Created directory '/home/martin/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:

exported the key with methods that i found here:

https://stackoverflow.com/questions/382 ... public-key

cat ~/.ssh/id_rsa.pub und

cat ~/.ssh/id_rsa


the basic question were like the following ones..

How do I access my SSH public key?
i 've just generated my RSA key pair, and I wanted to add that key to GitHub.


cat ~/.ssh/id_rsa.pub and

cat ~/.ssh/id_rsa

with that commands i managed the keys and was able to make visible the

pub and +
priv key

the pub key i have sent to the server admin

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

Re: setting up filezilla - with ssh-key

#8 Post by boco » 2018-12-01 10:07

The server Admin adds the public key to the SFTP server database so it is sent to your client when you login. The private key needs to be accessible by FileZilla (Site Manager, globally or through Pageant) as it is used to authenticate against the public key from the server. No magic involved.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply