def conn_args(self): conf = McmConfig() post_cmd_args = "; python %s $? vnc \"%s\" 2> /dev/null; exit \n" % (error_dialog, connection_error) self.client, options, embedded = conf.get_vnc_conf() return self.cx_args(self.client, self.options, self.vnchost(), post_cmd_args)
def conn_args(self): conf = McmConfig() post_cmd_args = "; python %s $? ftp \"%s\" 2> /dev/null; exit \n" % (error_dialog, connection_error) self.client, not_used = conf.get_ftp_conf() return self.cx_args(self.client, self.options, '-u', self.user, '-p', self.port, self.host, post_cmd_args)
def conn_args(self): conf = McmConfig() post_cmd_args = "; python %s $? ssh \"%s\" 2> /dev/null; exit \n" % (error_dialog, connection_error) self.client, not_used = conf.get_ssh_conf() return self.cx_args(self.client, self.hostname(), "-p", self.port, self.options, post_cmd_args)
def conn_args(self): conf = McmConfig() self.client, not_used = conf.get_ftp_conf() return self.cx_args(self.client, self.options, '-u', self.user, '-p', self.port, self.host)
def conn_args(self): conf = McmConfig() self.client, not_used = conf.get_telnet_conf() return self.cx_args(self.client, self.options, self.host, self.port)
def conn_args(self): conf = McmConfig() self.client, not_used = conf.get_vnc_conf() return self.cx_args(self.client, self.options, self.vnchost())
def conn_args(self): conf = McmConfig() self.client, not_used = conf.get_ssh_conf() return self.cx_args(self.client, self.hostname(), "-p", self.port, self.options)