passwordless login via ssh in Mac

You can access your remote ssh server without password by put your ssh key in remote. Step 1: generate a key if you don't have already $ ssh-keygen -t rsa Use the default for all paths. http://pagead2.googlesyndication.com/pagead/show_ads.js Step 2: Copy the file to the remote server that you want to access. As Mac doesn't have… Continue reading passwordless login via ssh in Mac

Use colours in your Mac terminal

To use colours in your Mac terminal, you just need to put below in your ~/.bash_profile export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad export GREP_OPTIONS='--color=auto' alias ls='ls -GFh' For the vim, below would be work by put in ~/.vimrc set nocompatible " must be the first line set tabstop=4 shiftwidth=4 softtabstop=4 filetype on filetype indent on filetype plugin… Continue reading Use colours in your Mac terminal

git installation on Mac OSX

Easiest way is to download and run pre-compiled git installer. You can get it from http://code.google.com/p/git-osx-installer/. Another way is use MacPorts http://www.macports.org/install.php. Run following command to install git using MacPorts. sudo port install git-core +svn If you need more information how to use git, I recommend this site - http://progit.org/ which contains whole content of… Continue reading git installation on Mac OSX