How to open a bash prompt with SSH agent enabled

Create this script and execute it:

#!/bin/bash
ssh-agent bash --rcfile <(echo "ssh-add ~/.ssh/[sshkeyfile]; source ~/.bashrc")