def remove_hosts_file():
 known_hosts_file = ('%s/.ssh/known_hosts' % os.getenv('HOME'))
 if os.path.isfile(known_hosts_file):
  logging.debug('Deleting known hosts file %s', known_hosts_file)
  os.remove(known_hosts_file)

def remove_hosts_file ( ) : known_hosts_file = ( '%s/.ssh/known_hosts' % os . getenv ( 'HOME' ) ) if os . path . isfile ( known_hosts_file ) : logging . debug ( 'Deleting known hosts file %s' , known_hosts_file ) os . remove ( known_hosts_file )
remove the ssh known hosts file for a machine .