Generating Key Pairs and how to use them.

Core FTP Server questions and answers
Locked
Beastman
Posts: 4
Joined: Fri Mar 08, 2013 10:10 pm

Generating Key Pairs and how to use them.

Post by Beastman »

We have a client that want to exchange keys in order to SFTP to our site. In testing this I have generated the key pairs on my workstation with the CoreFTP client. I copied the PUB key to the CoreFTP server and assigned it to the user. I have setup my client as follows.

SSH
KeyFile: PUB Key
Password: Password
Fingerprint: PRIV file

It still asks for a password when trying to login. So I believe I am not understanding the concept of exchanging keys.
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

The server needs to have the "allow key authentication" option checked.

More info...
www.coreftp.com/server/help/ssh_keypairs.htm
Beastman
Posts: 4
Joined: Fri Mar 08, 2013 10:10 pm

Post by Beastman »

The server does have that checked but I am still asked for a password when attempting to login. Those screen shots are a bit off from the version I am using. I did notice that you can also generate a keypair on the server side and on the client. I am assuming that only the client side is where I generate a key pair. The server has the clients PUB key, and the client has the PRIV key.[/img]
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

Fingerprint should be empty (server's public key goes there).

If using Core FTP client and not using a password, in your site profile -> Advanced -> General -> Do not prompt for password
Locked