- Timestamp:
- Jan 7, 2009 9:33:18 AM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 8bc5754
- Parents:
- ca24951
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
rca24951 rf9665d1 433 433 """ 434 434 435 scp_cmd = [self.scp_exec, '-o', 'IdentitiesOnly yes', '-i', 435 scp_cmd = [self.scp_exec, '-o', 'IdentitiesOnly yes', 436 '-o', 'StrictHostKeyChecking yes', '-i', 436 437 self.ssh_privkey_file, file, "%s@%s:%s" % (user, host, dest)] 437 438 rv = 0 … … 454 455 only logged. 455 456 """ 456 sh_str = "%s -o 'IdentitiesOnly yes' -i %s %s@%s %s" % \ 457 sh_str = ("%s -o 'IdentitiesOnly yes' -o " + \ 458 "'StrictHostKeyChecking yes' -i %s %s@%s %s") % \ 457 459 (self.ssh_exec, self.ssh_privkey_file, 458 460 user, host, cmd) … … 521 523 # The expinfo ssh command. Note the identity restriction to use only 522 524 # the identity provided in the pubkey given. 523 cmd = [self.ssh_exec, '-o', 'IdentitiesOnly yes', '-i', 525 cmd = [self.ssh_exec, '-o', 'IdentitiesOnly yes', '-o', 526 'StrictHostKeyChecking yes', '-i', 524 527 self.ssh_privkey_file, "%s@%s" % (user, host), 525 528 expinfo_exec, pid, eid]
Note: See TracChangeset
for help on using the changeset viewer.