- Timestamp:
- Aug 15, 2014 10:53:23 AM (10 years ago)
- Branches:
- master
- Children:
- 36e701e
- Parents:
- f74e3a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/desktop_access.py
rf74e3a1 r37a809f 418 418 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) 419 419 print >>f, 'sleep 60; done' 420 print >>f, ('ssh -w 0:0 -p %s -o "Tunnel ethernet" ' + \ 420 # Important safety tip: ssh v 6.5 and above have a parsing bug 421 # that means if you put -w before the -o "Tunnel ethernet" 422 # parameter, you get a layer 3 tunnel instead of a layer 2 tunnel. 423 # Don't move args in this line capricously. 424 print >>f, ('ssh -p %s -o "Tunnel ethernet" -w 0:0 ' + \ 421 425 '-o "StrictHostKeyChecking no" -i %s %s perl ' + 422 426 '-I/usr/local/federation/lib ' +
Note: See TracChangeset
for help on using the changeset viewer.