Disable SSH but allow SCP
Is there a way to modify the ssh_config and sshd_config files so that a user can scp but will not be allowed to ssh. I have done a search and found a tool name scponly but I really do not want to install anything. Most of the books I have only discuss how to use ssh. Thanks.
|
Have you tried reaching out to the scponly developers? They might have some insight.
Maybe this will help: Quote:
|
Quote:
http://www.snailbook.com/faq/restricted-scp.auto.html |
Quote:
If your OpenSSH supports the Match / ForceCommand directives, then you're all set, a la: http://www.debian-administration.org/articles/590 (You can do this with or without chrooting the users, BTW.) |
All times are GMT -5. The time now is 10:32 AM. |