Results 1 to 4 of 4

Thread: restrict ssh password authentication on a per user basis

  1. #1
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    restrict ssh password authentication on a per user basis

    Hi,

    I have two accounts on my Ubuntu machine, 1 is a restricted account that friends can use and another is mine and is used to administer the system etc etc...

    is it possible to restrict ssh so public key authentication is required for my account, but either is allowed for the restricted account?

    i read the ssh man page, but wasn't able to understand how to use patterns in the config file to achieve this...
    "Those who make peaceful protest impossible make violent revolution inevitable"

  2. #2
    Join Date
    Jan 2009
    Location
    Denmark
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: restrict ssh password authentication on a per user basis

    So you want ssh to apply to you but not your guest account? Whats the deal in that, then you can make a telnet guest account instead.

    Personally i administrate this on router level and not server level.

  3. #3
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: restrict ssh password authentication on a per user basis

    well I want public key authentication on mine to make it more secure. the restricted account is basicly only used for internet forwarding. so friends wanting to forward internet only have to type a password, but if I wanna administer(not done often) stuff etc I need to use a public key connection.
    "Those who make peaceful protest impossible make violent revolution inevitable"

  4. #4
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: restrict ssh password authentication on a per user basis

    anyone??
    "Those who make peaceful protest impossible make violent revolution inevitable"

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
  •