Re: disable password authentication with openssh

From: Roberto C. Sanchez (roberto_at_familiasanchez.net)
Date: 09/29/05

  • Next message: Aaron Maxwell: "Re: Use Debian system as a RIP"
    Date: Thu, 29 Sep 2005 15:46:42 -0400
    To: Matthew Lenz <matthew@nocturnal.org>
    
    
    

    On Thu, Sep 29, 2005 at 02:44:58PM -0500, Matthew Lenz wrote:
    > I want my users to only be able to ssh into the system using public key
    > authentication. I can't seem to locate which option i need to toggle to
    > only allow pubkey auth.
    >
    In /etc/ssh/sshd_config:

    RSAAuthentication yes
    PubkeyAuthentication yes
    PasswordAuthentication no

    Of course, remember to restart ssh.

    -Roberto

    -- 
    Roberto C. Sanchez
    http://familiasanchez.net/~roberto
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Aaron Maxwell: "Re: Use Debian system as a RIP"

    Relevant Pages

    • Re: ssh
      ... ssh can use DSA or RSA keys for authentication. ... public key can decrypt. ... is significantly smaller than that for ssh RSA/DSA keypairs. ... host to capture the key (either an unprotected key or a capture of your ...
      (Vuln-Dev)
    • Re: Six Kerberos/OS X/SSH observations and questions
      ... >>3) I've had public key SSH logins working well between all three boxes ... > Kerberos has the following advantages, which may or may not be of interest ... > has been using public key pairs for authentication, ...
      (comp.security.ssh)
    • Re: [Fedora] Seeing input on Securing the Linux system from intrusions and attacks.
      ... My sshd_config file is setup to disable all forms of authentication ... except for public key, and the only valid public key file is ... If I need anything more than ssh, ... within my local home network. ...
      (Fedora)
    • Re: ssh
      ... Assuming that I use strong passwords, is password auth using ssh2 sshd ... > ssh can use DSA or RSA keys for authentication. ... > public key can decrypt. ... > is significantly smaller than that for ssh RSA/DSA keypairs. ...
      (Vuln-Dev)
    • RE: [SLE] ssh problem
      ... SuSE 9.1 Professional has a very limited set of authentication ... this includes "Keyboard Interactive" and "Public Key". ... > lot of trouble setting up ssh. ...
      (SuSE)