[英]How to grant access to an ssh tunnel to access svn but not the shell
有没有一种方法可以授予Linux用户的访问权,使其通过ssh隧道连接到svn而又不授予该用户对Shell的访问权?
If you use private/public key authentication, thats rather easy. 如果您使用私钥/公钥身份验证,那就很简单。 You can specify the commands that a user authenticated with a specific key is able to execute, so he can only execute svn related commands.
您可以指定使用特定密钥进行身份验证的用户能够执行的命令,因此他只能执行与svn相关的命令。
Have a look at these: 看看这些:
http://man.he.net/man5/authorized_keys under "AUTHORIZED_KEYS FILE FORMAT" http://man.he.net/man5/authorized_keys在“ AUTHORIZED_KEYS文件格式”下
http://www.geekisp.com/faq/content/7/58/en/how-can-i-use-multiple-svn_only-users-over-ssh-without-giving-then-shell-access.html http://www.geekisp.com/faq/content/7/58/zh-CN/how-can-i-use-multiple-svn_only-users-over-ssh-without-giving-then-shell-access.html
http://svn.apache.org/repos/asf/subversion/trunk/notes/ssh-tricks http://svn.apache.org/repos/asf/subversion/trunk/notes/ssh-tricks
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.