This will explain it better than I ever could: http://www.unixwiz.net/techtips/ssh-agent-forwarding.html