Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, Is there a way to require both a password and a key when logging in to an SSH server? Thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    46

    OpenSSH Authentication


    Hi,

    Is there a way to require both a password and a key when logging in to an SSH server?

    Thanks.

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Yes. What distro? Here is a howto for SuSE:

    http://forums.suselinuxsupport.de/in...howtopic=18093

    One important note: That howto is for password-less login. When you follow along with that howto and use ssh-keygen, remember to enter a password instead of just hitting enter!

    For your distro and version, config file names and paths may differ slightly.

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Location
    Inside the Kernel (somewhere)
    Posts
    41
    Quote Originally Posted by anomie
    Yes.
    No, it is not
    You can authenticate against the public key, or the user's password, but NOT both. This is different from password protecting the key.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •