- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/desktop_access.py
r51d3aa0 r7862660 415 415 # a file this end can access into its local file system. Try once 416 416 # 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) 418 418 print >>f, 'sleep 60; done' 419 419 print >>f, ('ssh -w 0:0 -p %s -o "Tunnel ethernet" ' + \ 420 '-o "StrictHostKeyChecking no" -i %s %s perl -I/usr/local/federation/lib /usr/local/federation/bin/setup_bridge.pl --tapno=0 --addr=%s --use_file&') % \420 '-o "StrictHostKeyChecking no" -i %s %s perl -I/usr/local/federation/lib /usr/local/federation/bin/setup_bridge.pl --tapno=0 --addr=%s &') % \ 421 421 (port, self.ssh_identity, peer, my_addr) 422 422 # This should give the tap a a chance to come up
Note: See TracChangeset
for help on using the changeset viewer.