Re: Disable ssh login + enable scp for specific users.
From: Martin Sarsale (msarsale_at_buenosaires.gov.ar)
Date: 01/21/04
- Previous message: Steve Bonds: "Re: Disable ssh login + enable scp for specific users."
- In reply to: Loris Serena: "Disable ssh login + enable scp for specific users."
- Next in thread: Dominik Schleich: "Re: Disable ssh login + enable scp for specific users."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: Loris Serena <lserena@paddypower.com> Date: Wed, 21 Jan 2004 13:38:02 -0300
> 1. disallow user-xyz to login via ssh to a specific box;
> 2. let user-xyz be able to scp to said box;
use a scp only shell (for example, 'scponly')
> 3. let anybody else ssh to said box and then su - user-xyz.
Im not sure if you can do this.
This might be a bad idea but you can add a user with the SAME UID and
GID as user-xyz with an interactive shell.
This will probablly work, but it's a ugly hack.
- application/pgp-signature attachment: This is a digitally signed message part
- Previous message: Steve Bonds: "Re: Disable ssh login + enable scp for specific users."
- In reply to: Loris Serena: "Disable ssh login + enable scp for specific users."
- Next in thread: Dominik Schleich: "Re: Disable ssh login + enable scp for specific users."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|