Disable ssh login + enable scp for specific users.

From: Loris Serena (lserena_at_paddypower.com)
Date: 01/20/04

  • Next message: Payal Rathod: "Re: port forwarding"
    Date: Tue, 20 Jan 2004 12:48:12 +0000
    To: secureshell@securityfocus.com

    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?

    Thanks in advance


    Loris Serena
    Unix Systems Administrator
    Paddy Power plc
    Phone : +353-1-4049633               http://www.paddypowerplc.com
    Mobile: +353-87-9683760              mailto:lserena@paddypower.com
    Privileged, confidential and/or copyright information may be contained in this communication. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended addressee, you may not copy, forward, disclose or otherwise use this e-mail or any part of it in any way whatsoever. To do so is prohibited and may be unlawful. If you have received this email in error 
    please notify the sender immediately.
    Paddy Power PLC may monitor the content of e-mail sent and received for the purpose of ensuring compliance with its policies and procedures.

  • Next message: Payal Rathod: "Re: port forwarding"