LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-14-2006, 11:03 AM   #1
thobias.reaper
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Sid
Posts: 2

Rep: Reputation: 0
ssh-pam module configuration


I recently discovered the ssh-pam package. It authenticates the user by his ssh key at login and sets up the ssh-agent for the session. I think it is pretty smart, because the user only needs to enter one password for both login and ssh access. I wondered what the safest way is to set this up and if there are things to keep in mind to prevent bad things from happening. I would also like to know how the people here at LQ manage all the ssh/gnupg/pgp/certificates/loop-aes keys that they use on a daily basis.
 
Old 07-16-2006, 11:24 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I think your sshd needs to be compiled with -lpam support for this. "Safest" includes all the "usual" measures you would take for securing network access ssh: phrases instead of single words, pubkeys instead of passwords, not allowing root access, firewall only allowing access from known accounts (or ranges, and only if possible), PAM (listfile) only allowing access to known accounts, etc etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
winbind pam module paul_mat Linux - Networking 0 12-22-2005 12:22 AM
PAM problem with module pam_time.so giacomolg Linux - Security 1 11-27-2004 08:50 AM
PAM configuration! leandrop Linux - Security 5 10-28-2004 10:12 AM
Configuring /etc/pam.d/passwd module plexus Linux - Security 2 05-25-2004 08:55 PM
Writting PAM Module for custom authentication? existo Linux - Networking 0 05-05-2004 06:07 PM

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

All times are GMT -5. The time now is 03:07 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