Re: Disable ssh login + enable scp for specific users.

From: Steve Bonds (05gekfc02_at_sneakemail.com)
Date: 01/21/04

  • Next message: Martin Sarsale: "Re: Disable ssh login + enable scp for specific users."
    Date: Tue, 20 Jan 2004 16:52:23 -0800 (PST)
    To: secureshell@securityfocus.com
    
    

    On Tue, 20 Jan 2004, Loris Serena lserena-at-paddypower.com
    |secureshell@securityfocus.com| wrote:

    > Hello list,
    >
    > Here is what I need to achieve on a per-user basis:
    >
    > 1. disallow user-xyz to login via ssh to a specific box;
    > 2. let user-xyz be able to scp to said box;
    > 3. let anybody else ssh to said box and then su - user-xyz.
    >
    > Is there any way of doing this?

    One of my coworkers found this recently and it seems to work well:

    http://www.sublimation.org/scponly/

      -- Steve


  • Next message: Martin Sarsale: "Re: Disable ssh login + enable scp for specific users."