- Timestamp:
- Feb 10, 2010 10:32:56 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 0297248
- Parents:
- 8d4e4fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/proxy_emulab_segment.py
r8d4e4fb rbbd0039 9 9 import time 10 10 import signal 11 12 from service_error import service_error 11 13 12 14 class proxy_emulab_segment: … … 29 31 30 32 scp_cmd = [self.scp_exec, '-o', 'IdentitiesOnly yes', 31 '-o', 'StrictHostKeyChecking yes', '-i',33 '-o', 'StrictHostKeyChecking no', '-i', 32 34 self.ssh_privkey_file, file, 33 35 "%s@%s:%s" % (user, host, dest)] … … 55 57 """ 56 58 sh_str = ("%s -n -o 'IdentitiesOnly yes' -o " + \ 57 "'StrictHostKeyChecking yes' -i %s %s@%s %s") % \59 "'StrictHostKeyChecking no' -i %s %s@%s %s") % \ 58 60 (self.ssh_exec, self.ssh_privkey_file, 59 61 user, host, cmd) … … 121 123 # only the identity provided in the pubkey given. 122 124 cmd = [self.ssh_exec, '-o', 'IdentitiesOnly yes', '-o', 123 'StrictHostKeyChecking yes', '-i',125 'StrictHostKeyChecking no', '-i', 124 126 self.ssh_privkey_file, "%s@%s" % (user, host), 125 127 expinfo_exec, pid, eid]
Note: See TracChangeset
for help on using the changeset viewer.