Compiling openssh to accept only RSA keys

From: db_ (db@besmirched.org)
Date: 03/29/03

  • Next message: Albert E. Whale, CISSP: "Problems with sftp"
    Date: Sat, 29 Mar 2003 00:57:03 -0800
    From: db_ <db@besmirched.org>
    To: secureshell@securityfocus.com
    
    

    I'm running openssh 3.5p1 on a freebsd 4.8 prerelease box.

    before i upgraded to freebsd 4.8, i was able to edit the
    /etc/sshd_config file to allow only users with RSA keys to login using
    their passphrase. password auth and kbdinteractive disabled. it
    worked fine.

    after upgrading, it accepts kbdinteractive logins after checking for
    an rsa key, allowing users to use their system password to login.

    the config file has not changed since the upgrade.

    my question is: how can i recompile and/or configure openssh to accept
    only rsa key logins? can't find any info about it anywhere. thanks
    for any help.

    -j


  • Next message: Albert E. Whale, CISSP: "Problems with sftp"

    Relevant Pages

    • Remote installs without FD/CD
      ... The "Discussion on the future of floppies in 5.x and 6.x" thread ... prompts me to report how we have been upgrading FreeBSD remotely ... loader to: ...
      (freebsd-hackers)
    • Re: FreeBSD or DEBIAN for remotely administered internet server
      ... The thing I haven't found to be nearly as nice on FreeBSD is the ... handling of mass upgrading of packages. ... sense of "elegance" it has, results will be less than satisfactory. ... Code heavy in that sort of thing tends to work ...
      (comp.unix.bsd.freebsd.misc)
    • Questions about upgrading between releases
      ... I've been managing a few production FreeBSD 6.2 servers for the last ... upgrading to the next production release. ... I've updated kernel and userland ... I've installed my "external" applications using packages. ...
      (comp.unix.bsd.freebsd.misc)
    • Sockets stuck in CLOSED state...
      ... Recently i've been upgrading some of my machines from FreeBSD 6.x amd64 to FreeBSD 7.0 amd64. ... I really can't see how this can cause hanging sockets in 'CLOSED' state. ...
      (freebsd-questions)
    • FreeBSD 7.0: sockets stuck in CLOSED state...
      ... Recently i've been upgrading some of my machines from FreeBSD 6.x amd64 to FreeBSD 7.0 amd64. ... I really can't see how this can cause hanging sockets in 'CLOSED' state. ...
      (freebsd-hackers)