Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2010-01-26 03:23:43
Size: 687
Editor: adsl-69-232-201-146
Comment:
Revision 3 as of 2013-08-27 06:28:54
Size: 746
Editor: ArtAmezcua
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.

  1. On local machine, run

    ssh-keygen -t rsa

Do ssh-keygen on the SOURCE host.

  1. Write to file, probably not the same id_rsa you currently have
  2. On SOURCE machine, now should see two files : id_rsa_stuff, id_rsa_stuff.pub
  3. Go to DESTINATION host. Copy key contents of SOURCE id_rsa_stuff.pub into DESTINATION's authorized_keys file.
  4. make sure DESTINATION authorized_keys is permission 600
  5. on SOURCE machine, source the agent - source ~/.ssh-agent (check that .ssh-agent is the filename using ls -a command).
  6. on SOURCE machine, do ssh-add .ssh/id_rsa_stuff
  7. Try it. ssh user@DESTINATION
  8. Should just work with no password.

JsocWiki: SSHKeyNotes (last edited 2013-08-27 07:02:14 by ArtAmezcua)