Results 1 to 2 of 2

Thread: Google authenticator over SSH for only certain users/ports

  1. #1
    Join Date
    Dec 2008
    Beans
    60
    Distro
    Xubuntu 8.04 Hardy Heron

    Google authenticator over SSH for only certain users/ports

    Is there a way of getting Google Authenticator to be required only when using certain users or accessing SSH server by certain ports? I only want to provide a challenge code when accessing SSH from outside of LAN.

    Many thanks.

    I
    1998 Compaq Deskpro | Pentium II 350 Mhz CPU | 256 Mb RAM | 6.1Gb 33Mhz ATA Hard Drive | No sound card

  2. #2
    Join Date
    Dec 2008
    Beans
    60
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Google authenticator over SSH for only certain users/ports

    The answer is, of course, to run two instances of SSH, pointing to different ports with only one enabling Google Authenticator. There is a useful howto here:

    http://ubuntuforums.org/showthread.php?t=1497376

    One point that seems obvious with hindsight but is not stated is that in Step 3a you also need to change sshd to sshd2.
    1998 Compaq Deskpro | Pentium II 350 Mhz CPU | 256 Mb RAM | 6.1Gb 33Mhz ATA Hard Drive | No sound card

Tags for this Thread

Bookmarks

Posting Permissions

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