I want to create a user (named as guest) in my server where I can share my files with others, I only give the guest permission to use scp to get the file with the password I provide, he can't log in to the shell nor do anything else.
Asked
Active
Viewed 43 times
1
-
2Seems like a duplicate of https://serverfault.com/questions/83856/allow-scp-but-not-actual-login-using-ssh. Some very good answers there. – user535733 Feb 10 '20 at 13:08
-
1Also Permitting scp but not ssh - without scponly – steeldriver Feb 10 '20 at 14:01
-
Thank you all, it solved. I have voted to close my question. – Negrito Feb 10 '20 at 14:05