SYT
06-07-2009, 04:25 PM
First of all sorry for my bad english... But i've found some solution and i can not to share it with you.
First of all Install it on your host.
use these two links to do it:
first (http://www.tabruyn.com/site/index.php?option=com_content&view=article&id=55:tortoisesvn-subversion-and-bluehost&catid=36:digital&Itemid=58)
second (http://www.bluehostforum.com/showthread.php?t=12099)
When you did everything then you have to find such file
/home/user_name/.ssh/authorized_keys
or
/home2/user_name/.ssh/authorized_keys
it depends...
And you have to put such string before the key
command="/home/user_name/bin/svnserve -t -r /home/user_name/svn --tunnel-user=user1",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty
where /home/user_name/bin/svnserve - user_name of your account
where /home/user_name/svn - pass to the folder where your repository is.
file /home/user_name/.ssh/authorized_keys should look like this
command="/home/user_name/bin/svnserve -t -r /home/user_name/svn --tunnel-user=user1",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAx6jDPi1TpygtCzu7rZbmsl 97wJLc6UadpbSo+JPxZ3/abreSef29+WG+GSTTiMag8q7HqRH0yLc3RqGKOiCOaSNPNHWAz dtEQxikfcGIb+JsHrFr/L+2gt5rDHnTFwBmErPAWQV82WaCgcMqVavPlqKr6/ecMU1060+gxl/6jStg5Oy6fA4R3b6CtPe2Ol8cltMroQuzi1cCjJoUlOpuo7TUm QOxPfITyigTJjeYJGuBZgc5cTMV7XFbVjpoBn8a7+IYfpg3cS+ HEvolyqgHTQ7MtPef86yKMLrUPM0yiv57gaR8EvSt1a4brQZHI YWqSZUkKZ6/bdrUoJ/rKP29eQ==
so with such thing you permit only to use the svn for the key befor you put this string and you can name your developers like user1/user2/user3/Igor/petya/etc.
the pass to repository will change from
svn+ssh://user_name@domain.com/home/user_name/svn/project_name
to
svn+ssh://user_name@domain.com/project_name
so it will be the root for this key(for your user).
it works for me... :rolleyes:
First of all Install it on your host.
use these two links to do it:
first (http://www.tabruyn.com/site/index.php?option=com_content&view=article&id=55:tortoisesvn-subversion-and-bluehost&catid=36:digital&Itemid=58)
second (http://www.bluehostforum.com/showthread.php?t=12099)
When you did everything then you have to find such file
/home/user_name/.ssh/authorized_keys
or
/home2/user_name/.ssh/authorized_keys
it depends...
And you have to put such string before the key
command="/home/user_name/bin/svnserve -t -r /home/user_name/svn --tunnel-user=user1",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty
where /home/user_name/bin/svnserve - user_name of your account
where /home/user_name/svn - pass to the folder where your repository is.
file /home/user_name/.ssh/authorized_keys should look like this
command="/home/user_name/bin/svnserve -t -r /home/user_name/svn --tunnel-user=user1",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAx6jDPi1TpygtCzu7rZbmsl 97wJLc6UadpbSo+JPxZ3/abreSef29+WG+GSTTiMag8q7HqRH0yLc3RqGKOiCOaSNPNHWAz dtEQxikfcGIb+JsHrFr/L+2gt5rDHnTFwBmErPAWQV82WaCgcMqVavPlqKr6/ecMU1060+gxl/6jStg5Oy6fA4R3b6CtPe2Ol8cltMroQuzi1cCjJoUlOpuo7TUm QOxPfITyigTJjeYJGuBZgc5cTMV7XFbVjpoBn8a7+IYfpg3cS+ HEvolyqgHTQ7MtPef86yKMLrUPM0yiv57gaR8EvSt1a4brQZHI YWqSZUkKZ6/bdrUoJ/rKP29eQ==
so with such thing you permit only to use the svn for the key befor you put this string and you can name your developers like user1/user2/user3/Igor/petya/etc.
the pass to repository will change from
svn+ssh://user_name@domain.com/home/user_name/svn/project_name
to
svn+ssh://user_name@domain.com/project_name
so it will be the root for this key(for your user).
it works for me... :rolleyes: