LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2014, 12:39 PM   #1
TheGaydads
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
VSFTPD Key-Based Authentication


Does anybody know where to put the public and private keys for client key-based authentication? This would be in substitute of a password?

Both on the client and the server side I'd like to know where to put them. I've been trying .ssh directory placements, but can't get it to work.

Let me know if this is even possible. I've just been connecting through FTP with password authentication to the VSFTPD I've set up.
 
Old 06-12-2014, 01:54 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Take a look at your manual page
#man ssh_config
In particular, read the section about the identity file closely.
Post back if you have any question.
 
Old 06-12-2014, 08:15 AM   #3
TheGaydads
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks! I specified that, and tried putting the keys where they're default is, but it doesn't work. Are you sure this can be done for an FTP or FTPS connection?
 
Old 06-12-2014, 02:13 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
For ftp, no
For ftp over vpn (FTPS), yes
Check your ftp.config file to see if it's specified a particular key repository to look in. As far as ssh, as long as your config isn't specifying an different repository, it should work.
Here's a test. Try to ssh into a remote location (google offers a free mini-cloud accounts but their a little tricky to ssh into). If you can ssh with your certificates in the default location, than the failure of ftps is probably being caused by that services configuration options.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH Public Key Based Authentication LinuxDunce Linux - Security 6 08-30-2013 08:51 PM
[SOLVED] SSH2 RSA key based authentication acunacha Linux - Server 4 11-08-2012 09:32 AM
SSH Key based authentication failure kdheepan Linux - Newbie 2 06-08-2011 07:55 AM
problem with ssh key-based authentication kaplan71 Linux - Security 5 12-09-2009 10:34 AM
Key based authentication only for root for SSH the_gripmaster Linux - Security 4 04-18-2009 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration