Since you did not say what version of SSH you are using I will tell you how I did it on the one from SSH.com.. Just use the Internal SFTP server (in the config use subsystem-sftp internal://sftp-server)and tell it to chroot the user to their home directory (assuming this is what you want to do).. I am doing it here for about 30,000 accounts on a web server. Works great..
jason
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
--
Jason Grove | One Waterfront Place
Principal Systems Administrator | PO Box 6504
WVU Information Systems | Morgantown, WV 26506-6504
Ph: 304.293.3011 x 2115 | E-Mail: jgrove (at) wvu (dot) edu [email concealed]
jason
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
--
Jason Grove | One Waterfront Place
Principal Systems Administrator | PO Box 6504
WVU Information Systems | Morgantown, WV 26506-6504
Ph: 304.293.3011 x 2115 | E-Mail: jgrove (at) wvu (dot) edu [email concealed]
[ reply ]