|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

Create scp only account

To exchange files we wanted to create a shared account on each of our system that was only allowed to copy files remotely, i.e. with no shell account privileges.

This can be achieved by installing scponly:

$ apt-get install scponly
$ chsh username
Enter the new value, or press return for the default
        Login Shell [/bin/bash]:/usr/bin/scponly

Leave a Reply

You must be logged in to post a comment.