'Select host key algorithms'

def opt_host_key_algorithms(self, hkas):

    if isinstance(hkas, unicode):
        hkas = hkas.encode('utf-8')
    hkas = hkas.split(',')
    for hka in hkas:
        if (hka not in SSHClientTransport.supportedPublicKeys):
            sys.exit(("Unknown    host    key    type    '%r'" % hka))
    self['host-key-algorithms'] = hkas
