Size: 687
Comment: converted to 1.6 markup
|
Size: 746
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
1. Do ssh-keygen on the SOURCE host. | 1. On local machine, run <<BR>><<BR>>{{{ssh-keygen -t rsa}}} Do ssh-keygen on the SOURCE host. |
Some quick notes on the sequence for installing ssh keys.
On local machine, run
ssh-keygen -t rsa
Do ssh-keygen on the SOURCE host.
- Write to file, probably not the same id_rsa you currently have
- On SOURCE machine, now should see two files : id_rsa_stuff, id_rsa_stuff.pub
- Go to DESTINATION host. Copy key contents of SOURCE id_rsa_stuff.pub into DESTINATION's authorized_keys file.
- make sure DESTINATION authorized_keys is permission 600
- on SOURCE machine, source the agent - source ~/.ssh-agent (check that .ssh-agent is the filename using ls -a command).
- on SOURCE machine, do ssh-add .ssh/id_rsa_stuff
- Try it. ssh user@DESTINATION
- Should just work with no password.