Mac Desktop notes

From Freelock Knowledge Base

Jump to: navigation, search

[edit] To copy SSH keys to a thumbdrive:

  1. Open a terminal
  2. Insert your key drive
  3. In the terminal, use the Tab key to complete paths for copying. Copy:
    • cp .ssh/id_rsa* /Volumes/(Keydrive name)/

[edit] To copy SSH keys from a thumbdrive

  1. Open a terminal
  2. Insert your key drive
  3. If you haven't used SSH on this computer, ssh somewhere valid to create the .ssh directory and get some stuff in there: ssh somewhere.com, "yes" to accept the host key.
  4. Copy the keys to the .ssh directory:
    • cp /Volumes/(Keydrive name)/id_rsa* .ssh/
Personal tools