Page 1 of 1

setting up filezilla - with ssh-key

Posted: 2018-11-22 20:19
by openSuseman
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

Re: setting up filezilla - with ssh-key

Posted: 2018-11-22 20:46
by boco
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")

Re: setting up filezilla - with ssh-key

Posted: 2018-11-23 01:02
by openSuseman
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 !?

Re: setting up filezilla - with ssh-key

Posted: 2018-11-23 07:54
by botg
.asc? That is unusual for an SSH key. Which command did you use to create the key pair?

Re: setting up filezilla - with ssh-key

Posted: 2018-11-23 19:31
by openSuseman
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

Re: setting up filezilla - with ssh-key

Posted: 2018-11-23 19:34
by botg
For SSH you want an SSH key pair as created using ssh-keygen

Re: setting up filezilla - with ssh-key

Posted: 2018-11-23 21:31
by openSuseman
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

Re: setting up filezilla - with ssh-key

Posted: 2018-12-01 10:07
by boco
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.