Who is this post for?
This post is for anyone who wants a step by step guide to accomplish any of the following
- Make a SVN client like tortoise svn remember password
- Make linux server remember your password when logging through putty
Tools you need:
- Putty
- Puttygen
What you need to do:
- Using putty – login to linux server. change directory to ~/.ssh/ by typing following command
- Type command
ssh-keygen -b 1024 -t dsa
and press enter. Do not enter a passphrase. Hit enter when prompted for one. Same for the filename. default filename = id_dsa and id_dsa.pub. id_dsa is the private key file and id_dsa.pub is the public key file.
- type command
cat ~/.ssh/id_dsa.pub
Copy the output to the clipboard by selecting the output by mouse.
- Type command
vi ~/.ssh/authorized_keys
Hit i to enter Insert mode and then paste your public key (if there is already a key in this file, move to the bottom before pasting). Hit the ESC key to leave Insert mode and type :wq and hit enter to save and exit vi editor.
- Using ftp download your key files – both private and public
- In order to use the private key we get from the server, we have to convert it to a putty format. This is because the private key file format is not specified by some standard body. We can accomplish this using puttygen. Open Puttygen
- In the tree structure on left, choose conversion -> import key -> choose the private key file downloaded from ftp
- Choose to save private key. Choose path and save the file as anything.ppk
- Run Putty. Specify parameters
- Session->HostName: Hostname or IP Adress of your server
- Session->Protocol: SSH
- Session->Saved Sessions: MyConnection
- SSH->Prefered SSH Protocol version: 2
- SSH->Auth->Private Key file for auth: $PATH$mykey.PKK (replace $PATH$ with real path to the mykey.PKK file)
- Go back to Session tab and hit “save” button. You will see “MyConnection” in the list of available connections.
- Next click “open” and you should see a telnet login prompt. Use “myuser” as username (without double quotes of course) and if everything is OK, you don’t have to provide a password to your system. If the system still requires a password, something went wrong.
- Now that linux server and putty manage to remember your password, you need an application client to use it. In this case it is SVN client e.g. tortoise svn. Go to TortoiseSVN->RepoBrowser and specify a URL like this:
svn+ssh://myuser@MyConnection/usr/local/repos
…where MyConnection is the putty session name and /usr/local/repos is my svn repository on linux server
cd ~/.ssh
And you are done …
Related posts
- What to do : When your SVN client saves a wrong password
- linux how to: replicate svn repository
- linux: create svn repository
This post explains how to map domain names with IIS web site
Assumptions:
- We have IIS hosted on a server with static IP and internet access (:|)
- We own a public domain name (:|) which is to be mapped (:|)
- IIS version 5.1 and above
For demo, I am assuming following values
- server IP address : 222.222.222.222
- public domain name to be mapped: map.jyotsna.com
Please note that these values are for demostration purpose only. I, in no way, own these.
To do:
- Add and ‘A’ record to your DNS settings with value = IP of server. So my “A” record for jyotsna.com has value = 222.222.222.222
- Create a web site in IIS – is needed. For demostration, I am going to use “Default Web Site”
- Right click the concerned web site -> properties. In the “Web Site” tab, click on “Advanced” button.
- In “Multiple identities for this Web Site” section, click “Add” button.
- You now need to mention three values
- IP Address – this is IP address of the server. In my case it will be 222.222.222.222
- TCP port – I want this website to be available on map.jyotsna.com irrespective of the actual IIS port assigned to “Default web site”. Hence I am going to specify 80. If I wanted the site to be available on map.jyotsna.com:666, I would have specified 666 as this value.
- Host Header Name – map.jyotsna.com
- Click on OK/ Apply to close all windows. There is NO NEED to restart IIS to reflect the changes.
Related articles:
Task at hand:
Copy a directory from within one SVN repository to another
Assumptions:
- Tortoise SVN as SVN client
- The two SVN repositories – being copied from and being copied to already exist
Steps:
1. Right click SVN bound directory that you with to copy. Choose tortoise SVN -> Export.
2. Specify path to an empty folder e.g. “c:\to_add”. Click on OK.
3. Now you have the SVN bound directory contents in this new directory “to_add”.
4. Right click on “to_add” and choose tortoise svn -> add
5. Specify path to the new repository and location inside it.
6. Right click on “to_add” and choose SVN Commit to make your changes permanent.
Voila !! You are done.
The belief of not trusting everybody very easily seems untrustworthy sometimes.
Cannot be generalized; but seems to apply to majority.
Male ego is an excuse for taking those things for granted that women are not supposed to.
Crowd is gathering of people who think feeling lonely with other people is better than feeling lonely alone !
If only people could be themselves all the time with all the people and let others be , I wonder if this word would have been found !
Now can you define something like this without having felt it !
http://jyotsnasonawane.spaces.live.com/
Came across this image somewhere .. convinces me for strategy building requires facts at hand – facts that derive from a deep and careful study + observation. Must be a patience testing one – though was never convinced that managers are patient enough.

I find this the most sensible of definitions of alcohol
- which you may not agree to .. or may agree to when totally out of senses
Colourless volatile liquid formed by the fermentation of sugars and also notes its intoxicating effect of certain carbon based life forms.
Source: Encyclopedia galactica (HHGTTG)
Suprisingly, as HHGTTG says, definitions in almost all dictionaries available on earth are mind-blogglingly dull.
Applies to:
Any SVN client using putty to connect to SVN server. For e.g. tortoise SVN
Who is this post for?
This post is for anyone who wants SVN client and server to forget currently configured password
Steps to follow
- Know your repository URL
For this you should be using tortoise SVN repo-browser and check out the URL. In my case, it looks likesvn+ssh://jyotsnas@visharad/svnRepos/travel_broker
This tells me following
- linux username being used is jyotsnas
- the svn server is named as visharad
- Probably all SVN repositories are located under /var/svnRepos
- Now that we know the servername, in this case ‘visharad’, open putty. Under saved sessions list, you should find your server name. Refer to following screenshot for the same

visharad in saved sessions of putty
-
Click on Load button so that we can find out more. Putty looks like following when I clicked Load

visharad session loaded in putty
Looking at this I have more concrete information about server i.e. Host name/IP : 192.168.1.50
-
Let’s move to the SSH->Auth in left tree structure –

visharad ssh auth settings in putty
This screen tells me a path to a private key file on my machine.
F:\Jyotsna\SVN sessions\visharad.ppk
Delete this path from the text box.
-
Go back to sessions in left tree and click on save.
When you delete this path, putty is going to forget the password to be used. Since tortoise SVN uses putty in turn to connect to server, it will forget it too. And that is it.
Questions you might have
- Why should I not delete the session instead of the private key file path?
In cases like mine, visharad name was given to a machine with IP 192.168.1.50. If I had deleted the session, I would have have to relocate all the SVN repositories already checked out on my machine so that the new URL contains 192.168.1.50 instead of visharad. Not deleting the session saves this hassel of mine and still make tortoise svn not use the remembered password.
- How can I make tortoise SVN remember a new password?
Just refer to this link for the instructions
Related posts
- How to make SVN remember password
- linux how to: replicate svn repository
- linux: create svn repository
