LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-22-2010, 01:39 PM   #1
foampile
Member
 
Registered: Feb 2009
Posts: 50

Rep: Reputation: 15
SSH user/passwd or PPK secure key


we are trying to make a policy decision whether to go with SSH user/passwd or PPK secure key ? our servers are hosted remotely by a hosting service. we were wondering which of these two models are more secure.

e.g. i would tend to think that user/passwd with account lockouts upon failed attempts would be more secure because the other option exposes your server in case someone sneaks the PPK file or steals your whole computer.

however, what makes me doubt myself is that Amazon Web Services EC2 cloud hosting uses PPK by default (although an instance's SSH config can be change to accommodate logging in but they don't endorse it).

opinions, please.

thanks

Last edited by foampile; 04-22-2010 at 01:45 PM.
 
Old 04-22-2010, 01:42 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
As a whole ppk isn't susceptible to brute force attacks like username and password. If you are aware of a theft however it's fairly simple to revoke or regenerate the keys in fairly short order typically. You could use a combination of both also.
 
Old 04-22-2010, 04:02 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
[ Following given with the caveat that security needs for a small business operation differ from security needs for an extremely high risk target... ]

Challenge-response authentication (that is, account/password + PAM restrictions) coupled with strong passwords (enforced by pam_passwdqc or pam_cracklib) should be plenty sufficient.

Pubkey authentication + strong passphrases would be better, of course. But I don't know of a mechanism for enforcing strong passphrases.

In either case, disable Protocol 1 and direct root logins.
 
Old 05-05-2010, 01:20 AM   #4
johnspells
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
I think SSH is a very good option because of its feautres. I am not at all friendly with PPK, but yes, SSH is one the most famous encryption method which provides not only confidentiality of the data but also integrity of data over the network which is not secure. It creates a secure channel for the data to pass from one network to another network. It also uses public-key cryptography to authenticate user and even network. I hope this will help you.
 
  


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
SFTP using PPK key file [SOLVED] exactiv Linux - Networking 1 03-26-2010 11:09 AM
Removing ssh authenticatin private key ppk moor93 Linux - Networking 5 07-01-2009 09:10 AM
su passwd when using SSH key file foampile Linux - Newbie 2 04-23-2009 03:58 PM
How to add a putty generated .ppk key ZAMO Linux - General 2 07-10-2008 07:49 PM
SSH Public Key Authentication - how secure is it? moistTowelette Linux - Security 7 10-31-2007 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:44 AM.

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