“OMG, not again” this is what I say when-ever I ran a svn commit/update command in cos-root machine. This ensures to have a secure transaction between the repository server to the server where the file is being updated, but at some point of time you can’t type-in your password each time
, but make sure your transaction is secured.
Follow these steps and have a happy relaxed life
.
To log in from machine A to machine B via ssh without a password (assume same username):
On machine A:
- `cd ~/.ssh`
- Run `ssh-keygen -t dsa`. Hit enter at every prompt (do NOT enter a passphrase).
- This produces two files: id_dsa.pub (public key) and id_dsa (private key)
- Copy you public key.
On machine B:
- Edit or create the file ~/.ssh/authorized_keys.
- Paste in the public key you copied from machine A. Note that the key is a single really long line.
- chmod 600 authorized_keys
- chmod 700 ~/.ssh
Nava
/ August 31, 2010Hey Raki… Well its quite impressive to see ur posts showing ” learning of the day “…
As u would know, most of us did in their workspace & ultimately gets lost as time pass by..
Highly appreciate that you could take this to a blog – leaving a webprint of yours.. I foresee numerous hits to your blog sometime later & there would be a bunch of thanks seen shortly…
Keepup the good work… keep posting..
Rakesh Sankar
/ September 2, 2010@Nava Thanks for the wishes. It just I want to share-some(a little) of my knowledge and make others learn-more(a lot from all of us) of our knowledge.