>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.
>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
[ reply ]