有没有一种方法可以授予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.
Have a look at these:
http://man.he.net/man5/authorized_keys under "AUTHORIZED_KEYS FILE FORMAT"
http://svn.apache.org/repos/asf/subversion/trunk/notes/ssh-tricks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.