Client Setup for Linux Server
SVN over SSH Windows Client Setup
Accessing of Linux SVN Server over SSH from Windows PC.
Setting up SVN Client on Windows Platform.
You can get from your system admin.
- SSH Port No
- Domain Name/IP Address
- Repository Path
Downloading the required SVN Client software for windows.
I could figure out the best svn client (Trotise SVN) and tried on windows (please let me know, if you any other good / better svn client for windows), you can download it from the following link http://tortoisesvn.net/downloads.html .
Now install the trotise-svn software on your Windows OS. Once the installation is completed you need to do some setting as your server is having customized SSH port no.
Setting up customized SSH port no for windows SVN Client
Now go to your local folder in windows where you want to download the repository or anywhere in explorer click there right mouse button. Go to TrotiseSVN → Settings. Click on Settings.
- Once the setting windows opens go to Network option on ther right side panel of the window. And add a line
"C:Program FilesTortoiseSVNbinTortoisePlink -P xxxx"
at right side panel of the window under SSH client: See the below picture. You can get the Port number from your system admin.
Click on ok and close the window.
Steps to Checkout
Now before you do checkout you can try with repo-browser option available in TrotiseSVN. For this you need to right click → go to TrotiseSVN → then click on Repo-Browser.
- Once URL window opens, Please type the repo path and click on ok.
"Example of Repo path will be as follows, URL: svn+ssh://192.168.11.33/svnrepo/my_world (in office network or with vpn)
and URL out of office: svn+ssh://svn.svnreposerver.com/svnrepo/my_world".
You can get the Repository path from your Team lead Person or IT Admin.
Now you will get the window asking you to enter the Username.
Please type the user name, Note: this username is not displayed once you click on OK button the username will be displayed on the next window when it ask for password.
Password enter will repeat for 3 to 4 times.
Once the Password authentication completes, you will be displayed with my_world folder in Repository browser.
Now to Checkout the Data Right Click on explorer and Select on SVNCheckout
As soon you click on checkout, a window will be displayed asking to enter the repository path. Once you enter repository path and click on OK. It starts to download the Repository folder from the server.
And lastly you can see in below picture that the folder is downloaded with folder icon having highlighted with green tick mark.
Steps to Add & Commit in Winodws OS.
- Once that you add new folder / files in my_world folder. Right click and go to TrotiseSVN → Click on Add.. Button.
You will be displayed with window asking to add the file or folders that you just created in my_world
Now you can see that the test2 folder is added and ready to commit.
Now right click mouse button and select SVN Commit. As shown in below picture.
Now enter message in message window and click OK to update the repository. As shown in below picture.
Once you click OK button, it will ask you for username & password for authentication.
Now the below picture shows that the test2 folder is added to repository.
You can Save your username and password in Trotisesvn
Hi Users, getting tired of giving username & password more than one time. Finally you have a solution for this. Let me explain you what to do.
- Go to trotisesvn settings, you know how.
- Click on Network setting in the left panel of the setting windows.
- At right side panel you can see the line which you added in the beginning for customizing of SSH Port no, add some more command option with that. Which I am going to show in below Picture.