1. Generate public key
    • ssh -keygen -t rsa
    • save as id_rsa
  2. Add new key to existing ssh keys
    • turn off strict checking
      • ssh -oStrictHostKeyChecking=no userid@host.com
    • logout of remote host
    • cat .ssh/id_rsa.pub | ssh userid@host.com ‘cat >> .ssh/authorized_keys’

 

Notes:

  • No passphrase
  • Turn-off strict checking only if attempt without fails

See post on Channing intranet.

Walk-through at linuxproblem.org

Advertisement