#NEWLINE# @ classmethod #NEWLINE# def copy_ssh_keys_to_node( cls , host , keyname , is_verbose ) : #NEWLINE# #INDENT# 'Sets the given SSH keypair as the default key for the named host,\n    enabling it to log into other machines in the AppScale deployment without\n    being prompted for a password or explicitly requiring the key to be\n    provided.\n\n    Args:\n      host: A str representing the machine that we should log into.\n      keyname: A str representing the name of the SSH keypair to log in with.\n      is_verbose: A bool that indicates if we should print the SCP commands\n        needed to copy the SSH keys over to stdout.\n    ' #NEWLINE# ssh_key = LocalState . get_key_path_from_name ( keyname ) #NEWLINE# cls . scp ( host , keyname , ssh_key , '/root/.ssh/id_dsa' , is_verbose ) #NEWLINE# cls . scp ( host , keyname , ssh_key , '/root/.ssh/id_rsa' , is_verbose ) #NEWLINE# cls . scp ( host , keyname , ssh_key , '/root/.appscale/{0}.key' . format ( keyname ) , is_verbose )