Ignore:
Timestamp:
Feb 10, 2010 10:32:56 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
0297248
Parents:
8d4e4fb
Message:

Turn off strict key checking. Failures because of an old .ssh/known_hosts are
unpleasent. This should be an option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/proxy_emulab_segment.py

    r8d4e4fb rbbd0039  
    99import time
    1010import signal
     11
     12from service_error import service_error
    1113
    1214class proxy_emulab_segment:
     
    2931
    3032        scp_cmd = [self.scp_exec, '-o', 'IdentitiesOnly yes',
    31                 '-o', 'StrictHostKeyChecking yes', '-i',
     33                '-o', 'StrictHostKeyChecking no', '-i',
    3234                self.ssh_privkey_file, file,
    3335                "%s@%s:%s" % (user, host, dest)]
     
    5557        """
    5658        sh_str = ("%s -n -o 'IdentitiesOnly yes' -o " + \
    57                 "'StrictHostKeyChecking yes' -i %s %s@%s %s") % \
     59                "'StrictHostKeyChecking no' -i %s %s@%s %s") % \
    5860                (self.ssh_exec, self.ssh_privkey_file,
    5961                        user, host, cmd)
     
    121123        # only the identity provided in the pubkey given.
    122124        cmd = [self.ssh_exec, '-o', 'IdentitiesOnly yes', '-o',
    123                 'StrictHostKeyChecking yes', '-i',
     125                'StrictHostKeyChecking no', '-i',
    124126                self.ssh_privkey_file, "%s@%s" % (user, host),
    125127                expinfo_exec, pid, eid]
Note: See TracChangeset for help on using the changeset viewer.