Following is my ~/.ssh/config contents
ForwardAgent yes
# Default PHP Fog user (name)
Host phpfog
HostName git01.phpfog.com
User git
IdentityFile /Users/Pk_2/.ssh/id_rsa_phpfog
# Default github
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /Users/Pk_2/.ssh/id_rsa
But when i try to do a git push on a phpfog repo folder it gives me
Permission denied(public key)
fatal:the remote end hung up unexpectedly
But Unless i rename id_rsa_phpfog to id_rsa i can't push to phpfog. So can i specify the key file
PHPFog config - http://docs.phpfog.com/getting-started/ssh/