Home
last modified time | relevance | path

Searched refs:remote_cmd (Results 1 – 25 of 86) sorted by relevance

1234

/dports/sysutils/py-rdiff-backup/rdiff-backup-2.0.5/src/rdiff_backup/
H A DSetConnections.py70 if remote_cmd:
78 cmd_pairs[-1] = (remote_cmd, cmd_pairs[-1][1])
149 def init_connection(remote_cmd): argument
157 if not remote_cmd:
160 Log("Executing %s" % _safe_str(remote_cmd), 4)
167 os.fsdecode(remote_cmd),
173 remote_cmd,
183 check_connection_version(conn, remote_cmd)
190 def check_connection_version(conn, remote_cmd): argument
219 (_safe_str(remote_cmd),
[all …]
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/
H A Dscp_handler.py140 remote_cmd = f"dir {self.file_system}"
152 remote_cmd, expect_string=r"[\$#]"
168 remote_cmd, remote_output
175 remote_cmd, remote_output
206 def check_file_exists(self, remote_cmd=""):
209 if not remote_cmd:
230 remote_cmd = f"ls {self.file_system}"
232 remote_cmd, expect_string=r"[\$#]"
246 if not remote_cmd:
273 if not remote_cmd:
[all …]
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/ciena/
H A Dciena_saos.py111 remote_cmd = f"file vols -P {self.file_system}"
112 remote_output = self.ssh_ctl_chan.send_command_expect(remote_cmd)
142 def check_file_exists(self, remote_cmd=""):
145 if not remote_cmd:
146 remote_cmd = f"file ls {self.file_system}/{self.dest_file}"
147 remote_out = self.ssh_ctl_chan.send_command_expect(remote_cmd)
158 def remote_file_size(self, remote_cmd="", remote_file=None):
168 if not remote_cmd:
169 remote_cmd = f"file ls -l {remote_file}"
171 remote_out = self.ssh_ctl_chan.send_command_expect(remote_cmd)
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/cisco/
H A Dcisco_nxos_ssh.py68 def check_file_exists(self, remote_cmd=""):
71 if not remote_cmd:
72 remote_cmd = f"dir {self.file_system}{self.dest_file}"
73 remote_out = self.ssh_ctl_chan.send_command_expect(remote_cmd)
84 def remote_file_size(self, remote_cmd="", remote_file=None):
92 if not remote_cmd:
93 remote_cmd = f"dir {self.file_system}/{remote_file}"
95 remote_out = self.ssh_ctl_chan.send_command(remote_cmd)
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/dell/
H A Ddell_os10_ssh.py46 def remote_file_size(self, remote_cmd="", remote_file=None):
53 remote_cmd = f'system "ls -l {self.file_system}/{remote_file}"'
54 remote_out = self.ssh_ctl_chan.send_command(remote_cmd)
66 remote_cmd = f'system "df {self.folder_name}"'
67 remote_output = self.ssh_ctl_chan.send_command_expect(remote_cmd)
92 def check_file_exists(self, remote_cmd="dir home"):
95 remote_out = self.ssh_ctl_chan.send_command_expect(remote_cmd)
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/arista/
H A Darista.py81 def check_file_exists(self, remote_cmd=""): argument
83 return self._check_file_exists_unix(remote_cmd=remote_cmd)
85 def remote_file_size(self, remote_cmd="", remote_file=None): argument
88 remote_cmd=remote_cmd, remote_file=remote_file
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/nokia/
H A Dnokia_sros_ssh.py241 remote_cmd = self._file_cmd_prefix() + "file dir {}".format(self.file_system)
242 remote_output = self.ssh_ctl_chan.send_command(remote_cmd)
246 def check_file_exists(self, remote_cmd=""): argument
250 if not remote_cmd:
251 remote_cmd = self._file_cmd_prefix() + "file dir {}/{}".format(
255 remote_out = self.ssh_ctl_chan.send_command(remote_cmd)
265 def remote_file_size(self, remote_cmd=None, remote_file=None): argument
273 if not remote_cmd:
274 remote_cmd = self._file_cmd_prefix() + "file dir {}/{}".format(
277 remote_out = self.ssh_ctl_chan.send_command(remote_cmd)
/dports/sysutils/py-rdiff-backup/rdiff-backup-2.0.5/testing/
H A Dsecuritytest.py29 remote_cmd = b"%s --server --restrict-read-only foo" % RBBin
30 conn = SetConnections.init_connection(remote_cmd)
42 remote_cmd = b"%s --server --restrict-update-only foo" % RBBin
43 conn = SetConnections.init_connection(remote_cmd)
55 remote_cmd = b"%s --server --restrict-update-only foo" % RBBin
56 conn = SetConnections.init_connection(remote_cmd)
78 remote_cmd = b"%s --server --restrict-update-only /" % RBBin
79 conn = SetConnections.init_connection(remote_cmd)
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/linux/
H A Dlinux_ssh.py143 def check_file_exists(self, remote_cmd=""):
145 return self._check_file_exists_unix(remote_cmd=remote_cmd)
147 def remote_file_size(self, remote_cmd="", remote_file=None):
150 remote_cmd=remote_cmd, remote_file=remote_file
/dports/multimedia/xine/xine-ui-0.99.12/src/xitk/
H A Dsession.c685 remote_cmd(*session, CMD_QUIT); in session_handle_subopt()
688 remote_cmd(*session, CMD_PLAYLIST_FLUSH); in session_handle_subopt()
696 remote_cmd(*session, CMD_PLAYLIST_NEXT); in session_handle_subopt()
701 remote_cmd(*session, CMD_PLAYLIST_PREV); in session_handle_subopt()
706 remote_cmd(*session, CMD_PLAYLIST_STOP); in session_handle_subopt()
723 remote_cmd(*session, (s + 1)); in session_handle_subopt()
728 remote_cmd(*session, CMD_AUDIO_NEXT); in session_handle_subopt()
733 remote_cmd(*session, CMD_AUDIO_PREV); in session_handle_subopt()
738 remote_cmd(*session, CMD_SPU_NEXT); in session_handle_subopt()
743 remote_cmd(*session, CMD_SPU_PREV); in session_handle_subopt()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/utils/libcxx/test/
H A Dexecutor.py249 …(remote_cmd, out, err, rc) = self._execute_command_remote(cmd, target_cwd, pre_cmd=chmod_cmd, env=…
251 return remote_cmd, out, err, rc
333 remote_cmd = ' '.join(map(pipes.quote, cmd))
335 remote_cmd = ' '.join(map(pipes.quote, pre_cmd)) + ' && ' + remote_cmd
337 remote_cmd = ' '.join(export_cmd) + ' && ' + remote_cmd
339 remote_cmd = 'cd ' + pipes.quote(remote_work_dir) + ' && ' + remote_cmd
341 … print('{}: About to run {}'.format(datetime.datetime.now(), remote_cmd), file=sys.stderr)
342 …out, err, rc = self.local_run(ssh_cmd + [remote_cmd], timeout=self.config.lit_config.maxIndividual…
357 …cuteCommandTimeoutException("REMOTE HOST SEEMS DEAD", out, err, rc, command=ssh_cmd + [remote_cmd])
358 return ssh_cmd + [remote_cmd], out, err, rc
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/utils/libcxx/test/
H A Dexecutor.py245 remote_cmd = ' '.join(cmd)
247 remote_cmd = ' '.join(export_cmd) + ' && ' + remote_cmd
249 remote_cmd = 'cd ' + remote_work_dir + ' && ' + remote_cmd
250 out, err, rc = self.local_run(ssh_cmd + [remote_cmd])
251 return (remote_cmd, out, err, rc)
/dports/devel/libc++/libcxx-10.0.1.src/utils/libcxx/test/
H A Dexecutor.py245 remote_cmd = ' '.join(cmd)
247 remote_cmd = ' '.join(export_cmd) + ' && ' + remote_cmd
249 remote_cmd = 'cd ' + remote_work_dir + ' && ' + remote_cmd
250 out, err, rc = self.local_run(ssh_cmd + [remote_cmd])
251 return (remote_cmd, out, err, rc)
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/juniper/
H A Djuniper.py280 def check_file_exists(self, remote_cmd=""):
282 return self._check_file_exists_unix(remote_cmd=remote_cmd)
284 def remote_file_size(self, remote_cmd="", remote_file=None):
287 remote_cmd=remote_cmd, remote_file=remote_file
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/utils/libcxx/test/
H A Dexecutor.py193 remote_cmd = ' '.join(env_cmd + cmd)
195 remote_cmd = 'cd ' + remote_work_dir + ' && ' + remote_cmd
196 out, err, rc = self.local_run(ssh_cmd + [remote_cmd])
197 return (remote_cmd, out, err, rc)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/build/fuchsia/
H A Dtarget.py10 import remote_cmd
100 remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
166 self.GetCommandRunner().RunScp(sources, dest, remote_cmd.COPY_TO_TARGET,
194 remote_cmd.COPY_FROM_TARGET)
215 runner = remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tools/
H A Drun_test_via_ssh.py97 remote_cmd = ' '.join(command_args)
99 print(remote_cmd)
100 full_remote_cmd = 'cd %s && %s' % (options.subdir, remote_cmd)
/dports/www/chromium-legacy/chromium-88.0.4324.182/build/fuchsia/
H A Dtarget.py9 import remote_cmd
116 remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
198 self.GetCommandRunner().RunScp(sources, dest, remote_cmd.COPY_TO_TARGET,
231 remote_cmd.COPY_FROM_TARGET)
253 runner = remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/build/fuchsia/
H A Dtarget.py9 import remote_cmd
115 remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
181 self.GetCommandRunner().RunScp(sources, dest, remote_cmd.COPY_TO_TARGET,
209 remote_cmd.COPY_FROM_TARGET)
231 runner = remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
/dports/databases/hbase/hbase-1.2.1/bin/
H A Dhbase-daemons.sh38 remote_cmd="cd ${HBASE_HOME}; $bin/hbase-daemon.sh --config ${HBASE_CONF_DIR} $@"
39 args="--hosts ${HBASE_REGIONSERVERS} --config ${HBASE_CONF_DIR} $remote_cmd"
/dports/lang/v8/v8-9.6.180.12/build/fuchsia/
H A Dtarget.py12 import remote_cmd
123 remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
218 self.GetCommandRunner().RunScp(sources, dest, remote_cmd.COPY_TO_TARGET,
263 remote_cmd.COPY_FROM_TARGET,
286 runner = remote_cmd.CommandRunner(self._GetSshConfigPath(), host, port)
/dports/sysutils/pdsh/pdsh-pdsh-2.34/tests/test-modules/
H A Dpcptest.c141 static const char **pcptest_argv_create (char *remote_cmd) in pcptest_argv_create() argument
150 xstrcat (&cmd, remote_cmd); in pcptest_argv_create()
/dports/x11/xpra/xpra-4.3/xpra/net/
H A Dssh.py823 remote_cmd = ""
825 if not remote_cmd:
837 remote_cmd += " ".join(pc)+";"
838 remote_cmd += "else echo \"no run-xpra command found\"; exit 1; fi"
840 remote_cmd = INITENV_COMMAND + ";" + remote_cmd
846 remote_cmd = shlex.quote(remote_cmd)
848 remote_cmd = "'%s'" % remote_cmd
849 cmd.append("sh -c %s" % remote_cmd)
/dports/irc/miau/miau-0.6.6/src/
H A Dremote.h28 int remote_cmd(const char *command, const char *params, const char *nick);
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/core/src/dird/
H A Dua_dotcmds.cc805 const char *remote_cmd; in DotAdminCmds() local
814 remote_cmd = ".die deadlock"; in DotAdminCmds()
816 remote_cmd = ".die"; in DotAdminCmds()
819 remote_cmd = "sm_dump"; in DotAdminCmds()
821 remote_cmd = "sm_check"; in DotAdminCmds()
823 remote_cmd = "exit"; in DotAdminCmds()
893 DoStorageCmd(ua, store, remote_cmd); in DotAdminCmds()
899 DoClientCmd(ua, client, remote_cmd); in DotAdminCmds()
903 if (strncmp(remote_cmd, ".die", 4) == 0) { in DotAdminCmds()
914 } else if (strncmp(remote_cmd, "sm_dump", 7) == 0) { in DotAdminCmds()
[all …]

1234