Changeset 7862660


Ignore:
Timestamp:
Mar 10, 2014 4:21:09 PM (10 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
e1ed2a7b
Parents:
ea0e8cb
Message:

scp needs a custom port, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/desktop_access.py

    rea0e8cb r7862660  
    415415            # a file this end can access into its local file system.  Try once
    416416            # a minute.
    417             print >>f,'while ! /usr/bin/scp -o "StrictHostKeyChecking no" -i %s %s:/usr/local/federation/etc/prep_done /dev/null; do' % (self.ssh_identity, peer)
     417            print >>f,'while ! /usr/bin/scp -P %s -o "StrictHostKeyChecking no" -i %s %s:/usr/local/federation/etc/prep_done /dev/null; do' % (port, self.ssh_identity, peer)
    418418            print >>f, 'sleep 60; done'
    419419            print >>f, ('ssh -w 0:0 -p %s -o "Tunnel ethernet" ' + \
Note: See TracChangeset for help on using the changeset viewer.