parameters: (self,args)
return_statement: return host_info
docstring: @name 获取指定SSH信息
              @author hwliang<2020-08-07>
              @param args<dict_obj>{
                  host: 主机地址
              }
              @return dict
function: def get_host_find(self,args):
          '''
              @name 获取指定SSH信息
              @author hwliang<2020-08-07>
              @param args<dict_obj>{
                  host: 主机地址
              }
              @return dict
          '''
          args.host = args.host.strip()
          info_file = self._save_path + args.host +'/info.json'
          if not os.path.exists(info_file):
              return public.returnMsg(False,'SSH_LOGIN_ERR7')
          info_tmp = self.get_ssh_info(args.host)
          host_info = {}
          host_info['host'] = args.host
          host_info['port'] = info_tmp['port']
          host_info['ps'] = info_tmp['ps']
          host_info['sort'] = info_tmp['sort']
          host_info['username'] = info_tmp['username']
          host_info['password'] = info_tmp['password']
          host_info['pkey'] = info_tmp['pkey']
          return host_info
function_tokens: def get_host_find ( self , args ) : args . host = args . host . strip ( ) info_file = self . _save_path + args . host + '/info.json' if not os . path . exists ( info_file ) : return public . returnMsg ( False , 'SSH_LOGIN_ERR7' ) info_tmp = self . get_ssh_info ( args . host ) host_info = { } host_info [ 'host' ] = args . host host_info [ 'port' ] = info_tmp [ 'port' ] host_info [ 'ps' ] = info_tmp [ 'ps' ] host_info [ 'sort' ] = info_tmp [ 'sort' ] host_info [ 'username' ] = info_tmp [ 'username' ] host_info [ 'password' ] = info_tmp [ 'password' ] host_info [ 'pkey' ] = info_tmp [ 'pkey' ] return host_info