Use a username and password credential for the SSH connection to the Mac.