In our IT 210 class, we need students to be able to upload files to a web server using FTP but disable SSH login to the server. To do this in Ubuntu, edit
/etc/ssh/sshd_configand add the line
DenyUsers stud1 stud2Then restart SSH using
$sudo /etc/init.d/ssh restart
0 comments:
Post a Comment