/dports/sysutils/py-rdiff-backup/rdiff-backup-2.0.5/src/rdiff_backup/ |
H A D | SetConnections.py | 70 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 D | scp_handler.py | 140 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 D | ciena_saos.py | 111 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 D | cisco_nxos_ssh.py | 68 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 D | dell_os10_ssh.py | 46 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 D | arista.py | 81 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 D | nokia_sros_ssh.py | 241 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 D | securitytest.py | 29 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 D | linux_ssh.py | 143 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 D | session.c | 685 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 D | executor.py | 249 …(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 D | executor.py | 245 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 D | executor.py | 245 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 D | juniper.py | 280 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 D | executor.py | 193 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 D | target.py | 10 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 D | run_test_via_ssh.py | 97 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 D | target.py | 9 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 D | target.py | 9 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 D | hbase-daemons.sh | 38 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 D | target.py | 12 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 D | pcptest.c | 141 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 D | ssh.py | 823 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 D | remote.h | 28 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 D | ua_dotcmds.cc | 805 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 …]
|