Re: allow only sftp?
From: Jeff D (blue@ev01.net)
Date: 04/12/03
- Previous message: Lesley Leposo: "RSA_private_encrypt"
- In reply to: Rex Binns: "allow only sftp?"
- Next in thread: Jason Grove: "Re: allow only sftp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 11 Apr 2003 15:50:04 -0700 From: Jeff D <blue@ev01.net> To: Rex Binns <rex@kc.binns.org>
Rex Binns wrote:
>I need to allow a user only sftp access, but deny them ssh access?
>
>Is this possible, and if so, how do I do it?
>
>thanks
>
>
>
Hi,
If you are using key authentication you can do this:
Add no-pty to the beginning of their authorized_keys file.
That will stop them from getting a pty, but this only works with key
authentication. IF you do this, make sure that the key file is
read-only.
Jeff
- Previous message: Lesley Leposo: "RSA_private_encrypt"
- In reply to: Rex Binns: "allow only sftp?"
- Next in thread: Jason Grove: "Re: allow only sftp?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]