Sep 19, 2012

Generate ssh key on Mac OS


Open a terminal and enter the following commands,

$ cd ~/

$ ssh-keygen -t rsa

It will ask you to specify the location, so just use the default one (~/.ssh/id_rsa.pub) by pressing return. If you do not need passphrase, just press return. After that, you may get something like this,

Your identification has been saved in /Users/username/.ssh/id_rsa.

Your public key has been saved in /Users/username/.ssh/id_rsa.pub.

The key fingerprint is:

45:a0:5b:34:23:73:8c:43:03:27:b5:92:9d:80:b1:7d

yourusername@XXXmac

The key's randomart image is:


+--[ RSA 2048]----+
|     ...  o*+=*o.|
|      ... = -+++ |
|        .. + ..+.|
|         ..     .|
|        P  .     |
|         .. Y    |
|           x     |
|          .      |
|                 |
+-----------------+

Then you can find your public key in the "file ~/.ssh/id_rsa.pub".

Sep 5, 2012

How to format a hard drive for Mac OS


Video tutorial links:

http://www.youtube.com/watch?v=8te1bg07MsQ

http://www.youtube.com/watch?v=WzQF0Qo5Kv0