Permanently Add SSH key ssh-add

Recently on my Mac I wanted to add a second SSH key to my authentication agent. Using the ssh-add command I was able to do just that until I restarted my computer. To add the key each time I start up a new terminal session I just added

ssh-add ~/.ssh/ec2.pem > /dev/null 2>&1

to my .profile file located at ~/.profile

The last part of the command is to route the output of the command to dev null so I don’t see it when I open up terminal.

 > /dev/null 2>&1

Using LocalTunnel with MAMP Pro

LocalTunnel Rocks! If you have never used it before, I suggest you check it out as it is an awesome tool.

The first time I fired up MAMP Pro and LocalTunnel, I couldn’t get MAMP to serve up the correct directory. The key is making sure that the localhost host is pointing to the directory you want served up through LocalTunnel. Cheers!

First Adventure into Creating Animated Gifs

Im on a Mac running Photoshop CS3 and it was a breeze! I think my artist wife and I are going to have fun with this! : D Here is my first ever creation in the animated gif world! Enjoy!

 

It isn’t hard to do and I watched a simple short youtube video to figure it out.

How To Rename Mac Terminal Tabs

I’ve been running a lot of terminal windows lately and getting lost in all the tabs has been annoying. I started searching for a solution and figured out that it’s super easy to rename the tabs in the terminal for Mac OS X! While on a terminal tab just use the keyboard shortcut of cmd + i to pull up the inspector window and then rename it. Easy!

Unnamed terminal tabs:

Menu option to bring up inspector:

After using cmd + i to bring up Mac Terminal Inspector:

After renaming tabs in Terminal:

If when you bring the inspector window up with cmd + i and the focus isn’t in the “Title” input, you can use shift + cmd + i to put the focus there. You can then press enter to apply the title change or just press escape to apply the title change and close the inspector.

If you liked this or have other cool ideas, let me know in the comments or on Twitter @MikeGrace