Username and keypair file should be valid credentials.