davitenio’s blag

Scratchpad mostly for Linux related discoveries, commands, scripts, tips…
  • Home
  • About
 

Restrict ssh login to only certain users

Fri, 2008-08-08

To allow only certain users to login through ssh add the following to /etc/ssh/sshd_config:

AllowUsers user1 user2 user3

where user1, user2 and user3 are the user’s login names.

Leave a Comment » | howto | Tagged: AllowUsers, howto, login, restrict, ssh | Permalink
Posted by davitenio


  • Pages

    • About
  • Archives

    • June 2009
    • May 2009
    • January 2009
    • December 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
  • Categories

    • explanations
    • howto
    • latex
    • scripts
    • tip
    • Uncategorized
    • vim
  • Tags

    AllowUsers alsa apt-get dist-upgrade apt-get upgrade aptitude bash blog bridge C deb debian festival git howto kept back package lame linux login math mental addition mental math merge mp3 networking noise packages pink noise regex repost restrict script soup.io sox spanish speaker-test ssh static ip tap text2speech tumblelog ubuntu upgrade vim virtualbox virtualization

Theme Contempt by Vault9.
Blog at WordPress.com.