Secure Shell
allow only sftp? Apr 10 2003 07:51PM
Rex Binns (rex kc binns org) (5 replies)
Re: allow only sftp? Apr 13 2003 02:20PM
Jason Grove (jgrove wvu edu)
Re: allow only sftp? Apr 11 2003 10:50PM
Jeff D (blue ev01 net)
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

[ reply ]
Re: allow only sftp? Apr 11 2003 08:53AM
Jean-Jacques DOTI (jean-jacques doti cegedim fr) (1 replies)
Re: allow only sftp? Apr 14 2003 06:51AM
olaf weiser (olaf weiser t-systems com)
Re: allow only sftp? Apr 11 2003 06:39AM
andy (edison fiorina161 com)
Re: allow only sftp? Apr 10 2003 11:54PM
Chris Travers (chris travelamericas com) (1 replies)
Re: allow only sftp? Apr 11 2003 12:51AM
Ben Lindstrom (mouring etoh eviladmin org)


 

Privacy Statement
Copyright 2010, SecurityFocus