Added -k flag to set the identity file for SSH