“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