Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


restricting users to scp access (debian)

Author:mike - Sat Oct 7 11:06:19 2006

apt-get install rssh
 - uncomment allowscp and allowsftp from /etc/rssh.conf
to restrict a user to rssh add /usr/bin/rssh as its shell

Add shell to /etc/shells (or dont if you want to prohibit ftp logins)
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk